diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-11-21 08:50:57 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-11-21 08:51:40 +0100 |
| commit | 6ed8a39c1bd3083297b41e981a2bf4bdbe2abd1f (patch) | |
| tree | 183713eb331a92e4e1ce061263cf91a208c7c400 /dev/ZKAKit/NewKit | |
| parent | 50439432a85976605dbb18e3cd2161f888d2e17d (diff) | |
IMP: Add UserProcessImage structure to hold the code/entrypoint of the process.
IMP: Use IDLLObject instead of IPEFDLLObject.
IMP: Refactor DeviceInterface to IDeviceObject.
ADD: rt_jump_to_address when you want to use a custom stack.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/ZKAKit/NewKit')
| -rw-r--r-- | dev/ZKAKit/NewKit/Macros.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/dev/ZKAKit/NewKit/Macros.h b/dev/ZKAKit/NewKit/Macros.h index afde877e..2bc53491 100644 --- a/dev/ZKAKit/NewKit/Macros.h +++ b/dev/ZKAKit/NewKit/Macros.h @@ -44,6 +44,8 @@ (static_cast<Kernel::Size>(!(sizeof(a) % sizeof(*(a))))))) #endif +#define DEPRECATED ATTRIBUTE(deprecated) + #ifndef ALIGN #define ALIGN(X) __attribute__((aligned(X))) #endif // #ifndef ALIGN @@ -90,9 +92,9 @@ #define END_STRING_ENUM() } #endif -#ifndef cAlloca -#define cAlloca(Sz) __builtin_alloca(Sz) -#endif // #ifndef cAlloca +#ifndef rtl_alloca +#define rtl_alloca(sz) __builtin_alloca(sz) +#endif // #ifndef rtl_alloca #ifndef CANT_REACH #define CANT_REACH() __builtin_unreachable() |
