Declare all functions `extern inline' instead of `static inline'.
This allows us to use them in functions declared as `extern inline'.
* libshouldbeinlibc/refcount.h: Move here, and declare all functions
`extern inline'.
* libshouldbeinlibc/refcount.c: And define the functions here.
*
Justus Winter, le Mon 01 Dec 2014 16:00:25 +0100, a écrit :
Declare all functions `extern inline' instead of `static inline'.
This allows us to use them in functions declared as `extern inline'.
* libshouldbeinlibc/refcount.h: Move here, and declare all functions
`extern inline'.
*
Make all five non-conditional counters conditional ones. Casual
checking revealed that the hits-to-miss ratio is excellent.
* kern/counters.c: Make all counters conditional.
* kern/counters.h: Likewise.
* kern/ipc_sched.c: Likewise.
* kern/sched_prim.c: Likewise.
---
kern/counters.c | 3 +--
Justus Winter, le Mon 01 Dec 2014 18:51:53 +0100, a écrit :
Make all five non-conditional counters conditional ones. Casual
checking revealed that the hits-to-miss ratio is excellent.
Ack.
* kern/counters.c: Make all counters conditional.
* kern/counters.h: Likewise.
* kern/ipc_sched.c:
Annotate generated type checks with static branch prediction
optimizing well-formed messages.
* utils.c (WriteBogusDefines): Define `mig_unlikely' if not defined.
* server.c: Use `mig_unlikely' in generated type checks.
* user.c: Likewise.
---
server.c | 21 -
user.c | 27
Justus Winter, le Mon 01 Dec 2014 19:06:10 +0100, a écrit :
Annotate generated type checks with static branch prediction
optimizing well-formed messages.
Ack.
* utils.c (WriteBogusDefines): Define `mig_unlikely' if not defined.
* server.c: Use `mig_unlikely' in generated type checks.
*
Hi,
I installed everything on a host machine (same architecture as my
target box, just more ram and more Mhz). I end up with something bootable!
However if I put the disk in my original box, it just keeps rebooting, I
don't even get the grub screen. Thus I suppose it is grub that forces
this
Justus Winter, le Thu 27 Nov 2014 14:18:44 +0100, a écrit :
These two functions map payloads to objects and port names. The former
can be used like `ports_lookup_port' to look up objects, the latter to
map payloads to port names if the server function expects a
`mach_port_t'.
*
Justus Winter, le Thu 27 Nov 2014 14:18:45 +0100, a écrit :
* libports/mig-decls.h (begin_using_port_info_payload): New function.
* libports/mig-mutate.h: Add mutator.
Ack.
---
libports/mig-decls.h | 6 ++
libports/mig-mutate.h | 4
2 files changed, 10 insertions(+)
diff
Justus Winter, le Thu 27 Nov 2014 14:18:46 +0100, a écrit :
* libdiskfs/diskfs.h (diskfs_begin_using_protid_payload): New function.
(diskfs_begin_using_control_payload): Likewise.
(diskfs_begin_using_bootinfo_payload): Likewise.
* libdiskfs/fsmutations.h: Add mutators.
Ack.
---
Justus Winter, le Thu 27 Nov 2014 14:18:47 +0100, a écrit :
* libnetfs/priv.h (begin_using_protid_payload): New function.
* libnetfs/mutations.h: Add mutator.
Ack.
---
libnetfs/mutations.h | 3 +++
libnetfs/priv.h | 6 ++
2 files changed, 9 insertions(+)
diff --git
Justus Winter, le Thu 27 Nov 2014 14:18:48 +0100, a écrit :
* libtrivfs/mig-decls.h (trivfs_begin_using_protid_payload): New function.
(trivfs_begin_using_control_payload): Likewise.
* libtrivfs/mig-mutate.h: Add mutators.
Ack.
---
libtrivfs/mig-decls.h | 58
Justus Winter, le Thu 27 Nov 2014 14:18:49 +0100, a écrit :
* libpager/mig-decls.h (begin_using_pager_payload): New function.
* libpager/mig-mutate.h: Add mutators.
Ack.
---
libpager/mig-decls.h | 6 ++
libpager/mig-mutate.h | 3 +++
2 files changed, 9 insertions(+)
diff --git
Justus Winter, le Thu 27 Nov 2014 14:18:50 +0100, a écrit :
* libcons/mutations.h: Add mutator.
* libcons/priv.h (begin_using_notify_payload): New function.
Ack.
---
libcons/mutations.h | 1 +
libcons/priv.h | 6 ++
2 files changed, 7 insertions(+)
diff --git
Justus Winter, le Thu 27 Nov 2014 14:18:51 +0100, a écrit :
* auth/mig-mutate.h: Add mutator.
* auth/mig-decls.h (auth_payload_to_handle): New function.
Ack.
---
auth/mig-decls.h | 6 ++
auth/mig-mutate.h | 1 +
2 files changed, 7 insertions(+)
diff --git a/auth/mig-decls.h
Justus Winter, le Thu 27 Nov 2014 14:18:52 +0100, a écrit :
* console/priv.h (begin_using_protid_payload): New function.
* console/mutations.h: Add mutators.
Ack.
---
console/mutations.h | 3 +++
libnetfs/priv.h | 6 ++
2 files changed, 9 insertions(+)
diff --git
Justus Winter, le Thu 27 Nov 2014 14:18:55 +0100, a écrit :
* pfinet/mig-mutate.h: Add mutators.
* pfinet/mig-decls.h (begin_using_socket_payload): New function.
(begin_using_sockaddr_payload): Likewise.
Ack.
---
pfinet/mig-decls.h | 12
pfinet/mig-mutate.h | 4
2
Justus Winter, le Thu 27 Nov 2014 14:18:54 +0100, a écrit :
* exec/execmutations.h: Add mutators.
* exec/mig-decls.h (begin_using_bootinfo_payload): New function.
Ack.
---
exec/execmutations.h | 3 +++
exec/mig-decls.h | 6 ++
2 files changed, 9 insertions(+)
diff --git
Justus Winter, le Thu 27 Nov 2014 14:18:53 +0100, a écrit :
* console-client/trans.c (console_demuxer): make the demuxer payload-aware.
Ack.
---
console-client/trans.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/console-client/trans.c
Justus Winter, le Thu 27 Nov 2014 14:18:56 +0100, a écrit :
* pfinet/ethernet.c (ethernet_demuxer): Make the demuxer payload-aware.
* pfinet/main.c (pfinet_demuxer): Likewise.
Ack.
---
pfinet/ethernet.c | 20 +++-
pfinet/main.c | 12 ++--
2 files changed, 29
Justus Winter, le Thu 27 Nov 2014 14:18:57 +0100, a écrit :
* pflocal/mig-mutate.h: Add mutators.
* pflocal/mig-decls.c (begin_using_sock_user_payload): New function.
(begin_using_addr_payload): Likewise.
Ack.
---
pflocal/mig-decls.h | 12
pflocal/mig-mutate.h | 3 +++
2
Justus Winter, le Thu 27 Nov 2014 14:18:58 +0100, a écrit :
* proc/mig-decls.h (begin_using_proc_payload): New function.
(begin_using_exc_payload): Likewise.
* proc/mig-mutate.h: Add mutators.
* proc/proc_exc.defs (exception_t): Add payload-aware in-translator
function.
Ack.
---
Justus Winter, le Thu 27 Nov 2014 14:19:00 +0100, a écrit :
* term/mig-mutate.h: Add mutator.
Ack.
---
term/Makefile | 1 +
term/mig-decls.h | 6 ++
term/mig-mutate.h | 3 +++
3 files changed, 10 insertions(+)
diff --git a/term/Makefile b/term/Makefile
index 5006c0d..1419d2a
Justus Winter, le Thu 27 Nov 2014 14:19:03 +0100, a écrit :
* trans/Makefile (password-MIGSFLAGS): Add mutator.
Ack.
---
trans/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/trans/Makefile b/trans/Makefile
index eecaeeb..04fd276 100644
--- a/trans/Makefile
+++
Justus Winter, le Thu 27 Nov 2014 14:18:59 +0100, a écrit :
startup does not use libports. Therefor, it is not necessary to use the
default payload to port translation function.
* startup/Makefile (MIGSFLAGS): Disable the default payload to port
translation function.
Ack.
---
Justus Winter, le Thu 27 Nov 2014 14:19:02 +0100, a écrit :
* trans/Makefile (ifsock-MIGSFLAGS): Add mutator.
Ack.
---
trans/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/trans/Makefile b/trans/Makefile
index 71e6424..eecaeeb 100644
--- a/trans/Makefile
+++
Justus Winter, le Thu 27 Nov 2014 14:19:04 +0100, a écrit :
* trans/Makefile (device_reply-MIGSFLAGS): Define MACH_PAYLOAD_TO_PORT.
Ack.
---
trans/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/trans/Makefile b/trans/Makefile
index 04fd276..b6edb97 100644
---
Justus Winter, le Thu 27 Nov 2014 14:19:05 +0100, a écrit :
`fsysServer' is only used by the symlink translator which does not use
libports. Therefor, it is not necessary to use the default payload to
port translation function.
* trans/Makefile (fsys-MIGSFLAGS): Disable the default payload
Justus Winter, le Thu 27 Nov 2014 14:19:06 +0100, a écrit :
As the protected payloads were retrofitted into the Mach message
format, the local port type is lost.
* utils/rpctrace.c (is_notification): New function
(trace_and_forward): Recover the original local port type.
Ack.
---
Justus Winter, le Thu 27 Nov 2014 14:19:07 +0100, a écrit :
For each hurd type defined in hurd_types.h, add a intranpayload
function. If an X_INTRAN mutation is defined for a type, a
corresponding X_INTRAN_PAYLOAD has to be defined. If no X_INTRAN
mutation is defined, use
Justus Winter, le Thu 27 Nov 2014 14:19:08 +0100, a écrit :
+ /* We are the only one updating generation, so this is safe. */
+ old = generation;
+
+ /* Update generation. */
+ __atomic_store_n (generation, (old + 1) % 3, __ATOMIC_RELAXED);
+
+ /* This is the
Justus Winter, le Thu 27 Nov 2014 14:20:08 +0100, a écrit :
* devnode/mig-mutate.h: Add mutator.
* devnode/Makefile (device-MIGSFLAGS): Define MACH_PAYLOAD_TO_PORT.
Ack.
---
devnode/Makefile | 1 +
devnode/mig-mutate.h | 2 ++
2 files changed, 3 insertions(+)
diff --git
Justus Winter, le Thu 27 Nov 2014 14:20:09 +0100, a écrit :
* eth-filter/mig-mutate.h: Add mutators.
* eth-filter/mig-decls.h (begin_using_device_payload): New function.
Ack.
---
eth-filter/mig-decls.h | 6 ++
eth-filter/mig-mutate.h | 4
2 files changed, 10 insertions(+)
Justus Winter, le Thu 27 Nov 2014 14:20:11 +0100, a écrit :
* libmachdev/mig-mutate.h: Add mutators.
* libmachdev/mig-decls.h (begin_using_device_payload): New function.
* libmachdev/Makefile (device-MIGSFLAGS): Define MACH_PAYLOAD_TO_PORT.
Ack.
---
libmachdev/Makefile | 1 +
Justus Winter, le Thu 27 Nov 2014 14:20:10 +0100, a écrit :
* eth-multiplexer/mig-mutate.h: Add mutators.
* eth-multiplexer/mig-decls.h (begin_using_device_payload): New function.
* eth-multiplexer/Makefile (device-MIGSFLAGS): Define MACH_PAYLOAD_TO_PORT.
Ack.
---
eth-multiplexer/Makefile
35 matches
Mail list logo