40 |
#include "pc-multiboot.h" |
#include "pc-multiboot.h" |
41 |
|
|
42 |
#include "i386-segment.h" |
#include "i386-segment.h" |
43 |
|
#include "host.h" |
44 |
|
|
45 |
#if NCPUS > 1 |
#if NCPUS > 1 |
46 |
#include "smp.h" |
#include "smp.h" |
47 |
#endif |
#endif |
48 |
|
|
49 |
|
extern void identify_cpu (struct host_info_processor *hip); |
50 |
|
|
51 |
void |
void |
52 |
init386 (void) |
init386 (void) |
53 |
{ |
{ |
89 |
|
|
90 |
#if NCPUS > 1 |
#if NCPUS > 1 |
91 |
smp_bootstrap (); |
smp_bootstrap (); |
92 |
|
identify_cpu (& host_info_processor [CPU_CURRENT ()]); |
93 |
|
else |
94 |
|
identify_cpu (& host_info_processor [0]); |
95 |
#endif |
#endif |
96 |
|
|
97 |
/* Initialize the virtual memory system. We have to do it in |
/* Initialize the virtual memory system. We have to do it in |