Changeset 5acf533 in mainline
- Timestamp:
- 2019-06-20T14:36:59Z (6 years ago)
- Children:
- 962c89af
- Parents:
- d7dfa05
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
abi/include/_bits/native.h
rd7dfa05 r5acf533 70 70 #endif 71 71 72 // TODO: Put this in a better location. 72 73 #define uspace_ptr_as_area_info_t uspace_ptr(as_area_info_t) 73 74 #define uspace_ptr_as_area_pager_info_t uspace_ptr(as_area_pager_info_t) -
kernel/generic/include/ddi/ddi.h
rd7dfa05 r5acf533 63 63 extern void pio_unmap(void *, void *, size_t); 64 64 65 extern sys_errno_t sys_physmem_map(uintptr_t, size_t, unsigned int, uspace_ addr_t,65 extern sys_errno_t sys_physmem_map(uintptr_t, size_t, unsigned int, uspace_ptr_uintptr_t, 66 66 uintptr_t); 67 67 extern sys_errno_t sys_physmem_unmap(uintptr_t); 68 68 69 extern sys_errno_t sys_dmamem_map(size_t, unsigned int, unsigned int, uspace_ addr_t,70 uspace_ addr_t, uintptr_t);69 extern sys_errno_t sys_dmamem_map(size_t, unsigned int, unsigned int, uspace_ptr_uintptr_t, 70 uspace_ptr_uintptr_t, uintptr_t); 71 71 extern sys_errno_t sys_dmamem_unmap(uintptr_t, size_t, unsigned int); 72 72 -
kernel/generic/src/ddi/ddi.c
rd7dfa05 r5acf533 248 248 */ 249 249 sys_errno_t sys_physmem_map(uintptr_t phys, size_t pages, unsigned int flags, 250 uspace_ addr_t virt_ptr, uintptr_t bound)250 uspace_ptr_uintptr_t virt_ptr, uintptr_t bound) 251 251 { 252 252 uintptr_t virt; … … 465 465 466 466 sys_errno_t sys_dmamem_map(size_t size, unsigned int map_flags, unsigned int flags, 467 uspace_ addr_t phys_ptr, uspace_addr_t virt_ptr, uintptr_t bound)467 uspace_ptr_uintptr_t phys_ptr, uspace_ptr_uintptr_t virt_ptr, uintptr_t bound) 468 468 { 469 469 if ((flags & DMAMEM_FLAGS_ANONYMOUS) == 0) {
Note:
See TracChangeset
for help on using the changeset viewer.