Commit Graph

19 Commits

Author SHA1 Message Date
ffefbd9283 added remove_memory_region() as complement of add_memory_region() 2019-09-11 15:32:54 -04:00
784544ae2b derive some traits to be able to compare addresses 2019-09-11 15:28:37 -04:00
9b2e7b8837 Wrap create_memfd() system call and manage memfd file descriptors 2019-09-11 11:36:07 -04:00
f47eff5ef8 A wrapper for raw file descriptors 2019-09-11 11:31:17 -04:00
7dd2fed779 implement AsRawFd for EventFd and IoEventFd 2019-09-11 11:30:44 -04:00
1d7857199d Wraps epoll system calls 2019-09-11 11:29:47 -04:00
26a34c3eae A class which manages virtio device config area 2019-09-11 11:29:24 -04:00
b39bb0e937 If PG and LME are set, then LMA must also be set 2019-09-11 11:28:32 -04:00
3679bfd03a bit vector implementation 2019-09-11 11:23:54 -04:00
245b48cf1e Support ancillary data such as SCM_RIGHTS for unix domain sockets.
Needed to allow transfer of file descriptors across sockets.
2019-09-11 11:16:41 -04:00
5d19d1e2f3 Tracks allocations of ranges of memory. 2019-09-11 11:12:16 -04:00
d3e2076ea5 An error class which wraps errno results 2019-09-11 11:10:27 -04:00
1cef90bfff A simple logger 2019-09-11 11:09:54 -04:00
74317be64b Update to modern Rust syntax 2019-08-29 19:43:26 -04:00
7fa1bdadb9 Can't forget this... 2017-10-18 21:23:29 +00:00
02a17b5d5e Removed unused import 2017-10-18 21:23:17 +00:00
5a3bf75c36 Updated to search for kernel and init in the right place(s) 2017-10-18 21:08:33 +00:00
17be46827d git ignore files 2017-10-18 21:07:21 +00:00
eb6a99eb90 A better layout with both binaries in a single crate 2017-10-18 20:32:04 +00:00