/*********************************************************
- * Copyright (c) 1998-2024 Broadcom. All Rights Reserved.
+ * Copyright (c) 1998-2025 Broadcom. All Rights Reserved.
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
*
* This program is free software; you can redistribute it and/or modify it
#define CPUID_FAMILY_P5 5
#define CPUID_FAMILY_P6 6
#define CPUID_FAMILY_P4 15
+#define CPUID_FAMILY_19 19
/* Effective AMD CPU Families */
#define CPUID_FAMILY_5x86 0x4
/* Effective Hygon CPU Families. */
#define CPUID_FAMILY_DHYANA 0x18
-/* Intel model information */
+/* Intel model information (family 6) */
#define CPUID_MODEL_PPRO 1
#define CPUID_MODEL_PII_03 3
#define CPUID_MODEL_PII_05 5
#define CPUID_MODEL_RAPTORLAKE_BA 0xba // Raptor Lake H/P/PX J-0, U Q-0
#define CPUID_MODEL_RAPTORLAKE_BF 0xbf // Raptor Lake S/HX C-0
+
/* Intel stepping information */
#define CPUID_STEPPING_KABYLAKE_ES 0x8 // Kaby Lake S/H/U/Y ES
#define CPUID_STEPPING_COFFEELAKE_A 0xA // Coffee Lake U/S/H
return CPUID_EFFECTIVE_FAMILY(eax) == CPUID_FAMILY_P4;
}
+static INLINE Bool
+CPUID_FAMILY_IS_19(uint32 eax)
+{
+ return CPUID_EFFECTIVE_FAMILY(eax) == CPUID_FAMILY_19;
+}
+
/*
* Intel Pentium M processors are Yonah/Sossaman or an older P-M
*/