mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-03 06:51:56 +00:00
This header has a bunch of data structure definitions and macros useful for manipulating segment descriptors on X86. The old IDT_ENTRY defintion is removed in favor of the new 'struct segment_descriptor' which can be used for all segment descriptor types and not just IRQ gates. We also add some inline helper functions for examining segment registers, descriptor tables, and doing far jumps/calls. Change-Id: I640879073afa9765d2a214c3fb3c3305fef94b5e Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
9 lines
303 B
Makefile
9 lines
303 B
Makefile
HOSTCFLAGS_gen_idt.o += -I$(srctree)/include/arch/x86
|
|
HOSTCFLAGS_gen_idt.o += -DKERNEL_VERSION=0 -Wall -Werror -g
|
|
HOSTCFLAGS_version.o += -DKERNEL_VERSION=0 -Wall -Werror -g
|
|
HOSTCFLAGS_gen_idt.o += -Wno-unused-result
|
|
|
|
hostprogs-y += gen_idt
|
|
gen_idt-objs := version.o gen_idt.o
|
|
always := $(hostprogs-y)
|