diff options
Diffstat (limited to 'src/arch/x86/lib.h')
-rw-r--r-- | src/arch/x86/lib.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/arch/x86/lib.h b/src/arch/x86/lib.h new file mode 100644 index 0000000..e6a74f3 --- /dev/null +++ b/src/arch/x86/lib.h @@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: MIT */ + +#ifndef __INTERNAL__LIBURING_LIB_H + #error "This file should be included from src/lib.h (liburing)" +#endif + +#ifndef LIBURING_ARCH_X86_LIB_H +#define LIBURING_ARCH_X86_LIB_H + +static inline long get_page_size(void) +{ + return 4096; +} + +#endif /* #ifndef LIBURING_ARCH_X86_LIB_H */ |