aboutsummaryrefslogtreecommitdiffstats
path: root/src/post.c
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2011-07-13 11:46:40 +0100
committerKevin O'Connor <kevin@koconnor.net>2011-07-20 20:39:36 -0400
commit7fc039e9c262b4199fab497f3e12f4e425c37560 (patch)
tree7787615fe83dd1470c944f3bea75dc34ba8a1828 /src/post.c
parent1313b78a5b096ac4bb8a611d25633246047462e8 (diff)
downloadseabios-7fc039e9c262b4199fab497f3e12f4e425c37560.tar.gz
xen: actually setup hypercalls.
This was somehow dropped during the iterations of the original Xen patches. It's actually harmless at the moment since there are no users of hypercalls but patches are being written to support Xen PV block devices which need this. It's not clear exactly how early this needs to be but I think it needs to be at least before init_hw() (since that would detect disk devices). Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'src/post.c')
-rw-r--r--src/post.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/post.c b/src/post.c
index 6f7aa146..e195e891 100644
--- a/src/post.c
+++ b/src/post.c
@@ -229,6 +229,9 @@ maininit(void)
pci_setup();
smm_init();
+ // Setup Xen hypercalls
+ xen_init_hypercalls();
+
// Initialize internal tables
boot_setup();