SvcContext represents a common interface for accessing registers from SVCs, decoupling them from a particular thread context.
With 32-bit processes using the same SVCs as 64-bit ones but with different thread contexts, we needed a way to decouple register access from the SVC implementations to avoid duplicating them. We came up with SvcContext, a structure containing only the minimal amount of registers needed by SVCs. SVCs were then refactored to operate on that structure, resulting in minimal code changes for supporting 32-bit SVCs.
SvcContext
represents a common interface for accessing registers from SVCs, decoupling them from a particular thread context.