diff options
author | jhb <jhb@FreeBSD.org> | 2003-01-08 16:35:59 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2003-01-08 16:35:59 +0000 |
commit | 6873375d06f281732e2bd5e1a509b1bd8edec189 (patch) | |
tree | 5d8849d86e4f426b29289cc9c14e674387108b64 /sys/amd64/include | |
parent | ae34f5ca68917e1117f28452f0ae251572d15040 (diff) | |
download | FreeBSD-src-6873375d06f281732e2bd5e1a509b1bd8edec189.zip FreeBSD-src-6873375d06f281732e2bd5e1a509b1bd8edec189.tar.gz |
- Add a cpu_exthigh variable to hold the highest extended cpuid value
returned from cpuid 0x80000000.
- Add a cpu_brand char array to hold the processor name returned by
cpuid 0x80000002-0x80000004 on AMD, Intel, Transmeta, and possibly
other CPUs.
- Use cpuid to set cpu_exthigh and read the processor name if it is present
in identify_cpu().
Diffstat (limited to 'sys/amd64/include')
-rw-r--r-- | sys/amd64/include/md_var.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/amd64/include/md_var.h b/sys/amd64/include/md_var.h index 71c58c3..1d0a03d 100644 --- a/sys/amd64/include/md_var.h +++ b/sys/amd64/include/md_var.h @@ -42,12 +42,14 @@ extern void (*bcopy_vector)(const void *from, void *to, size_t len); extern int busdma_swi_pending; extern int (*copyin_vector)(const void *udaddr, void *kaddr, size_t len); extern int (*copyout_vector)(const void *kaddr, void *udaddr, size_t len); +extern u_int cpu_exthigh; extern u_int cpu_feature; extern u_int cpu_high; extern u_int cpuid_cpuinfo; extern u_int cpu_id; extern u_int cpu_fxsr; extern char cpu_vendor[]; +extern char cpu_brand[]; extern u_int cyrix_did; extern uint16_t *elan_mmcr; extern char kstack[]; |