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
874f046a
Commit
874f046a
authored
8 years ago
by
Jeremy Soller
Browse files
Options
Downloads
Patches
Plain Diff
WIP: IDT in rust
parent
e70c4ca9
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
x86/startup-x86_64.asm
+3
-11
3 additions, 11 deletions
x86/startup-x86_64.asm
x86/vesa.asm
+2
-2
2 additions, 2 deletions
x86/vesa.asm
with
5 additions
and
13 deletions
x86/startup-x86_64.asm
+
3
−
11
View file @
874f046a
...
...
@@ -67,21 +67,13 @@ long_mode:
mov
gs
,
rax
mov
ss
,
rax
; load long mode IDT
lidt
[
idtr
]
mov
rsp
,
0x800000
-
128
mov
rax
,
gdt.tss
ltr
ax
;rust init
xor
rax
,
rax
mov
eax
,
[
kernel_base
+
0x18
]
mov
[
interrupts.handler
],
rax
mov
rax
,
gdtr
mov
rbx
,
idtr
mov
rcx
,
tss
int
0xFF
mov
rbx
,
gdtr
jmp
rax
.lp:
sti
hlt
...
...
This diff is collapsed.
Click to expand it.
x86/vesa.asm
+
2
−
2
View file @
874f046a
...
...
@@ -183,8 +183,8 @@ vesa:
.minx
dw
640
.miny
dw
480
.required:
.requiredx
dw
0
;
1024 ;USE THESE WITH CAUTION
.requiredy
dw
0
;
768
.requiredx
dw
1024
;USE THESE WITH CAUTION
.requiredy
dw
768
.requiredmode
dw
0
.noedidmsg
db
"
EDI
D
not
supported.
",10,13,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