Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CSEP551
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
Krishna Vinnakota
CSEP551
Commits
a491dba0
Commit
a491dba0
authored
17 years ago
by
rsc
Browse files
Options
Downloads
Patches
Plain Diff
more cmain -> bootmain
parent
d844f0f9
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
bootmain.c
+1
-1
1 addition, 1 deletion
bootmain.c
bootother.S
+1
-1
1 addition, 1 deletion
bootother.S
with
2 additions
and
2 deletions
bootmain.c
+
1
−
1
View file @
a491dba0
...
...
@@ -2,7 +2,7 @@
//
// The BIOS loads boot sector (bootasm.S) from sector 1 of the disk
// into memory and executes it. The boot sector puts the processor
// in 32-bit mode and calls
c
main below, which loads an ELF kernel
// in 32-bit mode and calls
boot
main below, which loads an ELF kernel
// image from the disk starting at sector 2 and then jumps to the
// kernel entry routine.
...
...
This diff is collapsed.
Click to expand it.
bootother.S
+
1
−
1
View file @
a491dba0
...
...
@@ -16,7 +16,7 @@
#
This
code
is
identical
to
bootasm
.
S
except
:
#
-
it
does
not
need
to
enable
A20
#
-
it
uses
the
address
at
start
-
4
for
the
%
esp
#
-
it
jumps
to
the
address
at
start
-
8
instead
of
calling
c
main
#
-
it
jumps
to
the
address
at
start
-
8
instead
of
calling
boot
main
.
set
PROT_MODE_CSEG
,
0x8
#
kernel
code
segment
selector
.
set
PROT_MODE_DSEG
,
0x10
#
kernel
data
segment
selector
...
...
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