Changeset 152 for trunk/hal/x86_64/core/hal_interrupt.c
- Timestamp:
- Jul 6, 2017, 3:47:20 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_interrupt.c
r142 r152 27 27 28 28 #include <hal_kentry.h> 29 #include <hal_apic.h> 29 30 #include <hal_internal.h> 30 31 … … 37 38 { 38 39 x86_printf("-> got timer: rip=%Z\n", tf->tf_rip); 40 hal_com_send('h'); 41 return; 42 } 43 44 /* -------------------------------------------------------------------------- */ 45 46 /* 47 * Serial Port (COM1) interrupt 48 */ 49 void hal_com1_intr(struct trapframe *tf) 50 { 51 char c = hal_com_read(); 52 53 x86_printf("-> got com '%c'\n", c); 39 54 return; 40 55 }
Note: See TracChangeset
for help on using the changeset viewer.