mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:07:34 +00:00
Kernel/riscv64: Make the kernel compilable using GCC
This commit adds all necessary includes, so all functions are properly declared. PCI.cpp is moved to PCI/Initializer.cpp, as that matches the header path.
This commit is contained in:
parent
4cd1e4d69e
commit
2b44c4c3f7
5 changed files with 6 additions and 2 deletions
|
@ -172,7 +172,7 @@ public:
|
|||
|
||||
RISCV64::CSR::SATP satp() const
|
||||
{
|
||||
return {
|
||||
return RISCV64::CSR::SATP {
|
||||
.PPN = m_directory_table->paddr().get() >> PADDR_PPN_OFFSET,
|
||||
.ASID = 0,
|
||||
.MODE = RISCV64::CSR::SATP::Mode::Sv39,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue