| // See MultiProcessor Specification Version 1.[14] | |
| struct mp { // floating pointer | |
| uchar signature[4]; // "_MP_" | |
| void *physaddr; // phys addr of MP config table | |
| uchar length; // 1 | |
| uchar specrev; // [14] | |
| uchar checksum; // all bytes must add up to 0 | |
| uchar type; // MP system config type | |
| uchar imcrp; | |
| uchar reserved[3]; | |
| }; | |
| struct mpconf { // configuration table header | |
| uchar signature[4]; // "PCMP" | |
| ushort length; // total table length | |
| uchar version; // [14] | |
| uchar checksum; // all bytes must add up to 0 | |
| uchar product[20]; // product id | |
| uint *oemtable; // OEM table pointer | |
| ushort oemlength; // OEM table length | |
| ushort entry; // entry count | |
| uint *lapicaddr; // address of local APIC | |
| ushort xlength; // extended table length | |
| uchar xchecksum; // extended table checksum | |
| uchar reserved; | |
| }; | |
| struct mpproc { // processor table entry | |
| uchar type; // entry type (0) | |
| uchar apicid; // local APIC id | |
| uchar version; // local APIC verison | |
| uchar flags; // CPU flags | |
| uchar signature[4]; // CPU signature | |
| uint feature; // feature flags from CPUID instruction | |
| uchar reserved[8]; | |
| }; | |
| struct mpioapic { // I/O APIC table entry | |
| uchar type; // entry type (2) | |
| uchar apicno; // I/O APIC id | |
| uchar version; // I/O APIC version | |
| uchar flags; // I/O APIC flags | |
| uint *addr; // I/O APIC address | |
| }; | |
| // Table entry types | |
| //PAGEBREAK! | |
| // Blank page. | |
| int syscallcount(int cpu); | |
| int reset_syscallcount(int cpu); |
Xet Storage Details
- Size:
- 2.21 kB
- Xet hash:
- 8a1e365b7ef404d4e3ffb36b7691761b0600af7ed3374856a3d197667b44d039
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.