Changeset e0cb57b in mainline
- Timestamp:
- 2010-02-20T12:18:55Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8c2214e
- Parents:
- cf843906
- Location:
- kernel/arch/sparc64
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/mm/sun4v/frame.h
rcf843906 re0cb57b 68 68 typedef union frame_address frame_address_t; 69 69 70 extern uintptr_t last_frame;71 //MH72 //extern uintptr_t end_of_identity;73 74 70 extern void frame_arch_init(void); 75 71 #define physmem_print() -
kernel/arch/sparc64/src/cpu/sun4v/cpu.c
rcf843906 re0cb57b 51 51 __hypercall_fast_ret1(0, 0, 0, 0, 0, CPU_MYID, &myid); 52 52 53 //MH 54 //CPU->arch.id = myid; 53 CPU->arch.id = myid; 55 54 56 55 md_node_t node = md_get_root(); -
kernel/arch/sparc64/src/mm/sun4v/frame.c
rcf843906 re0cb57b 41 41 #include <macros.h> 42 42 43 uintptr_t last_frame = NULL;44 45 43 /** Create memory zones according to information stored in bootinfo. 46 44 * … … 68 66 SIZE2FRAMES(ALIGN_DOWN(size, FRAME_SIZE)), 69 67 confdata, 0); 70 last_frame = max(last_frame, start + ALIGN_UP(size,71 FRAME_SIZE));72 68 } 73 69 … … 80 76 frame_mark_unavailable(ADDR2PFN(KA2PA(PFN2ADDR(0))), 1); 81 77 } 82 83 //MH84 // end_of_identity = PA2KA(last_frame);85 78 } 86 79 -
kernel/arch/sparc64/src/sun4v/sparc64.c
rcf843906 re0cb57b 50 50 #include <ddi/irq.h> 51 51 #include <string.h> 52 53 //MH54 52 #include <arch/drivers/niagara.h> 55 53 -
kernel/arch/sparc64/src/trap/exception.c
rcf843906 re0cb57b 162 162 fault_if_from_uspace(istate, "%s.", __func__); 163 163 dump_istate(istate); 164 //MH 165 // dump_sfsr_and_sfar(); 164 describe_dmmu_fault(); 166 165 panic("%s.", __func__); 167 166 }
Note:
See TracChangeset
for help on using the changeset viewer.