From e196fc9e1be82a7f1a5bbee014ab49c9e122f0e6 Mon Sep 17 00:00:00 2001 From: Ivan Baravy Date: Sun, 23 Jun 2019 00:54:35 +0000 Subject: [PATCH] macros.inc: Allow mcall macro to set ebp register. git-svn-id: svn://kolibrios.org@7672 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/macros.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/programs/macros.inc b/programs/macros.inc index bb809fc6c..6426671d8 100644 --- a/programs/macros.inc +++ b/programs/macros.inc @@ -292,7 +292,7 @@ include 'config.inc' ;__CPU_type equ p5 SYSENTER_VAR equ 0 -macro mcall a,b,c,d,e,f { ; mike.dld, updated by Ghost for Fast System Calls +macro mcall a,b,c,d,e,f,g { ; mike.dld, updated by Ghost for Fast System Calls local ..ret_point __mov eax,a __mov ebx,b @@ -300,6 +300,7 @@ macro mcall a,b,c,d,e,f { ; mike.dld, updated by Ghost for Fast System Calls __mov edx,d __mov esi,e __mov edi,f + __mov ebp,g if __CPU_type eq p5 int 0x40