Gitiles
Code Review
Sign In
review.coreboot.org
/
coreboot
/
ed7bab8b0dabca6a3d8936b7b868e547c884006c
/
.
/
src
/
northbridge
/
transmeta
/
tm5800
/
cpu_rev.c
blob: b84b0b159cffc5fd576bf52ff9ba9b7f3ccfd690 [
file
] [
log
] [
blame
]
/* this is a shrunken cpuid. */
static
unsigned
int
cpuid
(
unsigned
int
op
)
{
unsigned
int
ret
;
unsigned
dummy2
,
dummy3
,
dummy4
;
asm
volatile
(
"cpuid"
:
"=a"
(
ret
),
"=b"
(
dummy2
),
"=c"
(
dummy3
),
"=d"
(
dummy4
)
:
"a"
(
op
)
);
return
ret
;
}