diff options
author | rsc <rsc> | 2006-07-17 01:52:13 +0000 |
---|---|---|
committer | rsc <rsc> | 2006-07-17 01:52:13 +0000 |
commit | b5ee516575b4d2f1fd7de014230fee7cf8b6b538 (patch) | |
tree | 158b9cf0466e66ac80c96d948a12ae67afcb1d9a /mp.c | |
parent | 857d60cb0c56df19a5125584c677aa56c4488e98 (diff) | |
download | xv6-labs-b5ee516575b4d2f1fd7de014230fee7cf8b6b538.tar.gz xv6-labs-b5ee516575b4d2f1fd7de014230fee7cf8b6b538.tar.bz2 xv6-labs-b5ee516575b4d2f1fd7de014230fee7cf8b6b538.zip |
add uint and standardize on typedefs instead of unsigned
Diffstat (limited to 'mp.c')
-rw-r--r-- | mp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -205,8 +205,8 @@ mp_startthem(void) for(c = 0; c < ncpu; c++){ if (c == cpu()) continue; cprintf ("starting processor %d\n", c); - *(unsigned *)(APBOOTCODE-4) = (unsigned) (cpus[c].mpstack) + MPSTACK; // tell it what to use for %esp - *(unsigned *)(APBOOTCODE-8) = (unsigned)mpmain; // tell it where to jump to + *(uint *)(APBOOTCODE-4) = (uint) (cpus[c].mpstack) + MPSTACK; // tell it what to use for %esp + *(uint *)(APBOOTCODE-8) = (uint)mpmain; // tell it where to jump to lapic_startap(cpus[c].apicid, (uint32_t) APBOOTCODE); } } |