Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
triazo
/
kernel
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
3
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
054a0717
authored
Dec 21, 2015
by
malcolm
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Oops x86 doesnt like pushing cr3, use ecx instead
parent
1788a858
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
src/switch.asm
src/switch.asm
View file @
054a0717
...
...
@@ -7,12 +7,14 @@ context_switch:
push
ebx
push
esi
push
edi
push
cr3
mov
ecx
,
cr3
push
ecx
mov
[eax],
esp
mov
esp
,
edx
pop
cr3
pop
ecx
mov
cr3
,
ecx
pop
edi
pop
esi
pop
ebx
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment