diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2016-12-04 13:20:31 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2016-12-04 13:20:31 +0100 |
commit | 79677204760502b2fdd0e06958a999b1fad0f940 (patch) | |
tree | b5c3eff1f13a9655ea13e9faba0c387a562fb278 /microkernel/mach | |
parent | aef463c050add77d72259c5c9b630adbfb0409bb (diff) | |
parent | 45e529318e9963a4df0a900bd7b5bd29a6412183 (diff) |
Merge commit '45e529318e9963a4df0a900bd7b5bd29a6412183'
Diffstat (limited to 'microkernel/mach')
-rw-r--r-- | microkernel/mach/gnumach/debugging.mdwn | 4 | ||||
-rw-r--r-- | microkernel/mach/gnumach/projects/mach_5.mdwn | 26 |
2 files changed, 27 insertions, 3 deletions
diff --git a/microkernel/mach/gnumach/debugging.mdwn b/microkernel/mach/gnumach/debugging.mdwn index 164c4349..9534c758 100644 --- a/microkernel/mach/gnumach/debugging.mdwn +++ b/microkernel/mach/gnumach/debugging.mdwn @@ -53,9 +53,7 @@ To examine the backtrace of some given thread, use show all thread/u -to get the whole listing of all tasks and threads. You can then use trace/t or trace/tu to trace a specific thread. - -Unfortunately, userland and kernelland use the same range of addresses, so one can not get userland traces easily. The Xen port uses different ranges, and in that case one can use trace/u to also get the userland trace. +to get the whole listing of all tasks and threads. You can then use trace/t or trace/tu to trace a specific thread. gcc however uses the frame pointer as a normal register unless `-fno-omit-frame-pointer` is given. It can thus be useful to rebuild glibc with that option, by adding `extra_cflags = -fno-omit-frame-pointer` in `glibc/debian/sysdeps/hurd-i386.mk` To examine a variable, use nm /boot/gnumach to get the address of the variable (e.g. 0x123400), and use diff --git a/microkernel/mach/gnumach/projects/mach_5.mdwn b/microkernel/mach/gnumach/projects/mach_5.mdwn index a4236ea5..7b59170b 100644 --- a/microkernel/mach/gnumach/projects/mach_5.mdwn +++ b/microkernel/mach/gnumach/projects/mach_5.mdwn @@ -19,6 +19,8 @@ it, we could straighten out some of these problems. This page is a place to keep track of such changes. +[[!toc startlevel=2 levels=1]] + ## Protected payloads Protected payloads are a way of optimizing the receiver object lookup @@ -134,4 +136,28 @@ A prototype exists. ### Discussions * <https://lists.gnu.org/archive/html/bug-hurd/2015-05/msg00000.html> +* <https://lists.gnu.org/archive/html/bug-hurd/2016-09/msg00056.html> + +## Interface for userspace drivers + +We need to provide an interface suitable for implementing drivers in +userspace: + +* A way to handle interrupts +* and a way to allocate memory suitable for DMA buffers + +### Required ABI changes + +None. This is a new interface. Debian/Hurd uses a non-standard rpc +id, so we do not change an existing procedure there. + +### Status + +A DDE-based solution is used in Debian/Hurd to provide network +drivers. A rump kernel prototype is implemented. These use a kernel +interface written by Zheng Da available in the +"master-user_level_drivers" branch in the GNU Mach repository. + +### Discussions +* <https://lists.gnu.org/archive/html/bug-hurd/2016-02/msg00126.html> |