[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT PATCH v3 0/2] lib/ukmmap: Remove mmap from newlib glue code and create a new internal library (libukmmap) for mmap



Introducing a new internal library which implements mmap related
operations. For the time being mmap is not fully implemented. It is just
a trick that works for Go, but it needs to be revisited in the future.
This implementation does not create any new mapping, it just allocates
memory and keeps track of any memory that has already been allocated
in a previous call. If the parameters do not match the ones that Go
uses then 0 is returned (unimplemented).

Differences with v2:
- The v2 of the series did not apply cleanly on the staging branch

Differences with v1:
- Add PATCH in subject line

Charalampos Mainas (2):
  Introduce mmap and related functions library skeleton
  mmap trick for Go

 lib/Makefile.uk          |   1 +
 lib/ukmmap/Config.uk     |   5 ++
 lib/ukmmap/Makefile.uk   |   3 +
 lib/ukmmap/exportsyms.uk |   2 +
 lib/ukmmap/mmap.c        | 166 +++++++++++++++++++++++++++++++++++++++
 5 files changed, 177 insertions(+)
 create mode 100644 lib/ukmmap/Config.uk
 create mode 100644 lib/ukmmap/Makefile.uk
 create mode 100644 lib/ukmmap/exportsyms.uk
 create mode 100644 lib/ukmmap/mmap.c

-- 
2.17.1


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.