Changeset 7ed2d8f in mainline for kernel/arch/ia32xen/src/interrupt.c


Ignore:
Timestamp:
2009-01-07T22:55:52Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c571f42
Parents:
06b2b7f
Message:

Unify newlines in fault_if_from_uspace() format strings. (Remove them and print newline automatically). Also start messages with caps.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32xen/src/interrupt.c

    r06b2b7f r7ed2d8f  
    9595static void null_interrupt(int n, istate_t *istate)
    9696{
    97         fault_if_from_uspace(istate, "unserviced interrupt: %d", n);
    98 
    99         decode_istate(istate);
    100         panic("unserviced interrupt: %d\n", n);
     97        fault_if_from_uspace(istate, "Unserviced interrupt: %d", n);
     98
     99        decode_istate(istate);
     100        panic("Unserviced interrupt: %d\n", n);
    101101}
    102102
     
    122122                        return;
    123123                }
    124                 fault_if_from_uspace(istate, "general protection fault");
     124                fault_if_from_uspace(istate, "General protection fault");
    125125        }
    126126
    127127        decode_istate(istate);
    128         panic("general protection fault\n");
     128        panic("General protection fault\n");
    129129}
    130130
    131131static void ss_fault(int n, istate_t *istate)
    132132{
    133         fault_if_from_uspace(istate, "stack fault");
    134 
    135         decode_istate(istate);
    136         panic("stack fault\n");
     133        fault_if_from_uspace(istate, "Stack fault");
     134
     135        decode_istate(istate);
     136        panic("Stack fault\n");
    137137}
    138138
     
    158158        scheduler_fpu_lazy_request();
    159159#else
    160         fault_if_from_uspace(istate, "fpu fault");
    161         panic("fpu fault");
     160        fault_if_from_uspace(istate, "FPU fault");
     161        panic("FPU fault");
    162162#endif
    163163}
Note: See TracChangeset for help on using the changeset viewer.