PERFORCE change 29924 for review
Juli Mallett
jmallett at FreeBSD.org
Sun Apr 27 20:38:44 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=29924
Change 29924 by jmallett at jmallett_dalek on 2003/04/27 20:38:19
Make cache code link.
Affected files ...
.. //depot/projects/mips/sys/mips/include/asm.h#4 edit
.. //depot/projects/mips/sys/mips/mips/locore_mips3.S#1 add
.. //depot/projects/mips/sys/mips/mips/machdep.c#14 edit
Differences ...
==== //depot/projects/mips/sys/mips/include/asm.h#4 (text+ko) ====
@@ -68,11 +68,19 @@
#define _ENTRY(x) \
.text; .align 2; .globl x; .ent x; .type x, at function; x:
+#define _XLEAF(x) \
+ .globl x; x:
+
+#define _LEAF(x) \
+ .globl x; .ent x; x: ; .frame sp, 0, ra;
+
#define _END(x) \
.end x
+#define GLOBAL(y) _GLOBAL(CNAME(y))
#define ENTRY(y) _ENTRY(CNAME(y)); _PROF_PROLOGUE
-#define GLOBAL(y) _GLOBAL(CNAME(y))
+#define XLEAF(y) _XLEAF(CNAME(y));
+#define LEAF(y) _LEAF(CNAME(y)); _PROF_PROLOGUE
#define END(y) _END(CNAME(y))
#define ASMSTR .asciz
==== //depot/projects/mips/sys/mips/mips/machdep.c#14 (text+ko) ====
@@ -39,6 +39,14 @@
#include <machine/hwfunc.h>
#include <machine/md_var.h>
+int cpu_arch;
+int mips_cpu_flags;
+int mips_has_r4k_mmu;
+int mips_has_llsc;
+int mips3_pg_cached;
+
+int mips_num_tlb_entries;
+
int cold = 1;
int cpu_id, fpu_id;
More information about the p4-projects
mailing list