Need CACHELINESIZE for libkern memset.
This commit is contained in:
parent
a0c2c75608
commit
90acd67a3c
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: genassym.cf,v 1.8 2001/07/01 21:39:17 matt Exp $
|
||||
# $NetBSD: genassym.cf,v 1.9 2001/11/29 00:16:35 mjl Exp $
|
||||
|
||||
#
|
||||
# Copyright (C) 1995, 1996 Wolfgang Solfrank.
|
||||
|
@ -40,6 +40,8 @@ include <uvm/uvm_extern.h>
|
|||
include <machine/pcb.h>
|
||||
include <machine/pmap.h>
|
||||
|
||||
include <powerpc/cpu.h>
|
||||
|
||||
define FRAMELEN FRAMELEN
|
||||
define FRAME_0 offsetof(struct trapframe, fixreg[0])
|
||||
define FRAME_1 offsetof(struct trapframe, fixreg[1])
|
||||
|
@ -89,3 +91,5 @@ define CI_TEMPSAVE offsetof(struct cpu_info, ci_tempsave)
|
|||
define CI_DDBSAVE offsetof(struct cpu_info, ci_ddbsave)
|
||||
define CI_IPKDBSAVE offsetof(struct cpu_info, ci_ipkdbsave)
|
||||
define CI_DISISAVE offsetof(struct cpu_info, ci_disisave)
|
||||
|
||||
define CACHELINESIZE CACHELINESIZE
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: genassym.cf,v 1.1 1997/04/16 21:16:25 thorpej Exp $
|
||||
# $NetBSD: genassym.cf,v 1.2 2001/11/29 00:16:36 mjl Exp $
|
||||
|
||||
#
|
||||
# Copyright (C) 1995, 1996 Wolfgang Solfrank.
|
||||
|
@ -38,6 +38,8 @@ include <sys/proc.h>
|
|||
include <machine/pcb.h>
|
||||
include <machine/pmap.h>
|
||||
|
||||
include <powerpc/cpu.h>
|
||||
|
||||
define FRAMELEN FRAMELEN
|
||||
define FRAME_0 offsetof(struct trapframe, fixreg[0])
|
||||
define FRAME_1 offsetof(struct trapframe, fixreg[1])
|
||||
|
@ -68,3 +70,6 @@ define P_BACK offsetof(struct proc, p_back)
|
|||
define P_ADDR offsetof(struct proc, p_addr)
|
||||
|
||||
define SPLX offsetof(struct machvec, splx)
|
||||
|
||||
define CACHELINESIZE CACHELINESIZE
|
||||
|
||||
|
|
Loading…
Reference in New Issue