SMP Work (APs now start, just seem to lock up on lgdt, or whatever is at that address)
[tpg/acess2.git] / Kernel / arch / x86 / include / mp.h
index 45d2472..30b2780 100644 (file)
@@ -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

UCC git Repository :: git.ucc.asn.au