summaryrefslogtreecommitdiff
path: root/mp.h
diff options
context:
space:
mode:
authorrsc <rsc>2006-09-06 19:08:14 +0000
committerrsc <rsc>2006-09-06 19:08:14 +0000
commit0cfc7290e8307b66ade6d5eb736c89cc4062c302 (patch)
tree592ad149f605717dfa0162d75da0af050a9c53e4 /mp.h
parentdb8fb62e4d599f4e08a3b6420e42b2445e8d7fe3 (diff)
downloadxv6-labs-0cfc7290e8307b66ade6d5eb736c89cc4062c302.tar.gz
xv6-labs-0cfc7290e8307b66ade6d5eb736c89cc4062c302.tar.bz2
xv6-labs-0cfc7290e8307b66ade6d5eb736c89cc4062c302.zip
wrap long lines
Diffstat (limited to 'mp.h')
-rw-r--r--mp.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/mp.h b/mp.h
index 638eb4f..b7c72d8 100644
--- a/mp.h
+++ b/mp.h
@@ -2,11 +2,11 @@
struct mp { // floating pointer
uchar signature[4]; // "_MP_"
- void *physaddr; // physical address of MP configuration table
+ 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 configuration type
+ uchar type; // MP system config type
uchar imcrp;
uchar reserved[3];
};
@@ -17,10 +17,10 @@ struct mpctb { // configuration table header
uchar version; // [14]
uchar checksum; // all bytes must add up to 0
uchar product[20]; // product id
- uint *oemtable; // OEM table pointer
+ uint *oemtable; // OEM table pointer
ushort oemlength; // OEM table length
ushort entry; // entry count
- uint *lapicaddr; // address of local APIC
+ uint *lapicaddr; // address of local APIC
ushort xlength; // extended table length
uchar xchecksum; // extended table checksum
uchar reserved;
@@ -76,7 +76,7 @@ enum { // table entry types
MPBP = 0x02, // bootstrap processor
// PCMPiointr and PCMPlintr flags
- MPPOMASK = 0x03, // polarity conforms to specifications of bus
+ MPPOMASK = 0x03, // polarity conforms to bus specs
MPHIGH = 0x01, // active high
MPLOW = 0x03, // active low
MPELMASK = 0x0C, // trigger mode of APIC input signals