ia64/xen-unstable

view config/x86_64.mk @ 16412:8c305873f2b8

x86: Make IDT/GDT/LDT updates safe.

This involves either determining that the entry will not be
read/written while the update takes place, or atomically making the
entry 'present', or doing the entire write atomically, as appropriate.

This issue raised, and original patch provided, by Jan Beulich.

Signed-off-by: Keir Fraser <keir.fraser@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Nov 21 11:38:51 2007 +0000 (2007-11-21)
parents 7c5eea5feebd
children 6ed9b42d1ec4
line source
1 CONFIG_X86 := y
2 CONFIG_X86_64 := y
3 CONFIG_X86_$(XEN_OS) := y
5 CONFIG_COMPAT := y
6 CONFIG_HVM := y
7 CONFIG_MIGRATE := y
8 CONFIG_XCUTILS := y
9 CONFIG_IOEMU := y
11 CFLAGS += -m64
12 LIBDIR = $(LIB64DIR)
14 # Use only if calling $(LD) directly.
15 ifeq ($(XEN_OS),OpenBSD)
16 LDFLAGS_DIRECT += -melf_x86_64_obsd
17 else
18 LDFLAGS_DIRECT += -melf_x86_64
19 endif