Gitiles
Code Review
Sign In
review.coreboot.org
/
coreboot
/
44807acaefc71cd4985779e742e6791cb9daf65d
/
.
/
src
/
soc
/
amd
/
common
/
block
/
cpu
/
cpu.c
blob: bece89bc726438f51c0775ced963920cbd9023af [
file
] [
log
] [
blame
]
/* SPDX-License-Identifier: GPL-2.0-only */
#include
<arch/cpu.h>
#include
<amdblocks/cpu.h>
int
get_cpu_count
(
void
)
{
return
1
+
(
cpuid_ecx
(
0x80000008
)
&
0xff
);
}