Add macros.
This commit is contained in:
parent
86adda87bd
commit
7dcae7a79d
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: genassym.c,v 1.2 1996/12/09 15:29:06 oki Exp $ */
|
||||
/* $NetBSD: genassym.c,v 1.3 1997/01/08 10:29:27 oki Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1990, 1993
|
||||
@ -91,7 +91,7 @@ flush()
|
||||
|
||||
main()
|
||||
{
|
||||
/* CPU types */
|
||||
/* CPU options */
|
||||
#ifdef M68020
|
||||
def("M68020", 1);
|
||||
#endif
|
||||
@ -101,12 +101,25 @@ main()
|
||||
#ifdef M68040
|
||||
def("M68040", 1);
|
||||
#endif
|
||||
#ifdef M68060
|
||||
def("M68060", 1);
|
||||
#endif
|
||||
|
||||
/* MMU types */
|
||||
def("MMU_68060", MMU_68060);
|
||||
def("MMU_68040", MMU_68040);
|
||||
def("MMU_68030", MMU_68030);
|
||||
def("MMU_68851", MMU_68851);
|
||||
|
||||
/* CPU types */
|
||||
def("CPU_68020", CPU_68020);
|
||||
def("CPU_68030", CPU_68030);
|
||||
def("CPU_68040", CPU_68040);
|
||||
def("CPU_68060", CPU_68060);
|
||||
|
||||
/* values for ectype */
|
||||
def("EC_NONE", EC_NONE);
|
||||
|
||||
/* general constants */
|
||||
def("UPAGES", UPAGES);
|
||||
def("USPACE", USPACE);
|
||||
@ -220,6 +233,7 @@ main()
|
||||
off("FR_SP", struct frame, f_regs[15]);
|
||||
off("FR_HW", struct frame, f_sr);
|
||||
off("FR_ADJ", struct frame, f_stackadj);
|
||||
def("FR_SIZE", sizeof(struct trapframe));
|
||||
|
||||
/* system calls */
|
||||
def("SYS_exit", SYS_exit);
|
||||
|
Loading…
Reference in New Issue
Block a user