Revision b1a15e7e monitor.c
b/monitor.c | ||
---|---|---|
342 | 342 |
return; |
343 | 343 |
|
344 | 344 |
switch (event) { |
345 |
case EVENT_DEBUG: |
|
346 |
event_name = "DEBUG"; |
|
347 |
break; |
|
348 |
case EVENT_SHUTDOWN: |
|
349 |
event_name = "SHUTDOWN"; |
|
350 |
break; |
|
351 |
case EVENT_RESET: |
|
352 |
event_name = "RESET"; |
|
353 |
break; |
|
354 |
case EVENT_POWERDOWN: |
|
355 |
event_name = "POWERDOWN"; |
|
356 |
break; |
|
357 |
case EVENT_STOP: |
|
358 |
event_name = "STOP"; |
|
359 |
break; |
|
345 | 360 |
default: |
346 | 361 |
abort(); |
347 | 362 |
break; |
Also available in: Unified diff