]> git.proxmox.com Git - mirror_edk2.git/commit
AppPkg: fix webserver build for !Ia32/X64
authorLeif Lindholm <leif.lindholm@linaro.org>
Thu, 1 Nov 2018 14:51:50 +0000 (14:51 +0000)
committerLeif Lindholm <leif.lindholm@linaro.org>
Mon, 4 Feb 2019 17:07:47 +0000 (17:07 +0000)
commit3e583d345977eb9fda769aa3940ca186d190f757
tree4ffebfeff5f5005d5a437c9d736f11ff86896fb1
parent6c61ec4c62b6d1001e8ea6683e83f0e9ec0b3c9b
AppPkg: fix webserver build for !Ia32/X64

The WebServer application is not meant to be Ia32/X64 specific, and would
build for other architectures, if it wasn't for the
  #include <Register/Msr.h>
in WebServer.h. Move that statement to Mtrr.c instead, which is the only
consumer, and is already being filtered out for other architectures.

Cc: Daryl McDaniel <edk2-lists@mc2research.org>
Cc: Jaben Carsey <jaben.carsey@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
AppPkg/Applications/Sockets/WebServer/Mtrr.c
AppPkg/Applications/Sockets/WebServer/WebServer.h