To make NetBSD/userland to boot on i386 choose some defaults in vmparam.h
since for i386 they are defined in page size constants wich NetBSD/userland doesn't know yet. Also undefine ptrace's __HAVE_PTRACE_MACHDEP since i386 has that but NetBSD/userland not.
This commit is contained in:
parent
66c8374872
commit
ebc09eacd8
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ptrace.h,v 1.1 2007/12/29 14:38:35 jmcneill Exp $ */
|
||||
/* $NetBSD: ptrace.h,v 1.2 2007/12/29 20:07:22 reinoud Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2007 Jared D. McNeill <jmcneill@invisible.ca>
|
||||
@ -36,5 +36,6 @@
|
||||
#define _ARCH_USERMODE_INCLUDE_PTRACE_H
|
||||
|
||||
#include </usr/include/machine/ptrace.h>
|
||||
#undef __HAVE_PTRACE_MACHDEP
|
||||
|
||||
#endif /* !_ARCH_USERMODE_INCLUDE_PTRACE_H */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: vmparam.h,v 1.1 2007/12/29 14:38:36 jmcneill Exp $ */
|
||||
/* $NetBSD: vmparam.h,v 1.2 2007/12/29 20:07:22 reinoud Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2007 Jared D. McNeill <jmcneill@invisible.ca>
|
||||
@ -36,8 +36,21 @@
|
||||
#define _ARCH_USERMODE_INCLUDE_VMPARAM_H
|
||||
|
||||
#include </usr/include/machine/vmparam.h>
|
||||
#include "opt_memsize.h"
|
||||
|
||||
#undef VM_MIN_ADDRESS
|
||||
#define VM_MIN_ADDRESS 0
|
||||
|
||||
#undef VM_MAX_ADDRESS
|
||||
#define VM_MAX_ADDRESS (MEMSIZE*1024)
|
||||
|
||||
#undef VM_MIN_KERNEL_ADDRESS
|
||||
#define VM_MIN_KERNEL_ADDRESS 0
|
||||
|
||||
#undef VM_MAX_KERNEL_ADDRESS
|
||||
#define VM_MAX_KERNEL_ADDRESS (MEMSIZE*1024)
|
||||
|
||||
#undef VM_MAXUSER_ADDRESS
|
||||
#define VM_MAXUSER_ADDRESS (MEMSIZE*1024)
|
||||
|
||||
#endif /* !_ARCH_USERMODE_INCLUDE_VMPARAM_H */
|
||||
|
Loading…
Reference in New Issue
Block a user