mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 16:40:27 +00:00
[NTOS:KE/x64] Improve KeGetTrapFrame
This commit is contained in:
parent
bedc16d46d
commit
c69371cced
1 changed files with 2 additions and 2 deletions
|
@ -206,8 +206,8 @@ KeGetTrapFrameFrameRegister(PKTRAP_FRAME TrapFrame)
|
||||||
// Macro to get trap and exception frame from a thread stack
|
// Macro to get trap and exception frame from a thread stack
|
||||||
//
|
//
|
||||||
#define KeGetTrapFrame(Thread) \
|
#define KeGetTrapFrame(Thread) \
|
||||||
(PKTRAP_FRAME)((ULONG_PTR)((Thread)->InitialStack) - \
|
((PKTRAP_FRAME)((ULONG_PTR)((Thread)->InitialStack) - \
|
||||||
sizeof(KTRAP_FRAME))
|
sizeof(KTRAP_FRAME)))
|
||||||
|
|
||||||
//
|
//
|
||||||
// Macro to get context switches from the PRCB
|
// Macro to get context switches from the PRCB
|
||||||
|
|
Loading…
Reference in a new issue