xref: /DragonOS/kernel/src/arch/arch.h (revision 38b341b8aa671f75ac26d05059aa2e9a09e653b7)
1 #pragma once
2 
3 #define ARCH(arch) (defined(AK_ARCH_##arch) && AK_ARCH_##arch)
4 
5 
6 #ifdef __i386__
7 #    define AK_ARCH_I386 1
8 #endif
9 
10 #ifdef __x86_64__
11 #    define AK_ARCH_X86_64 1
12 #endif