Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch Need CACHELINESIZE for libkern memset.



details:   https://anonhg.NetBSD.org/src/rev/c540f37a602a
branches:  trunk
changeset: 518361:c540f37a602a
user:      mjl <mjl%NetBSD.org@localhost>
date:      Thu Nov 29 00:16:35 2001 +0000

description:
Need CACHELINESIZE for libkern memset.

diffstat:

 sys/arch/macppc/macppc/genassym.cf   |  6 +++++-
 sys/arch/powerpc/powerpc/genassym.cf |  7 ++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)

diffs (49 lines):

diff -r 6cd050ca2acf -r c540f37a602a sys/arch/macppc/macppc/genassym.cf
--- a/sys/arch/macppc/macppc/genassym.cf        Thu Nov 29 00:03:15 2001 +0000
+++ b/sys/arch/macppc/macppc/genassym.cf        Thu Nov 29 00:16:35 2001 +0000
@@ -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 <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_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
diff -r 6cd050ca2acf -r c540f37a602a sys/arch/powerpc/powerpc/genassym.cf
--- a/sys/arch/powerpc/powerpc/genassym.cf      Thu Nov 29 00:03:15 2001 +0000
+++ b/sys/arch/powerpc/powerpc/genassym.cf      Thu Nov 29 00:16:35 2001 +0000
@@ -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 <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_ADDR          offsetof(struct proc, p_addr)
 
 define SPLX            offsetof(struct machvec, splx)
+
+define CACHELINESIZE   CACHELINESIZE
+



Home | Main Index | Thread Index | Old Index