Changeset d5a89a3 in mainline for kernel/generic/src/ddi/ddi.c
- Timestamp:
- 2019-02-11T22:31:04Z (6 years ago)
- Children:
- aaf9789c
- Parents:
- e3272101 (diff), 4805495 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ddi/ddi.c
re3272101 rd5a89a3 121 121 * 122 122 */ 123 NO_TRACE static errno_t physmem_map(uintptr_t phys, size_t pages,123 _NO_TRACE static errno_t physmem_map(uintptr_t phys, size_t pages, 124 124 unsigned int flags, uintptr_t *virt, uintptr_t bound) 125 125 { … … 227 227 } 228 228 229 NO_TRACE static errno_t physmem_unmap(uintptr_t virt)229 _NO_TRACE static errno_t physmem_unmap(uintptr_t virt) 230 230 { 231 231 assert(TASK); … … 312 312 * 313 313 */ 314 NO_TRACE static errno_t iospace_enable(task_id_t id, uintptr_t ioaddr, size_t size)314 _NO_TRACE static errno_t iospace_enable(task_id_t id, uintptr_t ioaddr, size_t size) 315 315 { 316 316 /* … … 353 353 * 354 354 */ 355 NO_TRACE static errno_t iospace_disable(task_id_t id, uintptr_t ioaddr, size_t size)355 _NO_TRACE static errno_t iospace_disable(task_id_t id, uintptr_t ioaddr, size_t size) 356 356 { 357 357 /* … … 413 413 } 414 414 415 NO_TRACE static errno_t dmamem_map(uintptr_t virt, size_t size, unsigned int map_flags,415 _NO_TRACE static errno_t dmamem_map(uintptr_t virt, size_t size, unsigned int map_flags, 416 416 unsigned int flags, uintptr_t *phys) 417 417 { … … 422 422 } 423 423 424 NO_TRACE static errno_t dmamem_map_anonymous(size_t size, uintptr_t constraint,424 _NO_TRACE static errno_t dmamem_map_anonymous(size_t size, uintptr_t constraint, 425 425 unsigned int map_flags, unsigned int flags, uintptr_t *phys, 426 426 uintptr_t *virt, uintptr_t bound) … … 451 451 } 452 452 453 NO_TRACE static errno_t dmamem_unmap(uintptr_t virt, size_t size)453 _NO_TRACE static errno_t dmamem_unmap(uintptr_t virt, size_t size) 454 454 { 455 455 // TODO: implement unlocking & unmap … … 457 457 } 458 458 459 NO_TRACE static errno_t dmamem_unmap_anonymous(uintptr_t virt)459 _NO_TRACE static errno_t dmamem_unmap_anonymous(uintptr_t virt) 460 460 { 461 461 return as_area_destroy(TASK->as, virt);
Note:
See TracChangeset
for help on using the changeset viewer.