Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BiteTheDisk
OSKernel2023_BiteTheDisk
Commits
c1b89dbf
Unverified
Commit
c1b89dbf
authored
1 year ago
by
sslime336
Browse files
Options
Download
Patches
Plain Diff
Feat: multi-core
parent
9bfd9674
Changes
23
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
kernel/Cargo.toml
+3
-0
kernel/Cargo.toml
kernel/src/consts.rs
+2
-0
kernel/src/consts.rs
kernel/src/fs/stat.rs
+6
-4
kernel/src/fs/stat.rs
kernel/src/logging.rs
+1
-1
kernel/src/logging.rs
kernel/src/macros/hsm.rs
+3
-7
kernel/src/macros/hsm.rs
kernel/src/macros/on_boot.rs
+6
-29
kernel/src/macros/on_boot.rs
kernel/src/main.rs
+51
-61
kernel/src/main.rs
kernel/src/mm/kernel_heap_allocator.rs
+27
-0
kernel/src/mm/kernel_heap_allocator.rs
kernel/src/mm/mod.rs
+7
-2
kernel/src/mm/mod.rs
kernel/src/panic.rs
+8
-3
kernel/src/panic.rs
kernel/src/sbi.rs
+13
-0
kernel/src/sbi.rs
kernel/src/syscall/dispatcher.rs
+1
-0
kernel/src/syscall/dispatcher.rs
kernel/src/task/initproc/mod.rs
+5
-0
kernel/src/task/initproc/mod.rs
kernel/src/task/manager.rs
+11
-18
kernel/src/task/manager.rs
kernel/src/task/mod.rs
+7
-12
kernel/src/task/mod.rs
kernel/src/task/pid.rs
+3
-4
kernel/src/task/pid.rs
kernel/src/task/processor/processor.rs
+12
-11
kernel/src/task/processor/processor.rs
kernel/src/task/processor/schedule.rs
+8
-7
kernel/src/task/processor/schedule.rs
kernel/src/task/task.rs
+0
-2
kernel/src/task/task.rs
kernel/src/trap/context.rs
+3
-0
kernel/src/trap/context.rs
with
177 additions
and
161 deletions
+177
-161
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets