summaryrefslogtreecommitdiff
path: root/comboot.inc
diff options
context:
space:
mode:
Diffstat (limited to 'comboot.inc')
-rw-r--r--comboot.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/comboot.inc b/comboot.inc
index 3c9df5f2..ffc9425f 100644
--- a/comboot.inc
+++ b/comboot.inc
@@ -187,6 +187,7 @@ comboot_int21: cli
clc
call ax ; Call the invoked function
comboot_resume:
+ mov bp,sp ; In case the function clobbers BP
setc P_FLAGSL ; Propagate CF->error
popad
pop gs