Add the Denali disk driver.
Begin enumerating information from the PCI structure and HBA AHCI structures. Currently the PCI structure address is hardcoded but it should be passed via a capability from the init process in the future.
This commit is contained in:
parent
47e3d11060
commit
30bb10207e
12 changed files with 264 additions and 44 deletions
|
|
@ -7,4 +7,4 @@ TIMEOUT=0
|
|||
|
||||
KERNEL_PATH=boot:///zion
|
||||
MODULE_PATH=boot:///sys/yellowstone
|
||||
MODULE_PATH=boot:///sys/test2
|
||||
MODULE_PATH=boot:///sys/denali
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ void LoadInitProgram() {
|
|||
uint64_t entry = LoadElfProgram(
|
||||
*proc, reinterpret_cast<uint64_t>(init_prog.address), init_prog.size);
|
||||
|
||||
const limine_file& prog2 = GetInitProgram("/sys/test2");
|
||||
const limine_file& prog2 = GetInitProgram("/sys/denali");
|
||||
RefPtr<MemoryObject> prog2_vmmo = MakeRefCounted<MemoryObject>(prog2.size);
|
||||
prog2_vmmo->CopyBytesToObject(reinterpret_cast<uint64_t>(prog2.address),
|
||||
prog2.size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue