Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bootloader
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
redox-os
bootloader
Commits
60b87c44
Verified
Commit
60b87c44
authored
5 years ago
by
Jeremy Soller
Browse files
Options
Downloads
Patches
Plain Diff
Make more adjustments to padding to match padding from before MBR change
parent
1b02aebd
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
x86_64/disk.asm
+10
-7
10 additions, 7 deletions
x86_64/disk.asm
x86_64/partitions.asm
+1
-1
1 addition, 1 deletion
x86_64/partitions.asm
with
11 additions
and
8 deletions
x86_64/disk.asm
+
10
−
7
View file @
60b87c44
...
...
@@ -10,7 +10,7 @@ startup_start:
%ifdef ARCH_x86_64
%include "startup-x86_64.asm"
%endif
align
BL
OCK_SIZE
,
db
0
align
512
,
db
0
startup_end:
%ifdef KERNEL
...
...
@@ -18,13 +18,16 @@ startup_end:
%defstr KERNEL_STR %[KERNEL]
incbin
KERNEL_STR
.end:
align
BL
OCK_SIZE
,
db
0
align
512
,
db
0
%else
align
BL
OCK_SIZE
,
db
0
%ifdef FILESYSTEM
filesystem:
%defstr FILESYSTEM_STR %[FILESYSTEM]
incbin
FILESYSTEM_STR
.end:
align
BL
OCK_SIZE
,
db
0
filesystem:
%defstr FILESYSTEM_STR %[FILESYSTEM]
incbin
FILESYSTEM_STR
.end:
align
BL
OCK_SIZE
,
db
0
%else
filesystem:
%endif
%endif
This diff is collapsed.
Click to expand it.
x86_64/partitions.asm
+
1
−
1
View file @
60b87c44
...
...
@@ -29,6 +29,6 @@ find_redoxfs_partition:
.notfound:
mov
si
,
.no_partition_found_msg
call
print
mov
eax
,
(
startup_end
-
boot
)
/
512
mov
eax
,
(
filesystem
-
boot
)
/
512
ret
.no_partition_found_msg:
db
"
No
MBR
partition
with
type
0x83
found
"
,
0xA
,
0xD
,
0
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment