mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 15:34:33 +00:00
Added int1 and int3 marco
This commit is contained in:
parent
419b5bee0d
commit
84ed8d61e2
@ -298,4 +298,16 @@ typedef intptr_t ssize_t;
|
|||||||
|
|
||||||
#define SafeFunction __no_stack_protector __no_sanitize_address __no_sanitize_undefined __no_address_safety_analysis __no_sanitize_thread
|
#define SafeFunction __no_stack_protector __no_sanitize_address __no_sanitize_undefined __no_address_safety_analysis __no_sanitize_thread
|
||||||
|
|
||||||
|
#define int1 \
|
||||||
|
__asm__ __volatile__("int $0x1" \
|
||||||
|
: \
|
||||||
|
: \
|
||||||
|
: "memory")
|
||||||
|
|
||||||
|
#define int3 \
|
||||||
|
__asm__ __volatile__("int $0x3" \
|
||||||
|
: \
|
||||||
|
: \
|
||||||
|
: "memory")
|
||||||
|
|
||||||
#endif // !__FENNIX_KERNEL_TYPES_H__
|
#endif // !__FENNIX_KERNEL_TYPES_H__
|
||||||
|
Loading…
x
Reference in New Issue
Block a user