aboutsummaryrefslogtreecommitdiffstats
path: root/core/parseconfig.inc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-05-15 10:43:25 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-05-15 10:43:25 -0700
commitcce8e82b71703b3a9da351839175553e101c61d9 (patch)
tree487b15346524731bd20310243499bbf9fca5552d /core/parseconfig.inc
parent3f2c5c69f6ad7968818c9cee8c337e4200587caf (diff)
downloadsyslinux-cce8e82b71703b3a9da351839175553e101c61d9.tar.gz
syslinux-cce8e82b71703b3a9da351839175553e101c61d9.tar.xz
syslinux-cce8e82b71703b3a9da351839175553e101c61d9.zip
core: add pm_call convenience macro
Add a pm_call convenience macro, instead of using stub routines everywhere. Stubs would still make sense if we have a routine which gets invoked from a lot of places, though, since the pm_call expands to 9 bytes as opposed to 3 bytes per call site plus a 10-byte stub. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/parseconfig.inc')
-rw-r--r--core/parseconfig.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/parseconfig.inc b/core/parseconfig.inc
index 8dea6b3f..77afaa65 100644
--- a/core/parseconfig.inc
+++ b/core/parseconfig.inc
@@ -426,7 +426,7 @@ commit_vk:
mov esi,VKernelBuf
mov edi,[VKernelEnd]
mov ecx,vk_size
- call rllpack
+ pm_call rllpack
mov [VKernelEnd],edi
.nolabel:
ret
@@ -474,5 +474,3 @@ IPAppend db 0 ; Default IPAPPEND option
command_line resb max_cmd_len+2 ; Command line buffer
alignb 4
default_cmd resb max_cmd_len+1 ; "default" command line
-
-%include "rllpack.inc"