Changeset 7688b5d in mainline for kernel/arch/mips32/src/mips32.c
- Timestamp:
- 2006-10-18T09:54:13Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6fb30a1
- Parents:
- 19de05f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/mips32.c
r19de05f r7688b5d 55 55 #include <genarch/fb/fb.h> 56 56 #include <macros.h> 57 #include <ddi/device.h> 57 58 58 59 #include <arch/asm/regname.h> … … 99 100 100 101 /* Copy the exception vectors to the right places */ 101 memcpy(TLB_EXC, (char *)tlb_refill_entry, EXCEPTION_JUMP_SIZE); 102 memcpy(NORM_EXC, (char *)exception_entry, EXCEPTION_JUMP_SIZE); 103 memcpy(CACHE_EXC, (char *)cache_error_entry, EXCEPTION_JUMP_SIZE); 104 105 interrupt_init(); 102 memcpy(TLB_EXC, (char *) tlb_refill_entry, EXCEPTION_JUMP_SIZE); 103 memcpy(NORM_EXC, (char *) exception_entry, EXCEPTION_JUMP_SIZE); 104 memcpy(CACHE_EXC, (char *) cache_error_entry, EXCEPTION_JUMP_SIZE); 105 106 106 /* 107 107 * Switch to BEV normal level so that exception vectors point to the kernel. … … 114 114 */ 115 115 cp0_mask_all_int(); 116 117 /* 118 * Unmask hardware clock interrupt. 119 */ 120 cp0_unmask_int(TIMER_IRQ); 121 122 console_init(); 116 123 117 debugger_init(); 124 118 } … … 126 120 void arch_post_mm_init(void) 127 121 { 122 interrupt_init(); 123 console_init(device_assign_devno()); 128 124 #ifdef CONFIG_FB 129 125 fb_init(0x12000000, 640, 480, 24, 1920, false); // gxemul framebuffer 130 126 #endif 131 sysinfo_set_item_val("machine." STRING(MACHINE), NULL,1);127 sysinfo_set_item_val("machine." STRING(MACHINE), NULL, 1); 132 128 } 133 129
Note:
See TracChangeset
for help on using the changeset viewer.