mirror of
https://github.com/clearlinux/graphene.git
synced 2026-09-05 13:21:37 +00:00
[Pal] Move PRESET_PAGESIZE into arch/x86_64/pal-arch.h
This commit is contained in:
committed by
Michał Kowalczyk
parent
9952790ce3
commit
2e3e7c526c
@@ -25,6 +25,8 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define PRESET_PAGESIZE (1 << 12)
|
||||
|
||||
typedef struct pal_tcb PAL_TCB;
|
||||
|
||||
static inline PAL_TCB * pal_get_tcb (void)
|
||||
|
||||
@@ -62,8 +62,6 @@ extern struct pal_linux_state {
|
||||
|
||||
#include <asm/mman.h>
|
||||
|
||||
#define PRESET_PAGESIZE (1 << 12)
|
||||
|
||||
#define DEFAULT_BACKLOG 2048
|
||||
|
||||
#define ACCESS_R 4
|
||||
|
||||
@@ -118,8 +118,6 @@ extern struct pal_linux_state {
|
||||
(INLINE_SYSCALL(clone, 4, CLONE_VM|CLONE_VFORK, 0, NULL, NULL))
|
||||
#endif
|
||||
|
||||
#define PRESET_PAGESIZE (1 << 12)
|
||||
|
||||
#define DEFAULT_BACKLOG 2048
|
||||
|
||||
int clone (int (*__fn) (void * __arg), void * __child_stack,
|
||||
|
||||
Reference in New Issue
Block a user