ia64/xen-unstable

view config/x86_32.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 d1f9652e35c3
children 6ed9b42d1ec4
line source
1 CONFIG_X86 := y
2 CONFIG_X86_32 := y
3 CONFIG_X86_$(XEN_OS) := y
5 CONFIG_HVM := y
6 CONFIG_MIGRATE := y
7 CONFIG_XCUTILS := y
8 CONFIG_IOEMU := y
10 CFLAGS += -m32 -march=i686
11 LIBDIR := lib
13 # Use only if calling $(LD) directly.
14 LDFLAGS_DIRECT_OpenBSD = _obsd
15 LDFLAGS_DIRECT_FreeBSD = _fbsd
16 LDFLAGS_DIRECT += -melf_i386$(LDFLAGS_DIRECT_$(XEN_OS))