diff options
author | rsc <rsc> | 2006-07-17 01:58:13 +0000 |
---|---|---|
committer | rsc <rsc> | 2006-07-17 01:58:13 +0000 |
commit | b5f17007f41770fee97fa850635976ceb7aa7492 (patch) | |
tree | 779473b174de7542e73219aed716d1c666a08a11 /mp.h | |
parent | e0966f459f5543faf9e574b7415bec2bf11e6b42 (diff) | |
download | xv6-labs-b5f17007f41770fee97fa850635976ceb7aa7492.tar.gz xv6-labs-b5f17007f41770fee97fa850635976ceb7aa7492.tar.bz2 xv6-labs-b5f17007f41770fee97fa850635976ceb7aa7492.zip |
standarize on unix-like lowercase struct names
Diffstat (limited to 'mp.h')
-rw-r--r-- | mp.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -4,7 +4,7 @@ * Credit: Plan 9 sources */ -struct MP { /* floating pointer */ +struct mp { /* floating pointer */ uint8_t signature[4]; /* "_MP_" */ physaddr_t physaddr; /* physical address of MP configuration table */ uint8_t length; /* 1 */ @@ -15,7 +15,7 @@ struct MP { /* floating pointer */ uint8_t reserved[3]; }; -struct MPCTB { /* configuration table header */ +struct mpctb { /* configuration table header */ uint8_t signature[4]; /* "PCMP" */ uint16_t length; /* total table length */ uint8_t version; /* [14] */ @@ -30,7 +30,7 @@ struct MPCTB { /* configuration table header */ uint8_t reserved; }; -struct MPPE { /* processor table entry */ +struct mppe { /* processor table entry */ uint8_t type; /* entry type (0) */ uint8_t apicid; /* local APIC id */ uint8_t version; /* local APIC verison */ @@ -40,13 +40,13 @@ struct MPPE { /* processor table entry */ uint8_t reserved[8]; }; -struct MPBE { /* bus table entry */ +struct mpbe { /* bus table entry */ uint8_t type; /* entry type (1) */ uint8_t busno; /* bus id */ char string[6]; /* bus type string */ }; -struct MPIOAPIC { /* I/O APIC table entry */ +struct mpioapic { /* I/O APIC table entry */ uint8_t type; /* entry type (2) */ uint8_t apicno; /* I/O APIC id */ uint8_t version; /* I/O APIC version */ @@ -54,7 +54,7 @@ struct MPIOAPIC { /* I/O APIC table entry */ uintptr_t addr; /* I/O APIC address */ }; -struct MPIE { /* interrupt table entry */ +struct mpie { /* interrupt table entry */ uint8_t type; /* entry type ([34]) */ uint8_t intr; /* interrupt type */ uint16_t flags; /* interrupt flag */ |