zephyr/include
Zide Chen d27f6cb5eb interrupt_controller: program local APIC LDR register for xAPIC
If IO APIC is in logical destination mode, local APICs compare their
logical APIC ID defined in LDR (Logical Destination Register) with
the destination code sent with the interrupt to determine whether or not
to accept the incoming interrupt.

This patch programs LDR in xAPIC mode to support IO APIC logical mode.

The local APIC ID from local APIC ID register can't be used as the
'logical APIC ID' because LAPIC ID may not be consecutive numbers hence
it makes it impossible for LDR to encode 8 IDs within 8 bits.

This patch chooses 0 for BSP, and for APs, cpu_number which is the index
to x86_cpuboot[], which ultimately assigned in z_smp_init[].

Signed-off-by: Zide Chen <zide.chen@intel.com>
2020-05-08 22:32:39 -04:00
..
app_memory
arch devicetree: DT_NODE_HAS_COMPAT_STATUS_OKAY -> DT_NODE_HAS_COMPAT_STATUS 2020-05-08 19:37:18 -05:00
audio drivers: audio: Port to the new timeout API 2020-05-07 11:01:55 +02:00
bluetooth Bluetooth: hci_raw: Fix build error on hci_usb_h4 2020-05-07 22:38:31 -05:00
canbus canbus: canopen: add program download support 2020-05-08 10:53:42 +02:00
cmsis_rtos_v1
cmsis_rtos_v2
console documentation: fix wrong recommendation for millisecond timeouts 2020-04-30 18:26:26 +02:00
crypto docs: crypto: crypto API documentation 2020-03-14 13:01:03 -04:00
data
debug debug: thread_analyzer: Implement thread analyzer 2020-04-28 09:11:13 -04:00
devicetree can: dts: Convert can-primary alias to zephyr,can-primary chosen prop 2020-04-29 14:27:31 -05:00
dfu dfu: use stream_flash in flash_img 2020-05-06 11:14:00 +02:00
disk doc: reference: Add disk access API 2020-03-18 11:47:24 +01:00
display timeouts: Port BBC micro:bit to the new timeout API 2020-05-07 11:01:55 +02:00
drivers interrupt_controller: program local APIC LDR register for xAPIC 2020-05-08 22:32:39 -04:00
dt-bindings stm32_pinctrl: remove duplicate definition 2020-05-04 19:49:14 +02:00
fs fs: littlefs: force alignment for buffers 2020-04-11 15:33:35 -04:00
linker device: Refactor device structures 2020-05-08 23:07:44 +02:00
logging logging: Replace MACRO_MAP with FOR_EACH 2020-05-06 14:30:18 +02:00
mgmt mgmt: smp: add UDP transport for SMP 2020-04-17 10:16:25 +03:00
net canbus: Convert canbus driver and subsys to new timeout API 2020-05-06 10:19:13 +02:00
posix include: posix: Add <sys/select.h> header for POSIX subsystem 2020-05-08 11:16:31 +03:00
power power: add system power management direct force mode. 2020-01-24 21:37:40 -05:00
random doc: doxygen: add missing groups and categorise 2020-03-14 13:01:03 -04:00
settings settings: add const qualifier for unmodified data source 2020-05-07 10:51:49 +02:00
shell shell: Refactor command execution to enable raw arguments 2020-05-07 23:47:39 -05:00
stats
storage storage: add stream flash library 2020-05-06 11:14:00 +02:00
sys sys/util.h: Add IS_EMPTY and LIST_DROP_EMPTY macros 2020-05-08 17:50:25 +02:00
toolchain toolchain: Fix warning about too few arguments on BUILD_ASSERT() 2020-04-11 11:09:20 -04:00
tracing tracing: move headers under include/tracing 2020-02-07 15:58:05 -05:00
usb usb: Add USB audio implementation 2020-05-08 15:12:27 +02:00
zephyr
cache.h
device.h device: Refactor device structures 2020-05-08 23:07:44 +02:00
devicetree.h devicetree: DT_NODE_HAS_COMPAT_STATUS_OKAY -> DT_NODE_HAS_COMPAT_STATUS 2020-05-08 19:37:18 -05:00
exc_handle.h
fatal.h
generated_dts_board.h
init.h device: Refactor device structures 2020-05-08 23:07:44 +02:00
irq_nextlevel.h
irq_offload.h
irq.h irq: Remove return value from IRQ_CONNECT and IRQ_DIRECT_CONNECT 2020-04-17 13:19:07 -05:00
kernel_includes.h kernel: move thread stack macros to new header 2020-04-21 18:45:45 -04:00
kernel_structs.h kernel: remove legacy fields in _kernel 2020-05-08 17:42:49 +02:00
kernel_version.h
kernel.h kconfig: Rename CONFIG_FP_SHARING to CONFIG_FPU_SHARING 2020-05-08 10:58:33 +02:00
mempool_heap.h kernel: Add k_mem_pool compatibility layer on top of k_heap 2020-04-14 10:05:55 -07:00
mempool_sys.h kernel: Refactor k_mem_pool APIs into a base and derived level 2020-04-14 10:05:55 -07:00
ptp_clock.h scripts: Replace hard-coded subsystem list with __subsystem annotations. 2020-03-11 17:13:39 +02:00
sched_priq.h
shared_irq.h
spinlock.h include: Add documentation for spinlocks 2020-05-08 10:46:44 +02:00
sw_isr_table.h sw_isr_table.h: fix __COUNTER__ usage 2020-04-17 18:28:37 +02:00
sys_clock.h include: Move waitq and timeout structs to kernel_structs.h 2020-04-14 10:05:55 -07:00
syscall_handler.h usermode: Rework Z_SYSCALL_SPECIFIC_DRIVER to fit with device refactoring 2020-05-08 23:07:44 +02:00
syscall.h
timeout_q.h kernel/timeout: Add timeout remaining/expires APIs 2020-03-31 19:40:47 -04:00
toolchain.h
wait_q.h
zephyr.h