Lines 1483-1488
initarm(struct arm_boot_params *abp)
Link Here
|
1483 |
init_proc0(kernelstack.pv_va); |
1483 |
init_proc0(kernelstack.pv_va); |
1484 |
|
1484 |
|
1485 |
arm_vector_init(ARM_VECTORS_HIGH, ARM_VEC_ALL); |
1485 |
arm_vector_init(ARM_VECTORS_HIGH, ARM_VEC_ALL); |
|
|
1486 |
SetCPSR(PSR_A, 0); |
1486 |
pmap_bootstrap(freemempos, &kernel_l1pt); |
1487 |
pmap_bootstrap(freemempos, &kernel_l1pt); |
1487 |
msgbufp = (void *)msgbufpv.pv_va; |
1488 |
msgbufp = (void *)msgbufpv.pv_va; |
1488 |
msgbufinit(msgbufp, msgbufsize); |
1489 |
msgbufinit(msgbufp, msgbufsize); |
Lines 1674-1680
initarm(struct arm_boot_params *abp)
Link Here
|
1674 |
undefined_init(); |
1675 |
undefined_init(); |
1675 |
init_proc0(kernelstack); |
1676 |
init_proc0(kernelstack); |
1676 |
arm_vector_init(ARM_VECTORS_HIGH, ARM_VEC_ALL); |
1677 |
arm_vector_init(ARM_VECTORS_HIGH, ARM_VEC_ALL); |
1677 |
enable_interrupts(PSR_A); |
1678 |
SetCPSR(PSR_A, 0); |
1678 |
pmap_bootstrap(0); |
1679 |
pmap_bootstrap(0); |
1679 |
|
1680 |
|
1680 |
/* Exclude the kernel (and all the things we allocated which immediately |
1681 |
/* Exclude the kernel (and all the things we allocated which immediately |