mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 08:00:24 +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
|
||||
//
|
||||
#define KeGetTrapFrame(Thread) \
|
||||
(PKTRAP_FRAME)((ULONG_PTR)((Thread)->InitialStack) - \
|
||||
sizeof(KTRAP_FRAME))
|
||||
((PKTRAP_FRAME)((ULONG_PTR)((Thread)->InitialStack) - \
|
||||
sizeof(KTRAP_FRAME)))
|
||||
|
||||
//
|
||||
// Macro to get context switches from the PRCB
|
||||
|
|
Loading…
Reference in a new issue