coreboot-kgpe-d16/src/cpu
Rudolf Marek beba99045c Following patch reworks car_disable into C. Tested, works here. I compared
also the GCC generated code and it looks all right. Please test on some
multicore CPU.

I added the "memory" clobber to read_cr0 / write_cr0 function as it is in Linux
Kernel. Seems that if this is missing, GCC is too smart and messes the order
of reads/writes to CR0 (not tested if really a problem here, but be safe for
future users of this function  ;) 

Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5562 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2010-05-16 21:51:34 +00:00
..
amd Following patch reworks car_disable into C. Tested, works here. I compared 2010-05-16 21:51:34 +00:00
intel license header fixes 2010-05-14 09:48:05 +00:00
via Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
x86 Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
Kconfig This patch changes C7 CAR code to be a single assembler file instead 2010-04-09 20:36:29 +00:00
Makefile.inc qemu: drop "northbridge.c" from src/cpu/... 2010-03-29 21:17:25 +00:00