diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2023-03-19 18:09:44 +0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-04-03 00:42:57 +0200 |
commit | 210e10d24f0da87027a2eaabc107993d58363e2c (patch) | |
tree | bb9eef3b17bb095276e8ef5b7f04c3a1ac62263a | |
parent | e2d9c96609b6bd328bfa8bb6e8c0f0b259485a2f (diff) | |
download | gnumach-210e10d24f0da87027a2eaabc107993d58363e2c.tar.gz gnumach-210e10d24f0da87027a2eaabc107993d58363e2c.tar.bz2 gnumach-210e10d24f0da87027a2eaabc107993d58363e2c.zip |
Add i386_fsgs_base_state
Message-Id: <20230319151017.531737-2-bugaevc@gmail.com>
-rw-r--r-- | i386/include/mach/i386/thread_status.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/i386/include/mach/i386/thread_status.h b/i386/include/mach/i386/thread_status.h index 3de22ff3..32e40686 100644 --- a/i386/include/mach/i386/thread_status.h +++ b/i386/include/mach/i386/thread_status.h @@ -57,6 +57,7 @@ #define i386_V86_ASSIST_STATE 4 #define i386_REGS_SEGS_STATE 5 #define i386_DEBUG_STATE 6 +#define i386_FSGS_BASE_STATE 7 /* * This structure is used for both @@ -179,4 +180,11 @@ struct i386_debug_state { #define i386_DEBUG_STATE_COUNT \ (sizeof(struct i386_debug_state)/sizeof(unsigned int)) +struct i386_fsgs_base_state { + unsigned long fs_base; + unsigned long gs_base; +}; +#define i386_FSGS_BASE_STATE_COUNT \ + (sizeof(struct i386_fsgs_base_state)/sizeof(unsigned int)) + #endif /* _MACH_I386_THREAD_STATUS_H_ */ |