Subject: process_machdep.c
To: Mark Brinicombe <mark@causality.com>
From: Patrick Welche <prlw1@cam.ac.uk>
List: port-arm32
Date: 02/22/1998 18:17:21
The thing is arm_fpe_{get,set}context is defined in
src/sys/arch/arm32/fpe-arm/armfpe.h
which isn't included in
src/sys/arch/arm32/arm32/process_machdep.c
(nor any of its includes)
so would a

#ifdef ARMFPE
#include "../fpe-arm/armfpe.h
#endif

be in order in process_machdep.c ?

[Time passes]

Nope: armfpe.h 109,110 syntax error before `*'
..    process_machdep.c: 123,163: warning: passing arg 2 of
        `arm_fpe_{get,set}context' from incompatible type

But I can't see one:
armfpe.h:
void arm_fpe_{get,set}context __P((struct proc *p, fp_reg_t *fpregs));

fp_reg_t is defined in <machine/fp.h> which is included by armfpe.h

Any thoughts?

Cheers,

Patrick