common: add REG_OFFSET accesso
parent
c385d69aa9
commit
2411cdfb54
|
@ -33,4 +33,6 @@ __proc: \
|
|||
.weak __alias; \
|
||||
__alias = __real;
|
||||
|
||||
#define REG_OFFSET(__reg) (MCONTEXT_GREGS + ((__reg) * SZ_REG))
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue