File tree Expand file tree Collapse file tree 6 files changed +12
-8
lines changed Expand file tree Collapse file tree 6 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 1414 name : " Test"
1515
1616 strategy :
17+ fail-fast : false
1718 matrix :
1819 platform : [
1920 ubuntu-latest,
8384 if [ $? -eq 123 ]; then (exit 0); else (exit 1); fi
8485 shell : ' bash {0}'
8586
86-
8787 build_example_kernel :
8888 name : " Build Example Kernel"
8989 strategy :
Original file line number Diff line number Diff line change 11[package ]
22name = " bootloader"
3- version = " 0.9.14 "
3+ version = " 0.9.15 "
44authors = [" Philipp Oppermann <dev@phil-opp.com>" ]
55license = " MIT/Apache-2.0"
66description = " An experimental pure-Rust x86 bootloader."
Original file line number Diff line number Diff line change 11# Unreleased
22
3+ # 0.9.15 – 2021-03-07
4+
5+ - Fix linker errors on latest nightlies ([ #139 ] ( https://github.com/rust-osdev/bootloader/pull/139 ) )
6+
37# 0.9.14 – 2021-02-24
48
59- Fix "panic message is not a string literal" warning ([ #138 ] ( https://github.com/rust-osdev/bootloader/pull/138 ) )
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ check_int13h_extensions:
7878 jc no_int13h_extensions
7979
8080load_rest_of_bootloader_from_disk:
81- lea eax , _rest_of_bootloader_start_addr
81+ mov eax , offset _rest_of_bootloader_start_addr
8282
8383 # dap buffer segment
8484 mov ebx , eax
@@ -90,10 +90,10 @@ load_rest_of_bootloader_from_disk:
9090 sub eax , ebx
9191 mov [ dap_buffer_addr ], ax
9292
93- lea eax , _rest_of_bootloader_start_addr
93+ mov eax , offset _rest_of_bootloader_start_addr
9494
9595 # number of disk blocks to load
96- lea ebx , _rest_of_bootloader_end_addr
96+ mov ebx , offset _rest_of_bootloader_end_addr
9797 sub ebx , eax # end - start
9898 shr ebx , 9 # divide by 512 (block size)
9999 mov [ dap_blocks ], bx
Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ load_kernel_from_disk:
4040 mov word ptr [ dap_blocks ], 1
4141
4242 # number of start block
43- lea eax , _kernel_start_addr
44- lea ebx , _start
43+ mov eax , offset _kernel_start_addr
44+ mov ebx , offset _start
4545 sub eax , ebx
4646 shr eax , 9 # divide by 512 (block size)
4747 mov [ dap_start_lba ], eax
You can’t perform that action at this time.
0 commit comments