Changeset 1dfc188e in rtems
- Timestamp:
- 01/04/00 13:58:47 (24 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- a148f56
- Parents:
- afe8c1b6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/score/cpu/i386/cpu.c
rafe8c1b6 r1dfc188e 92 92 void _defaultExcHandler (CPU_Exception_frame *ctx) 93 93 { 94 unsigned int faultAddr ;94 unsigned int faultAddr = 0; 95 95 printk("----------------------------------------------------------\n"); 96 96 printk("Exception %d caught at PC %x by thread %d\n", … … 111 111 if (ctx->idtIndex == I386_EXCEPTION_PAGE_FAULT){ 112 112 faultAddr = i386_get_cr2(); 113 printk("Page fault linear address (CR2) = %x\n", 114 faultAddr); 115 printk("----------------------------------------------------------\n\n"); 113 printk("Page fault linear address (CR2) = %x\n", faultAddr); 114 printk("----------------------------------------------------------\n\n"); 116 115 } 117 116 if (_ISR_Nest_level > 0) { -
cpukit/score/cpu/i386/cpu.c
rafe8c1b6 r1dfc188e 92 92 void _defaultExcHandler (CPU_Exception_frame *ctx) 93 93 { 94 unsigned int faultAddr ;94 unsigned int faultAddr = 0; 95 95 printk("----------------------------------------------------------\n"); 96 96 printk("Exception %d caught at PC %x by thread %d\n", … … 111 111 if (ctx->idtIndex == I386_EXCEPTION_PAGE_FAULT){ 112 112 faultAddr = i386_get_cr2(); 113 printk("Page fault linear address (CR2) = %x\n", 114 faultAddr); 115 printk("----------------------------------------------------------\n\n"); 113 printk("Page fault linear address (CR2) = %x\n", faultAddr); 114 printk("----------------------------------------------------------\n\n"); 116 115 } 117 116 if (_ISR_Nest_level > 0) {
Note: See TracChangeset
for help on using the changeset viewer.