Changeset 7eade45 in mainline
- Timestamp:
- 2005-04-19T16:19:48Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 425913b
- Parents:
- cb4b61d
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/ia32.c
rcb4b61d r7eade45 51 51 52 52 if (config.cpu_active == 1) { 53 ega_init(); /* video */54 53 i8042_init(); /* a20 bit */ 55 i8259_init(); /* PIC */54 i8259_init(); /* PIC */ 56 55 i8254_init(); /* hard clock */ 57 56 58 57 trap_register(VECTOR_SYSCALL, syscall); 59 58 … … 65 64 } 66 65 66 void arch_post_mm_init() 67 { 68 ega_init(); /* video */ 69 } 70 67 71 void calibrate_delay_loop(void) 68 72 { -
arch/mips/src/mips.c
rcb4b61d r7eade45 50 50 cp0_count_write(0); 51 51 } 52 53 void arch_post_mm_init(void) 54 { 55 } -
include/arch.h
rcb4b61d r7eade45 41 41 42 42 extern void arch_init(void); 43 extern void arch_post_mm_init(void); 43 44 extern void calibrate_delay_loop(void); 44 45 -
src/main/main.c
rcb4b61d r7eade45 104 104 arch_init(); 105 105 106 107 printf("%s, %s\n", project, copyright);108 109 printf("%L: hardcoded_ktext_size=%dK, hardcoded_kdata_size=%dK\n",110 config.base, hardcoded_ktext_size/1024, hardcoded_kdata_size/1024);111 112 106 heap_init(config.base + hardcoded_ktext_size + hardcoded_kdata_size, CONFIG_HEAP_SIZE); 113 107 frame_init(); … … 115 109 tlb_init(); 116 110 111 arch_post_mm_init(); 112 113 printf("%s, %s\n", project, copyright); 114 115 printf("%L: hardcoded_ktext_size=%dK, hardcoded_kdata_size=%dK\n", 116 config.base, hardcoded_ktext_size/1024, hardcoded_kdata_size/1024); 117 117 118 #ifdef __SMP__ 118 119 mp_init(); /* Multiprocessor */ -
src/mm/page.c
rcb4b61d r7eade45 32 32 void page_init(void) 33 33 { 34 page_arch_init(); 34 35 map_page_to_frame(0x0, 0x0, PAGE_NOT_PRESENT, 0); 35 page_arch_init();36 36 }
Note:
See TracChangeset
for help on using the changeset viewer.