mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-03 12:35:02 +00:00
Remove cpu_pfr from arm. It's unused.
This commit is contained in:
parent
52a532939b
commit
3f9baabdd0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=337762
@ -252,27 +252,6 @@ print_enadis(int enadis, char *s)
|
||||
|
||||
enum cpu_class cpu_class = CPU_CLASS_NONE;
|
||||
|
||||
u_int cpu_pfr(int num)
|
||||
{
|
||||
u_int feat;
|
||||
|
||||
switch (num) {
|
||||
case 0:
|
||||
__asm __volatile("mrc p15, 0, %0, c0, c1, 0"
|
||||
: "=r" (feat));
|
||||
break;
|
||||
case 1:
|
||||
__asm __volatile("mrc p15, 0, %0, c0, c1, 1"
|
||||
: "=r" (feat));
|
||||
break;
|
||||
default:
|
||||
panic("Processor Feature Register %d not implemented", num);
|
||||
break;
|
||||
}
|
||||
|
||||
return (feat);
|
||||
}
|
||||
|
||||
void
|
||||
identify_arm_cpu(void)
|
||||
{
|
||||
|
@ -210,7 +210,6 @@ int set_cpufuncs (void);
|
||||
void cpufunc_nullop (void);
|
||||
u_int cpufunc_control (u_int clear, u_int bic);
|
||||
void cpu_domains (u_int domains);
|
||||
u_int cpu_pfr (int);
|
||||
|
||||
#if defined(CPU_ARM9E)
|
||||
void arm9_tlb_flushID_SE (u_int va);
|
||||
|
Loading…
Reference in New Issue
Block a user