X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Farch%2Fx86%2Finclude%2Fmp.h;h=30b2780f8d691be1f0e1fcd9d29db832fd9b6828;hb=7514bb8053931759b99f77d3f9ad70446b0625ac;hp=45d24727d2c1e3121813d8d2b0dd1025938a2b82;hpb=d52a53f035af92941c0cafe5f81888fed16d2462;p=tpg%2Facess2.git diff --git a/Kernel/arch/x86/include/mp.h b/Kernel/arch/x86/include/mp.h index 45d24727..30b2780f 100644 --- a/Kernel/arch/x86/include/mp.h +++ b/Kernel/arch/x86/include/mp.h @@ -80,13 +80,26 @@ typedef struct sMPTable { } tMPTable; typedef volatile struct { - Uint8 Addr; - Uint8 Resvd[3]; - Uint32 Resvd2[3]; + Uint32 Addr; + Uint32 Resvd1[3]; union { Uint8 Byte; + Uint16 Word; Uint32 DWord; } Value; + Uint32 Resvd2[3]; } tIOAPIC; +typedef struct { + Uint32 Val; + Uint32 Padding[3]; +} tReg; + +typedef volatile struct { + tReg _unused; + tReg _unused2; + tReg ID; + tReg Version; +} tAPIC; + #endif