mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-10 12:51:34 +00:00
parent
677d9abd07
commit
507a34b3d0
@ -43,7 +43,9 @@
|
||||
return (high << 32) | (low & ~0U); \
|
||||
} \
|
||||
\
|
||||
static void write(access_t const) { } \
|
||||
static void write(access_t const value) { \
|
||||
asm volatile ("wrmsr" : : "a" (value), "d" (value >> 32), "c" (msr)); \
|
||||
} \
|
||||
\
|
||||
__VA_ARGS__; \
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user