coreboot/src/cpu/intel
Patrick Rudolph fc57d6c4c2 cpu/x86/lapic: Support x86_64 and clean up code
Most LAPIC registers are 32bit, and thus the use of long is valid on
x86_32, however it doesn't work on x86_64.

* Don't use long as it is 64bit on x86_64, which breaks interrupts
  in QEMU and thus SeaBIOS wouldn't time out the boot menu
* Get rid of unused defines
* Get rid of unused atomic xchg code

Tested on QEMU Q35 with x86_64 enabled: Interrupts work again.
Tested on QEMU Q35 with x86_32 enabled: Interrupts are still working.
Tested on Lenovo T410 with x86_64 enabled.

Change-Id: Iaed1ad956d090625c7bb5cd9cf55cbae16dd82bd
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36777
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-06-22 11:52:49 +00:00
..
car cpu/intel: Remove obsolete comment in CAR setup 2020-06-15 19:14:13 +00:00
common cpu/intel/common: Fix typo in comment 2020-05-28 09:25:18 +00:00
fit arch/x86: Remove more romcc leftovers 2020-05-28 09:50:52 +00:00
haswell sb,soc/intel: Replace smm_southbridge_enable_smi() 2020-06-16 08:04:09 +00:00
hyperthreading src: Remove unused '#include <cpu/x86/lapic.h>' 2020-06-02 07:38:45 +00:00
microcode treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
model_6bx treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
model_6ex treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
model_6fx treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
model_6xx treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
model_65x treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
model_67x treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
model_68x treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
model_106cx treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
model_206ax sb,soc/intel: Replace smm_southbridge_enable_smi() 2020-06-16 08:04:09 +00:00
model_1067x sb,soc/intel: Replace smm_southbridge_enable_smi() 2020-06-16 08:04:09 +00:00
model_2065x cpu/x86/lapic: Support x86_64 and clean up code 2020-06-22 11:52:49 +00:00
model_f2x treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
model_f3x treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
model_f4x treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
slot_1 cpu/intel/slot_1: Select 16KiB bootblock if console is enabled 2020-06-04 18:05:53 +00:00
smm treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
socket_441 nb/intel/i945: Move to C_ENVIRONMENT_BOOTBLOCK 2019-11-15 16:45:48 +00:00
socket_BGA956 gm45 boards: Factor out MAX_CPUS 2020-06-15 22:55:54 +00:00
socket_FCBGA559 pineview boards: Factor out MAX_CPUS 2020-06-15 22:51:35 +00:00
socket_LGA775 Drop superfluous C_ENVIRONMENT_BOOTBLOCK checks 2019-11-25 09:17:14 +00:00
socket_m nb/intel/i945: Move to C_ENVIRONMENT_BOOTBLOCK 2019-11-15 16:45:48 +00:00
socket_mPGA604 Kconfig: Drop the C_ENVIRONMENT_BOOTBLOCK symbol 2019-11-25 09:17:38 +00:00
socket_p gm45 boards: Factor out MAX_CPUS 2020-06-15 22:55:54 +00:00
speedstep treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
turbo treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
Kconfig Kconfig: comply to Linux 5.3's Kconfig language rules 2019-11-23 20:09:56 +00:00
Makefile.inc nb/intel/nehalem: Rename to ironlake 2020-03-15 13:04:20 +00:00