diff options
author | 1999-09-18 19:01:56 +0000 | |
---|---|---|
committer | 1999-09-18 19:01:56 +0000 | |
commit | ec662910df1ed655b631613de507f598cea2a53c (patch) | |
tree | f980b4c06cd18ae0bbcdc627b91ba2b7c89a8fe1 | |
parent | ELF64_ST_*() macros (diff) | |
download | wireguard-openbsd-ec662910df1ed655b631613de507f598cea2a53c.tar.xz wireguard-openbsd-ec662910df1ed655b631613de507f598cea2a53c.zip |
machine is hppa
define UPAGES through USHIFT
-rw-r--r-- | sys/arch/hppa/include/param.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/hppa/include/param.h b/sys/arch/hppa/include/param.h index 23fb004c434..c26eea4efa9 100644 --- a/sys/arch/hppa/include/param.h +++ b/sys/arch/hppa/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.5 1999/08/25 14:59:16 mickey Exp $ */ +/* $OpenBSD: param.h,v 1.6 1999/09/18 19:01:56 mickey Exp $ */ /* * Copyright (c) 1988-1994, The University of Utah and @@ -30,8 +30,8 @@ * Machine dependent constants for PA-RISC. */ -#define _MACHINE hp700 -#define MACHINE "hp700" +#define _MACHINE hppa +#define MACHINE "hppa" #define _MACHINE_ARCH hppa #define MACHINE_ARCH "hppa" #define MID_MACHINE MID_HPUX800 @@ -70,7 +70,8 @@ #define SINCR (1) /* increment of stack/NBPG */ #define UADDR 0x7ffe6000 /* u-area lives here */ -#define UPAGES (4) /* pages of u-area */ +#define USHIFT (3) /* log2(UPAGES) */ +#define UPAGES (1<<USHIFT) /* pages of u-area */ #define USPACE (UPAGES * NBPG) /* pages for user struct and kstack */ /* |