Gitiles
Code Review
Sign In
review.coreboot.org
/
coreboot
/
f7a0ba84dcddf08cdd6a4431c899ae1ee0ed986c
/
.
/
util
/
romcc
/
tests
/
simple_test35.c
blob: d60b157f25d1e55ae4d6d4daad9c82d7c12c8bd5 [
file
] [
log
] [
blame
]
Eric Biederman
f7a0ba8
2003-06-19 15:14:52 +0000
[
diff
] [
blame^
]
1
static
void
main
(
void
)
2
{
3
__builtin_msr_t
msr
;
4
msr
=
__builtin_rdmsr
(
0xC001001A
);
5
while
(
__builtin_inb
(
0x3fd
))
6
;
7
__builtin_outb
(
msr
.
hi
,
0x3f8
);
8
9
}