Changeset 7ed2d8f in mainline for kernel/arch/amd64/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/amd64/src/interrupt.c

    r06b2b7f r7ed2d8f  
    101101static void null_interrupt(int n, istate_t *istate)
    102102{
    103         fault_if_from_uspace(istate, "unserviced interrupt: %d", n);
     103        fault_if_from_uspace(istate, "Unserviced interrupt: %d", n);
    104104        decode_istate(n, istate);
    105         panic("unserviced interrupt\n");
     105        panic("Unserviced interrupt\n");
    106106}
    107107
     
    127127                        return;
    128128                }
    129                 fault_if_from_uspace(istate, "general protection fault");
     129                fault_if_from_uspace(istate, "General protection fault");
    130130        }
    131131
    132132        decode_istate(n, istate);
    133         panic("general protection fault\n");
     133        panic("General protection fault\n");
    134134}
    135135
    136136static void ss_fault(int n, istate_t *istate)
    137137{
    138         fault_if_from_uspace(istate, "stack fault");
     138        fault_if_from_uspace(istate, "Stack fault");
    139139        decode_istate(n, istate);
    140         panic("stack fault\n");
     140        panic("Stack fault\n");
    141141}
    142142
     
    146146        scheduler_fpu_lazy_request();
    147147#else
    148         fault_if_from_uspace(istate, "fpu fault");
    149         panic("fpu fault");
     148        fault_if_from_uspace(istate, "FPU fault");
     149        panic("FPU fault");
    150150#endif
    151151}
Note: See TracChangeset for help on using the changeset viewer.