Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
redox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Pirson Bethancourt
redox
Commits
027bbb0b
Commit
027bbb0b
authored
8 years ago
by
Jeremy Soller
Browse files
Options
Downloads
Patches
Plain Diff
Remove bochs breakpoints
parent
cc71670a
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
arch/x86_64/src/context.rs
+2
-4
2 additions, 4 deletions
arch/x86_64/src/context.rs
arch/x86_64/src/lib.rs
+1
-2
1 addition, 2 deletions
arch/x86_64/src/lib.rs
arch/x86_64/src/start.rs
+1
-2
1 addition, 2 deletions
arch/x86_64/src/start.rs
with
4 additions
and
8 deletions
arch/x86_64/src/context.rs
+
2
−
4
View file @
027bbb0b
...
...
@@ -151,8 +151,7 @@ unsafe extern fn signal_handler_wrapper() {
}
// Push scratch registers
asm!
(
"xchg bx, bx
push rax
asm!
(
"push rax
push rcx
push rdx
push rdi
...
...
@@ -171,8 +170,7 @@ unsafe extern fn signal_handler_wrapper() {
inner
(
&*
(
rsp
as
*
const
SignalHandlerStack
));
// Pop scratch registers, error code, and return
asm!
(
"xchg bx, bx
pop r11
asm!
(
"pop r11
pop r10
pop r9
pop r8
...
...
This diff is collapsed.
Click to expand it.
arch/x86_64/src/lib.rs
+
1
−
2
View file @
027bbb0b
...
...
@@ -241,8 +241,7 @@ macro_rules! interrupt_error {
}
// Push scratch registers
asm!
(
"xchg bx, bx
push rax
asm!
(
"push rax
push rcx
push rdx
push rdi
...
...
This diff is collapsed.
Click to expand it.
arch/x86_64/src/start.rs
+
1
−
2
View file @
027bbb0b
...
...
@@ -160,8 +160,7 @@ pub unsafe extern fn kstart_ap(cpu_id: usize, bsp_table: usize, stack_start: usi
pub
unsafe
fn
usermode
(
ip
:
usize
,
sp
:
usize
)
->
!
{
// Go to usermode
asm!
(
"xchg bx, bx
mov ds, ax
asm!
(
"mov ds, ax
mov es, ax
mov fs, bx
mov gs, ax
...
...
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