summaryrefslogtreecommitdiff
path: root/core/layout.inc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-03-31 08:59:00 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-03-31 08:59:00 -0700
commit35dda1ebbb0c58dc76e3b534611c3bdcb06e2248 (patch)
treedbba405d1b8b204f9601758db32b7e159a83f7a3 /core/layout.inc
parent1cb06f94c9c1525975254ed41942098d7a741840 (diff)
downloadsyslinux-35dda1ebbb0c58dc76e3b534611c3bdcb06e2248.tar.gz
shuffler: first cut of a simpler shuffle routine
Impact: major restructuring New shuffler routine which runs entirely in protected mode, unlike the old one which would enter PM for the bcopy phase only. This is not only faster, but it greatly reduces the size of the shuffler "critical area". The interfaces to this new shuffler are not yet implemented, so this is a non-functional checkpoint. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/layout.inc')
-rw-r--r--core/layout.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/layout.inc b/core/layout.inc
index 3033ab31..20f615ab 100644
--- a/core/layout.inc
+++ b/core/layout.inc
@@ -39,7 +39,6 @@ LATEBSS_START equ 0B800h
;
; Use .earlybss for things that MUST be in low memory.
section .earlybss nobits start=BSS_START
- section .bcopy32 exec nowrite progbits align=4
section .config write progbits align=4
section .config.end write nobits align=4
@@ -61,6 +60,7 @@ RBFG_brainfuck: resb 2048 ; Bigger than an Ethernet packet...
section .bss2 write nobits align=16
section .text exec write progbits align=16
+ section .bcopyxx exec write progbits align=16
section .data write progbits align=16
section .adv write nobits align=512
@@ -79,7 +79,6 @@ RBFG_brainfuck: resb 2048 ; Bigger than an Ethernet packet...
extern __%1_start, __%1_lma, __%1_end
extern __%1_len, __%1_dwords
%endmacro
- SECINFO bcopy32
SECINFO config
global _start