From b00841730090c82c592b51b21977abb49c11f30d Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Tue, 16 Nov 1999 16:46:16 +0000 Subject: fix argument access macro (+1 fuzz), align frame per hp requirements --- sys/arch/hppa/include/frame.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch') 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) -- cgit v1.2.3