bootblock_crt0: Use CR* macros from cpu/x86/cr.h
Instead of re-defining the macros, include cpu/x86/cr.h in bootblock_crt0.S to re-use already defined macros for accessing CR* flags. Change-Id: Idade02f7a6bc880c9aad3bfacd05ac57b6d04e44 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/14359 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Andrey Petrov <andrey.petrov@intel.com>
This commit is contained in:
parent
44d009dc7f
commit
b3ee03c404
|
@ -21,11 +21,7 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define CR0_MP (1 << 1)
|
#include <cpu/x86/cr.h>
|
||||||
#define CR0_EM (1 << 2)
|
|
||||||
|
|
||||||
#define CR4_OSFXSR (1 << 9)
|
|
||||||
#define CR4_OSXMMEXCPT (1 << 10)
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Include the old code for reset vector and protected mode entry. That code has
|
* Include the old code for reset vector and protected mode entry. That code has
|
||||||
|
|
Loading…
Reference in New Issue