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
e08e3b30
Verified
Commit
e08e3b30
authored
5 years ago
by
Jeremy Soller
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused sector count
parent
5abe28fd
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
x86_64/partitions.asm
+0
-2
0 additions, 2 deletions
x86_64/partitions.asm
x86_64/redoxfs.asm
+0
-3
0 additions, 3 deletions
x86_64/redoxfs.asm
x86_64/startup-common.asm
+0
-1
0 additions, 1 deletion
x86_64/startup-common.asm
with
0 additions
and
6 deletions
x86_64/partitions.asm
+
0
−
2
View file @
e08e3b30
...
...
@@ -11,7 +11,6 @@ endstruc
; The partition has to be one of the primary MBR partitions.
; OUT
; eax - start_lba
; edx - sector count
; CLOBBER
; ebx
find_redoxfs_partition:
...
...
@@ -26,7 +25,6 @@ find_redoxfs_partition:
jmp
.notfound
.found:
mov
eax
,
[
partitions
+
mbr_partition_rec
+
mbr_partition_rec.lba_start
]
mov
edx
,
[
partitions
+
mbr_partition_rec
+
mbr_partition_rec.sector_count
]
ret
.notfound:
mov
si
,
.no_partition_found_msg
...
...
This diff is collapsed.
Click to expand it.
x86_64/redoxfs.asm
+
0
−
3
View file @
e08e3b30
...
...
@@ -41,10 +41,8 @@ endstruc
; IN
; eax - the first sector of the filesystem
; edx - the amount of sectors in the filesystem
redoxfs:
mov
[
.first_sector
],
eax
mov
[
.sector_count
],
ebx
call
redoxfs.open
test
eax
,
eax
jz
.good_header
...
...
@@ -79,7 +77,6 @@ redoxfs:
times
BL
OCK_SIZE
db
0
.first_sector:
dd
0
.sector_count:
dd
0
.env:
db
"REDOXFS_BLOCK="
...
...
This diff is collapsed.
Click to expand it.
x86_64/startup-common.asm
+
0
−
1
View file @
e08e3b30
...
...
@@ -28,7 +28,6 @@ startup:
%ifdef FILESYSTEM
mov
eax
,
(
filesystem
-
boot
)
/
512
mov
ebx
,
(
filesystem.end
-
filesystem
)
/
512
%else
call
find_redoxfs_partition
%endif
...
...
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