diff options
author | aiju <devnull@localhost> | 2018-07-11 14:50:22 +0100 |
---|---|---|
committer | aiju <devnull@localhost> | 2018-07-11 14:50:22 +0100 |
commit | 3a77c01f43821dcc4f7cae54aff89bb20f2d95a5 (patch) | |
tree | 2934609fdeebaddaf8f5d28601b488ba5a3d8d74 /sys/src/9/pc/io.h | |
parent | 911df94e5d712d7e2eebb4a3997efce17e2599f2 (diff) |
pc kernel: get rid of ugly and partially broken cpuid macros
Diffstat (limited to 'sys/src/9/pc/io.h')
-rw-r--r-- | sys/src/9/pc/io.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/src/9/pc/io.h b/sys/src/9/pc/io.h index 2bcba0c36..b3673aaa0 100644 --- a/sys/src/9/pc/io.h +++ b/sys/src/9/pc/io.h @@ -1,8 +1,3 @@ -#define X86STEPPING(x) ((x) & 0x0F) -/* incorporates extended-model and -family bits */ -#define X86MODEL(x) ((((x)>>4) & 0x0F) | (((x)>>16) & 0x0F)<<4) -#define X86FAMILY(x) ((((x)>>8) & 0x0F) | (((x)>>20) & 0xFF)<<4) - enum { VectorDE = 1, /* debug exception */ VectorNMI = 2, /* non-maskable interrupt */ |