projects
/
dosdemo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added missing "bits 32" directives in the new asm files
[dosdemo]
/
src
/
util.h
diff --git
a/src/util.h
b/src/util.h
index
35d1a97
..
50148af
100644
(file)
--- a/
src/util.h
+++ b/
src/util.h
@@
-235,7
+235,7
@@
static unsigned int __inline get_cs(void)
#endif
unsigned int get_cs(void);
-#define get_cpl() ((int)(get_cs() & 7))
+#define get_cpl() ((int)(get_cs() & 3))
void get_msr(uint32_t msr, uint32_t *low, uint32_t *high);
void set_msr(uint32_t msr, uint32_t low, uint32_t high);