Date: Sun, 27 Apr 2003 20:38:41 -0700 (PDT) From: Juli Mallett <jmallett@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 29924 for review Message-ID: <200304280338.h3S3cfqB090362@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=29924 Change 29924 by jmallett@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,@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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304280338.h3S3cfqB090362>