]> xenbits.xensource.com Git - unikraft/unikraft.git/commit
lib/ukalloc: Use Unikraft internal types
authorSimon Kuenzer <simon.kuenzer@neclab.eu>
Tue, 17 Nov 2020 16:27:19 +0000 (17:27 +0100)
committerUnikraft <monkey@unikraft.io>
Tue, 22 Jun 2021 13:14:08 +0000 (13:14 +0000)
commited1ef9aef8fcca237335f3a05ab28e403afe7550
tree744d4879f4e3d4a829094f57a4378cac7b4b6230
parent47b8337a3c56f187febf267330efe02d8749bc3e
lib/ukalloc: Use Unikraft internal types

Use Unikraft-internal types for the API headers in order to have minimal
dependency to libc definitions. This is done so that libcs can integrate
`<uk/alloc.h> directly with their header files without breaking the
declaration set of libc headers.
This is done towards receiving per-library statistics
(see the following commit).

Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Reviewed-by: Cezar Craciunoiu <cezar.craciunoiu@gmail.com>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Pull-Request: #229
lib/ukalloc/alloc.c
lib/ukalloc/include/uk/alloc.h
lib/ukalloc/include/uk/alloc_impl.h
lib/ukalloc/libstats.c
lib/ukallocregion/region.c
plat/common/include/pci/pci_bus.h
plat/common/memory.c
plat/xen/gnttab.c
plat/xen/memory.c
plat/xen/x86/gnttab.c