Changeset 8df5f20 in mainline for kernel/generic/src/ddi/ddi.c
- Timestamp:
- 2019-02-11T14:56:26Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4805495
- Parents:
- 391996b
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-01 23:26:21)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-11 14:56:26)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ddi/ddi.c
r391996b r8df5f20 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.