diff options
Diffstat (limited to 'payloads/libpayload/arch')
-rw-r--r-- | payloads/libpayload/arch/i386/virtual.c | 5 | ||||
-rw-r--r-- | payloads/libpayload/arch/powerpc/virtual.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/payloads/libpayload/arch/i386/virtual.c b/payloads/libpayload/arch/i386/virtual.c index cff26117dc..256bfc25f7 100644 --- a/payloads/libpayload/arch/i386/virtual.c +++ b/payloads/libpayload/arch/i386/virtual.c @@ -30,3 +30,8 @@ unsigned long virtual_offset = 0; + +int getpagesize(void) +{ + return 4096; +} diff --git a/payloads/libpayload/arch/powerpc/virtual.c b/payloads/libpayload/arch/powerpc/virtual.c index cff26117dc..6312ae13ca 100644 --- a/payloads/libpayload/arch/powerpc/virtual.c +++ b/payloads/libpayload/arch/powerpc/virtual.c @@ -30,3 +30,7 @@ unsigned long virtual_offset = 0; +int getpagesize(void) +{ + return 4096; +} |