Sha256: 86d28cc7fd51d5b531dae9ddffb56499cf3f15ace06f3af7d7282fee69da6f84
Contents?: true
Size: 698 Bytes
Versions: 8
Compression:
Stored size: 698 Bytes
Contents
/* 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 #if defined(__x86_64__) static inline long get_page_size(void) { return 4096; } #else /* #if defined(__x86_64__) */ /* * For x86 (32-bit), fallback to libc wrapper. * We can't use CONFIG_NOLIBC for x86 (32-bit) at the moment. * * TODO: Add x86 (32-bit) nolibc support. */ #ifdef CONFIG_NOLIBC #error "x86 (32-bit) is currently not supported for nolibc builds" #endif #include "../generic/lib.h" #endif /* #if defined(__x86_64__) */ #endif /* #ifndef LIBURING_ARCH_X86_LIB_H */
Version data entries
8 entries across 8 versions & 1 rubygems