Ignore:
Timestamp:
Aug 7, 2017, 11:19:27 AM (7 years ago)
Author:
max@…
Message:

Separate the CPU context from the trap frame.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/core/hal_interrupt.c

    r274 r335  
    3737 * Timer interrupt
    3838 */
    39 void hal_timer_intr(hal_cpu_context_t *tf)
     39void hal_timer_intr(hal_trapframe_t *tf)
    4040{
    4141        if (hal_get_gid() != 0) {
     
    5858 * Serial Port (COM1) interrupt
    5959 */
    60 void hal_com1_intr(hal_cpu_context_t *tf)
     60void hal_com1_intr(hal_trapframe_t *tf)
    6161{
    6262        static char prev;
     
    132132 * Keyboard interrupt (8042 PS/2)
    133133 */
    134 void hal_keyboard_intr(hal_cpu_context_t *tf)
     134void hal_keyboard_intr(hal_trapframe_t *tf)
    135135{
    136136        uint64_t val;
Note: See TracChangeset for help on using the changeset viewer.