thermosphere: add actual breakpoint code
This commit is contained in:
@@ -16,6 +16,17 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "types.h"
|
||||
#include "breakpoints_watchpoints_common.h"
|
||||
#include "spinlock.h"
|
||||
|
||||
void enableAndResetWatchpoints(void);
|
||||
/// Structure to synchronize and keep track of watchpoints
|
||||
typedef struct WatchpointManager {
|
||||
DebugRegisterPair watchpoints[16];
|
||||
RecursiveSpinlock lock;
|
||||
u32 maxWatchpoints;
|
||||
u16 allocationBitmap;
|
||||
} WatchpointManager;
|
||||
|
||||
extern WatchpointManager g_watchpointManager;
|
||||
|
||||
void initWatchpoints(void);
|
||||
|
||||
Reference in New Issue
Block a user