diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-11-16 16:46:16 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-11-16 16:46:16 +0000 |
commit | b00841730090c82c592b51b21977abb49c11f30d (patch) | |
tree | dba4a65574e2a06f8112bd090d68a8f16f5f9edc /sys/arch/hppa | |
parent | a16a41301f1471b9dda592f6f6e512b716df9f07 (diff) |
fix argument access macro (+1 fuzz), align frame per hp requirements
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/include/frame.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa/include/frame.h b/sys/arch/hppa/include/frame.h index a45b14c1312..dc79184b32f 100644 --- a/sys/arch/hppa/include/frame.h +++ b/sys/arch/hppa/include/frame.h @@ -1,4 +1,4 @@ -/* $OpenBSD: frame.h,v 1.9 1999/09/11 23:49:37 mickey Exp $ */ +/* $OpenBSD: frame.h,v 1.10 1999/11/16 16:46:15 mickey Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -42,9 +42,9 @@ */ #define HPPA_FRAME_NARGS (12) #define HPPA_FRAME_MAXARGS (HPPA_FRAME_NARGS * 4) -#define HPPA_FRAME_ARG(n) (-(32 + 4*(n))) +#define HPPA_FRAME_ARG(n) (-(32 + 4*((n) + 1))) #define HPPA_FRAME_CARG(n,sp) ((register_t *)((sp) + HPPA_FRAME_ARG(n))) -#define HPPA_FRAME_SIZE (48) +#define HPPA_FRAME_SIZE (64) #define HPPA_FRAME_PSP (-4) #define HPPA_FRAME_EP (-8) #define HPPA_FRAME_CLUP (-12) |