blob: e57fc9ef3b846a9ec159ea9f5f9e3728db0cf993 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
/* $OpenBSD: locore.h,v 1.26 2004/11/09 21:50:01 miod Exp $ */
#ifndef _MACHINE_LOCORE_H_
#define _MACHINE_LOCORE_H_
/*
* C prototypes for various routines defined in locore_* and friends
*/
/* subr.S */
unsigned read_processor_identification_register(void);
int badaddr(vaddr_t addr, int size);
#define badwordaddr(x) badaddr(x, 4)
void set_cpu_number(unsigned number);
void doboot(void);
/* locore_c_routines.c */
unsigned getipl(void);
/* machdep.c */
int intr_findvec(int, int, int);
void myetheraddr(u_char *cp);
extern volatile u_int8_t *ivec[8];
/* eh.S */
void sigsys(void);
void sigtrap(void);
void stepbpt(void);
void userbpt(void);
void syscall_handler(void);
void m88110_sigsys(void);
void m88110_sigtrap(void);
void m88110_stepbpt(void);
void m88110_userbpt(void);
void m88110_syscall_handler(void);
#endif /* _MACHINE_LOCORE_H_ */
|