summaryrefslogtreecommitdiff
path: root/core/head.inc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-05-13 17:32:29 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-05-13 17:32:29 -0700
commit8d08421d2bd72fe1ca4532405e4282461eb68f30 (patch)
treee1086aa612f9ba86e93d9d49bbea1e21e05e586d /core/head.inc
parentb7602e0ed6dee93bc8c4e3ea6d3ea7ddf7082602 (diff)
downloadsyslinux-8d08421d2bd72fe1ca4532405e4282461eb68f30.tar.gz
core: simplify pm_call usage
Simplify the pm_call usage: - pm_call now saves and restores all registers callees that want to return values in registers can mess with the frame on the stack - the PM function now enters with EAX = EBP = RM stack (EAX for the use of C code, EBP for assembly) - the RM stack frame matches com32sys_t - pmcall.inc defined macros for the stack frame based on EBP Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/head.inc')
-rw-r--r--core/head.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/head.inc b/core/head.inc
index 37f1b36f..2753a42e 100644
--- a/core/head.inc
+++ b/core/head.inc
@@ -23,6 +23,7 @@
%include "macros.inc"
%include "config.inc"
%include "layout.inc"
+%include "pmcall.inc"
%include "kernel.inc"
%include "bios.inc"
%include "tracers.inc"