-
- Downloads
[PATCH] x86: Clean up x86 control register and MSR macros (corrected)
This patch is based on Rusty's recent cleanup of the EFLAGS-related macros; it extends the same kind of cleanup to control registers and MSRs. It also unifies these between i386 and x86-64; at least with regards to MSRs, the two had definitely gotten out of sync. Signed-off-by:H. Peter Anvin <hpa@zytor.com> Signed-off-by:
Andi Kleen <ak@suse.de>
Showing
- include/asm-i386/Kbuild 2 additions, 0 deletionsinclude/asm-i386/Kbuild
- include/asm-i386/msr-index.h 273 additions, 0 deletionsinclude/asm-i386/msr-index.h
- include/asm-i386/msr.h 7 additions, 230 deletionsinclude/asm-i386/msr.h
- include/asm-i386/processor-flags.h 65 additions, 0 deletionsinclude/asm-i386/processor-flags.h
- include/asm-i386/processor.h 0 additions, 35 deletionsinclude/asm-i386/processor.h
- include/asm-x86_64/Kbuild 2 additions, 1 deletioninclude/asm-x86_64/Kbuild
- include/asm-x86_64/msr-index.h 1 addition, 0 deletionsinclude/asm-x86_64/msr-index.h
- include/asm-x86_64/msr.h 5 additions, 269 deletionsinclude/asm-x86_64/msr.h
- include/asm-x86_64/processor-flags.h 1 addition, 26 deletionsinclude/asm-x86_64/processor-flags.h
- include/asm-x86_64/processor.h 0 additions, 31 deletionsinclude/asm-x86_64/processor.h
Loading
Please register or sign in to comment