Fix ERRF_ExceptionData definition

This "padding" field is not needed (the struct is used within an union when sent to ErrDisp), and is also undesirable as the kernel push an instance of `ERRF_ExceptionData` (which is a struct of size 0x5C, and not 0x60) on the user stack under certain conditions.
This commit is contained in:
TuxSH 2017-01-17 19:31:03 +01:00 committed by GitHub
parent ee2a1d2eba
commit 00abe36941

View File

@ -38,7 +38,6 @@ typedef struct {
typedef struct { typedef struct {
ERRF_ExceptionInfo excep; ///< Exception info struct ERRF_ExceptionInfo excep; ///< Exception info struct
CpuRegisters regs; ///< CPU register dump. CpuRegisters regs; ///< CPU register dump.
u8 pad[4];
} ERRF_ExceptionData; } ERRF_ExceptionData;
typedef struct { typedef struct {