xref: /DragonOS/kernel/src/arch/arch.h (revision 45b8371173b070028457f7ee64be33f68b4f9ada)
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