Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ACS
P
Public
HermitCore
libhermit-rs
Commits
5a08207c
Commit
5a08207c
authored
Jan 24, 2021
by
Stefan Lankes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor changes to pass the format check
parent
d8d1140b
Pipeline
#396797
passed with stages
in 30 minutes and 13 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/arch/x86_64/kernel/apic.rs
src/arch/x86_64/kernel/apic.rs
+1
-1
src/lib.rs
src/lib.rs
+2
-2
No files found.
src/arch/x86_64/kernel/apic.rs
View file @
5a08207c
...
...
@@ -29,9 +29,9 @@ use alloc::vec::Vec;
use
arch
::
x86_64
::
kernel
::{
idt
,
irq
,
percore
::
*
,
processor
,
BOOT_INFO
};
#[cfg(feature
=
"smp"
)]
use
core
::
convert
::
TryInto
;
use
core
::
hint
::
spin_loop
;
#[cfg(feature
=
"smp"
)]
use
core
::
ptr
;
use
core
::
hint
::
spin_loop
;
use
core
::{
cmp
,
fmt
,
mem
,
u32
};
use
crossbeam_utils
::
CachePadded
;
...
...
src/lib.rs
View file @
5a08207c
...
...
@@ -75,9 +75,9 @@ extern crate x86;
use
alloc
::
alloc
::
Layout
;
use
core
::
alloc
::
GlobalAlloc
;
#[cfg(feature
=
"smp"
)]
use
core
::
sync
::
atomic
::{
AtomicU32
,
Ordering
};
#[cfg(feature
=
"smp"
)]
use
core
::
hint
::
spin_loop
;
#[cfg(feature
=
"smp"
)]
use
core
::
sync
::
atomic
::{
AtomicU32
,
Ordering
};
use
arch
::
percore
::
*
;
use
mm
::
allocator
::
LockedHeap
;
...
...
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