summaryrefslogtreecommitdiff
path: root/src/include/fallback.h
diff options
context:
space:
mode:
authorRudolf Marek <r.marek@assembler.cz>2010-05-16 21:51:34 +0000
committerRudolf Marek <r.marek@assembler.cz>2010-05-16 21:51:34 +0000
commitbeba99045c7e7af21481d359384d06c77e636d53 (patch)
treefa8f248eea176e182b4fe8f85e3a08ab134b6550 /src/include/fallback.h
parent4bb368cc73446240ea4c6d6aa6de4c5c867be3bf (diff)
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
Diffstat (limited to 'src/include/fallback.h')
0 files changed, 0 insertions, 0 deletions