diff options
Diffstat (limited to 'payloads/libpayload/arch/mock/virtual.c')
-rw-r--r-- | payloads/libpayload/arch/mock/virtual.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/payloads/libpayload/arch/mock/virtual.c b/payloads/libpayload/arch/mock/virtual.c new file mode 100644 index 0000000000..6f369d2dcb --- /dev/null +++ b/payloads/libpayload/arch/mock/virtual.c @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <unistd.h> + +unsigned long virtual_offset = 0; + +int getpagesize(void) +{ + return 4096; +} |