diff options
Diffstat (limited to 'boot/startup-x86_64.s')
| -rw-r--r-- | boot/startup-x86_64.s | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/boot/startup-x86_64.s b/boot/startup-x86_64.s index b6b3b2e..5bba95f 100644 --- a/boot/startup-x86_64.s +++ b/boot/startup-x86_64.s @@ -31,8 +31,8 @@ MAX_MEM: equ 512 [GLOBAL mb_info_addr] ; functions from other parts of rustubs ; NOTE: this are all from 64bit code, so do not use them in 32bit assembly -[EXTERN ___BSS_PM_START__] -[EXTERN ___BSS_PM_END__] +[EXTERN ___BSS_START__] +[EXTERN ___BSS_END__] [EXTERN KERNEL_OFFSET] [EXTERN _entry] ; ============================================================================= @@ -170,8 +170,8 @@ fill_kvma2: jne fill_kvma2 ; done :-) ; clear BSS section for the rust code. - mov rdi, ___BSS_PM_START__ - mov rax, ___BSS_PM_END__ + mov rdi, ___BSS_START__ + mov rax, ___BSS_END__ clear_bss: ; clear the BSS section before going to rust code ; TODO speed this up by clearing 8 bytes at once. Alignment should be taken |
