Skip to content

Conversation

@equation314
Copy link
Member

@equation314 equation314 commented Sep 13, 2021

Major changes:

  • Merge crates kernel-hal-unix and kernel-hal-bare to kernel-hal.
  • Avoid exporting functions via #[linkage] and FFI.
  • Introduce macros hal_fn_def and hal_fn_impl to define HAL functions.
  • Introduce KernelHandler to define functions implemented in kernel and called by HAL (e.g. kernel page fault handler).
  • Add a generic page table structure and implement page table walking manually.

PS: some device drivers are disabled temporally, will be refactored in next PR.

@equation314 equation314 merged commit 78f8de5 into rcore-os:master Sep 15, 2021
zhangsn-19 pushed a commit to zhangsn-19/zCore that referenced this pull request Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant