Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
kernel
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
jD91mZM2
kernel
Commits
bdff0dd0
Commit
bdff0dd0
authored
7 years ago
by
Jeremy Soller
Browse files
Options
Downloads
Patches
Plain Diff
Fix documentation
parent
9a9f5d17
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Cargo.toml
+1
-0
1 addition, 0 deletions
Cargo.toml
src/lib.rs
+2
-0
2 additions, 0 deletions
src/lib.rs
src/panic.rs
+0
-2
0 additions, 2 deletions
src/panic.rs
src/syscall/process.rs
+1
-0
1 addition, 0 deletions
src/syscall/process.rs
with
4 additions
and
2 deletions
Cargo.toml
+
1
−
0
View file @
bdff0dd0
...
@@ -26,5 +26,6 @@ default-features = false
...
@@ -26,5 +26,6 @@ default-features = false
[features]
[features]
default
=
[]
default
=
[]
doc
=
[]
live
=
[]
live
=
[]
multi_core
=
[]
multi_core
=
[]
This diff is collapsed.
Click to expand it.
src/lib.rs
+
2
−
0
View file @
bdff0dd0
...
@@ -61,6 +61,7 @@ pub mod context;
...
@@ -61,6 +61,7 @@ pub mod context;
pub
mod
devices
;
pub
mod
devices
;
/// ELF file parsing
/// ELF file parsing
#[cfg(not(feature=
"doc"
))]
pub
mod
elf
;
pub
mod
elf
;
/// External functions
/// External functions
...
@@ -70,6 +71,7 @@ pub mod externs;
...
@@ -70,6 +71,7 @@ pub mod externs;
pub
mod
memory
;
pub
mod
memory
;
/// Panic
/// Panic
#[cfg(not(any(feature=
"doc"
,
test)))]
pub
mod
panic
;
pub
mod
panic
;
/// Schemes, filesystem handlers
/// Schemes, filesystem handlers
...
...
This diff is collapsed.
Click to expand it.
src/panic.rs
+
0
−
2
View file @
bdff0dd0
...
@@ -2,11 +2,9 @@
...
@@ -2,11 +2,9 @@
use
interrupt
;
use
interrupt
;
#[cfg(not(test))]
#[lang
=
"eh_personality"
]
#[lang
=
"eh_personality"
]
pub
extern
"C"
fn
eh_personality
()
{}
pub
extern
"C"
fn
eh_personality
()
{}
#[cfg(not(test))]
/// Required to handle panics
/// Required to handle panics
#[lang
=
"panic_fmt"
]
#[lang
=
"panic_fmt"
]
#[no_mangle]
#[no_mangle]
...
...
This diff is collapsed.
Click to expand it.
src/syscall/process.rs
+
1
−
0
View file @
bdff0dd0
...
@@ -15,6 +15,7 @@ use interrupt;
...
@@ -15,6 +15,7 @@ use interrupt;
use
context
;
use
context
;
use
context
::
ContextId
;
use
context
::
ContextId
;
use
context
::
file
::
FileDescriptor
;
use
context
::
file
::
FileDescriptor
;
#[cfg(not(feature=
"doc"
))]
use
elf
::{
self
,
program_header
};
use
elf
::{
self
,
program_header
};
use
scheme
::
FileHandle
;
use
scheme
::
FileHandle
;
use
syscall
;
use
syscall
;
...
...
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