system_init() renamed to arch_init()
- a better name for architecture specific init function - some of x86 init code must execute in protected mode - prot_init() removed from this function and still called in cstart() Imho this should be called from the architecture specific assembly not cstart. cstart perform Minix monitor specific tasks and will be touched once another bootloader is in use, e.g. booting via tftp, therefore we keep it as is for now. - this is a backport from the SMP code which requires this. Merging will be simpler
This commit is contained in:
@@ -91,9 +91,8 @@ PUBLIC void arch_get_aout_headers(int i, struct exec *h)
|
||||
phys_copy(aout + i * A_MINHDR, vir2phys(h), (phys_bytes) A_MINHDR);
|
||||
}
|
||||
|
||||
PUBLIC void system_init(void)
|
||||
PUBLIC void arch_init(void)
|
||||
{
|
||||
prot_init();
|
||||
idt_init();
|
||||
|
||||
#if 0
|
||||
|
||||
Reference in New Issue
Block a user