Changeset f651e80 in mainline for kernel/arch/ia64/src/interrupt.c


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

Make newlines in panic messages consistent. Add periods at end of messages so that it is obvious whether they are printed entirely.

File:
1 edited

Legend:

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

    rc571f42 rf651e80  
    187187        }
    188188
    189         fault_if_from_uspace(istate, "General Exception (%s)", desc);
     189        fault_if_from_uspace(istate, "General Exception (%s).", desc);
    190190
    191191        dump_interrupted_context(istate);
    192         panic("General Exception (%s)\n", desc);
     192        panic("General Exception (%s).", desc);
    193193}
    194194
     
    198198        scheduler_fpu_lazy_request();   
    199199#else
    200         fault_if_from_uspace(istate, "Interruption: %#hx (%s)",
     200        fault_if_from_uspace(istate, "Interruption: %#hx (%s).",
    201201            (uint16_t) vector, vector_to_string(vector));
    202202        dump_interrupted_context(istate);
    203         panic("Interruption: %#hx (%s)\n", (uint16_t) vector,
     203        panic("Interruption: %#hx (%s).", (uint16_t) vector,
    204204            vector_to_string(vector));
    205205#endif
     
    229229void universal_handler(uint64_t vector, istate_t *istate)
    230230{
    231         fault_if_from_uspace(istate, "Interruption: %#hx (%s)",
     231        fault_if_from_uspace(istate, "Interruption: %#hx (%s).",
    232232            (uint16_t) vector, vector_to_string(vector));
    233233        dump_interrupted_context(istate);
    234         panic("Interruption: %#hx (%s)\n", (uint16_t) vector,
     234        panic("Interruption: %#hx (%s).", (uint16_t) vector,
    235235            vector_to_string(vector));
    236236}
     
    270270                        spinlock_unlock(&irq->lock);
    271271                } else {
    272                         panic("\nUnhandled Internal Timer Interrupt (%d)\n",
     272                        panic("Unhandled Internal Timer Interrupt (%d).",
    273273                            ivr.vector);
    274274                }
Note: See TracChangeset for help on using the changeset viewer.