mem: add phys_read and phys_write
This commit is contained in:
parent
ceb4f67f9a
commit
877f6aa7c9
2 changed files with 12 additions and 0 deletions
|
|
@ -114,6 +114,8 @@ void proc_munmap(struct proc *proc, uintptr_t vaddr);
|
|||
paddr_t proc_clone_mmap(struct proc *in, struct proc *out);
|
||||
paddr_t virtual_to_physical(uintptr_t vaddr, paddr_t page_base);
|
||||
void mem_early_init(char *mem, size_t len);
|
||||
uint64_t phys_read(paddr_t paddr);
|
||||
void phys_write(paddr_t paddr, uint64_t data);
|
||||
|
||||
#endif /* __ASM__ */
|
||||
#endif /* _MEM_H_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue