mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:17:45 +00:00
Kernel: Define PT_READ_I and PT_READ_D
Looking at how these two constants are commonly used in other systems, we should be able to mimic their behavior using our PT_PEEK constant. For example, see: https://man.netbsd.org/NetBSD-6.0.1/i386/ptrace.2
This commit is contained in:
parent
380c42c405
commit
9a6283c524
1 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,9 @@ extern "C" {
|
|||
#define PT_POKEDEBUG 10
|
||||
#define PT_PEEKDEBUG 11
|
||||
|
||||
#define PT_READ_I PT_PEEK
|
||||
#define PT_READ_D PT_PEEK
|
||||
|
||||
#define DEBUG_STATUS_REGISTER 6
|
||||
#define DEBUG_CONTROL_REGISTER 7
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue