thermosphere: resend debug event if not handled

This commit is contained in:
TuxSH
2020-01-28 00:38:53 +00:00
parent 984f6776c6
commit ff1aac0ab5
3 changed files with 21 additions and 6 deletions

View File

@@ -22,7 +22,8 @@
extern GDBContext g_gdbContext;
typedef enum DebugEventType {
DBGEVENT_DEBUGGER_BREAK = 0,
DBGEVENT_NONE = 0,
DBGEVENT_DEBUGGER_BREAK,
DBGEVENT_EXCEPTION,
DBGEVENT_CORE_ON,
DBGEVENT_CORE_OFF,
@@ -48,7 +49,7 @@ typedef struct DebugEventInfo {
void debugManagerPauseSgiHandler(void);
// Hypervisor interrupts will be serviced during the pause-wait
void debugManagerHandlePause(void);
bool debugManagerHandlePause(void);
// Note: these functions are not reentrant EXCEPT debugPauseCores(1 << currentCoreId)
// "Pause" makes sure all cores reaches the pause function before proceeding.