Use the AHCI section of the PCI config as an example POC of this. We can now pass a memory capability instead of just the physical address.
8 lines
312 B
C
8 lines
312 B
C
#pragma once
|
|
|
|
#include "include/zcall.h"
|
|
|
|
z_err_t MemoryObjectCreate(ZMemoryObjectCreateReq* req);
|
|
z_err_t MemoryObjectCreatePhysical(ZMemoryObjectCreatePhysicalReq* req);
|
|
z_err_t MemoryObjectCreateContiguous(ZMemoryObjectCreateContiguousReq* req);
|
|
z_err_t MemoryObjectDuplicate(ZMemoryObjectDuplicateReq* req);
|