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 14
14
name : " Test"
15
15
16
16
strategy :
17
+ fail-fast : false
17
18
matrix :
18
19
platform : [
19
20
ubuntu-latest,
83
84
if [ $? -eq 123 ]; then (exit 0); else (exit 1); fi
84
85
shell : ' bash {0}'
85
86
86
-
87
87
build_example_kernel :
88
88
name : " Build Example Kernel"
89
89
strategy :
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " bootloader"
3
- version = " 0.9.14 "
3
+ version = " 0.9.15 "
4
4
authors = [" Philipp Oppermann <dev@phil-opp.com>" ]
5
5
license = " MIT/Apache-2.0"
6
6
description = " An experimental pure-Rust x86 bootloader."
Original file line number Diff line number Diff line change 1
1
# Unreleased
2
2
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
+
3
7
# 0.9.14 – 2021-02-24
4
8
5
9
- 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:
78
78
jc no_int13h_extensions
79
79
80
80
load_rest_of_bootloader_from_disk:
81
- lea eax , _rest_of_bootloader_start_addr
81
+ mov eax , offset _rest_of_bootloader_start_addr
82
82
83
83
# dap buffer segment
84
84
mov ebx , eax
@@ -90,10 +90,10 @@ load_rest_of_bootloader_from_disk:
90
90
sub eax , ebx
91
91
mov [ dap_buffer_addr ], ax
92
92
93
- lea eax , _rest_of_bootloader_start_addr
93
+ mov eax , offset _rest_of_bootloader_start_addr
94
94
95
95
# number of disk blocks to load
96
- lea ebx , _rest_of_bootloader_end_addr
96
+ mov ebx , offset _rest_of_bootloader_end_addr
97
97
sub ebx , eax # end - start
98
98
shr ebx , 9 # divide by 512 (block size)
99
99
mov [ dap_blocks ], bx
Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ load_kernel_from_disk:
40
40
mov word ptr [ dap_blocks ], 1
41
41
42
42
# 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
45
45
sub eax , ebx
46
46
shr eax , 9 # divide by 512 (block size)
47
47
mov [ dap_start_lba ], eax
You can’t perform that action at this time.
0 commit comments