summaryrefslogtreecommitdiff
path: root/stand
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2020-01-28 11:33:12 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2020-01-28 11:33:12 +0000
commite906027a66c881da2bc78a00cbded590c94e7178 (patch)
tree9789446c429783096250982b59ceaa275769f7b7 /stand
parent39ca90a3bce61d108430c91b27fedc5ad253a192 (diff)
downloadsrc-test2-e906027a66c881da2bc78a00cbded590c94e7178.tar.gz
src-test2-e906027a66c881da2bc78a00cbded590c94e7178.zip
MFC r356940:
Add support for Hygon Dhyana Family 18h processor.
Notes
Notes: svn path=/stable/12/; revision=357200
Diffstat (limited to 'stand')
-rw-r--r--stand/i386/libi386/bootinfo64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stand/i386/libi386/bootinfo64.c b/stand/i386/libi386/bootinfo64.c
index c9e61cac7414..93723a6943e3 100644
--- a/stand/i386/libi386/bootinfo64.c
+++ b/stand/i386/libi386/bootinfo64.c
@@ -158,6 +158,7 @@ bi_checkcpu(void)
/* Check for vendors that support AMD features. */
if (strncmp(cpu_vendor, INTEL_VENDOR_ID, 12) != 0 &&
strncmp(cpu_vendor, AMD_VENDOR_ID, 12) != 0 &&
+ strncmp(cpu_vendor, HYGON_VENDOR_ID, 12) != 0 &&
strncmp(cpu_vendor, CENTAUR_VENDOR_ID, 12) != 0)
return (0);