Skip to content

Commit

Permalink
kernel: make SYSTEM_SERVICES unmangled
Browse files Browse the repository at this point in the history
This symbol will be viewed by external tools.

Signed-off-by: Sean Cross <sean@xobs.io>
  • Loading branch information
xobs committed Oct 28, 2022
1 parent fd739c2 commit c17a6d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/src/services.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ std::thread_local!(static SYSTEM_SERVICES: core::cell::RefCell<SystemServices> =
}));

#[cfg(baremetal)]
#[no_mangle]
static mut SYSTEM_SERVICES: SystemServices = SystemServices {
processes: [Process {
state: ProcessState::Free,
Expand Down

0 comments on commit c17a6d3

Please sign in to comment.