Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kernel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
23
Issues
23
List
Boards
Labels
Service Desk
Milestones
Merge Requests
10
Merge Requests
10
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
redox-os
kernel
Commits
f5fcbc12
Commit
f5fcbc12
authored
Sep 25, 2018
by
Jeremy Soller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move ipi for pit to after EOI
parent
e867326d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/arch/x86_64/interrupt/irq.rs
src/arch/x86_64/interrupt/irq.rs
+3
-3
No files found.
src/arch/x86_64/interrupt/irq.rs
View file @
f5fcbc12
...
...
@@ -40,9 +40,6 @@ pub unsafe fn acknowledge(irq: usize) {
}
interrupt!
(
pit
,
{
// Wake up other CPUs
ipi
(
IpiKind
::
Pit
,
IpiTarget
::
Other
);
// Saves CPU time by not sending IRQ event irq_trigger(0);
const
PIT_RATE
:
u64
=
2_250_286
;
...
...
@@ -56,6 +53,9 @@ interrupt!(pit, {
pic
::
MASTER
.ack
();
// Wake up other CPUs
ipi
(
IpiKind
::
Pit
,
IpiTarget
::
Other
);
// Any better way of doing this?
timeout
::
trigger
();
...
...
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