thermosphere: refactor crt0 + watchpoint init
This commit is contained in:
@@ -56,7 +56,7 @@ typedef enum DebugPmc {
|
||||
} DebugPmc;
|
||||
|
||||
typedef enum WatchpointLoadStoreControl {
|
||||
WatchpointLoadStoreControl_Load = 0,
|
||||
WatchpointLoadStoreControl_Load = 1,
|
||||
WatchpointLoadStoreControl_Store = 2,
|
||||
WatchpointLoadStoreControl_LoadStore = 3,
|
||||
} WatchpointLoadStoreControl;
|
||||
@@ -86,4 +86,4 @@ typedef struct DebugRegisterPair {
|
||||
static inline void enableBreakpointsAndWatchpoints(void)
|
||||
{
|
||||
SET_SYSREG(mdscr_el1, GET_SYSREG(mdscr_el1) | MDSCR_EL1_MDE);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user