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