From b5ee516575b4d2f1fd7de014230fee7cf8b6b538 Mon Sep 17 00:00:00 2001 From: rsc Date: Mon, 17 Jul 2006 01:52:13 +0000 Subject: add uint and standardize on typedefs instead of unsigned --- mp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mp.c') diff --git a/mp.c b/mp.c index 8e9eda8..bce35cb 100644 --- a/mp.c +++ b/mp.c @@ -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); } } -- cgit v1.2.3