mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-25 16:31:06 +00:00
d71f0a9606
This patch alleviates the need for a Native_capability::Dst at the API level. The former use case of this type as argument to Deprecated_env::reinit uses the opaque Native_capability::Raw type instead. The 'Raw' type contains the portion of the capability that is transferred as-is when delegating the capability (i.e., when installing the parent capability into a new component, or when installing a new parent capability into a new forked Noux process). This information can be retrieved via the new Native_capability::raw method. Furthermore, this patch moves the functions for retriving the parent capability to base/internal/parent_cap.h, which is meant to be implemented in platform-specific ways. It replaces the former set of startup/internal/_main_parent_cap.h headers. Issue #1993
30 lines
646 B
Diff
30 lines
646 B
Diff
+++ arch/l4/kernel/arch-arm/vmlinux.lds.S
|
|
@@ -108,6 +108,12 @@ SECTIONS
|
|
LONG(0xffffffff);
|
|
_parent_cap_local_name = .;
|
|
LONG(0xffffffff);
|
|
+ LONG(0xffffffff);
|
|
+ LONG(0xffffffff);
|
|
+ LONG(0xffffffff);
|
|
+ LONG(0xffffffff);
|
|
+ LONG(0xffffffff);
|
|
+ LONG(0xffffffff);
|
|
} : rw
|
|
|
|
. = ALIGN(4096);
|
|
+++ arch/l4/kernel/arch-x86/vmlinux.lds.S
|
|
@@ -101,6 +101,13 @@ SECTIONS
|
|
LONG(0xffffffff);
|
|
_parent_cap_local_name = .;
|
|
LONG(0xffffffff);
|
|
+ LONG(0xffffffff);
|
|
+ LONG(0xffffffff);
|
|
+ LONG(0xffffffff);
|
|
+ LONG(0xffffffff);
|
|
+ LONG(0xffffffff);
|
|
+ LONG(0xffffffff);
|
|
+ LONG(0xffffffff);
|
|
|
|
/*
|
|
* Platform-specific entry for Fiasco.OC.
|