aboutsummaryrefslogtreecommitdiffstats
path: root/configinit.inc
diff options
context:
space:
mode:
Diffstat (limited to 'configinit.inc')
-rw-r--r--configinit.inc8
1 files changed, 3 insertions, 5 deletions
diff --git a/configinit.inc b/configinit.inc
index a5eaf1b3..cf6a814c 100644
--- a/configinit.inc
+++ b/configinit.inc
@@ -23,11 +23,9 @@ reset_config:
; Initialize the .config section
xor eax,eax
- mov si,section..config.start
- mov di,section..config.vstart
- mov cx,section..config.end.start
- sub cx,di
- shr cx,2
+ mov si,__config_lma
+ mov di,__config_start
+ mov cx,__config_dwords
rep movsd
%ifndef DEPEND