| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a 'GenodeEnv' type and a 'componentConstructHook' to the system
module. The 'componentConstructHook' allows for detection of POSIX style
programs that exit implicitly or native Genode components that
initialize to serve RPC requests and OS signals.
This hook takes a 'GenodeEnv' argument so that the environment interface
is passed cleanly to application code after globals are initialized.
This is an typed pointer to a C++ object, procedures for accessing the
environment will be available from a Nimble library and not included in
the standard library.
The standard library has an internal pointer to the environment object
but this is not for external use, the undocumented global environment
pointer has been removed.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Genode software components all start with an explicit RAM resource quota
which may or may not be upgraded during runtime by the parent process.
With this patch `osTryAllocPages` will fail if allocation exceeds quotas
set by the parent and the `osAllocPages` procedure will trigger a
blocking request to the parent to increase quotas. The previous behavior
could potentially block both procedures indefinitely for a quota upgrade
rather than fail and trigger garbage collection.
This patch also adds tracking of Genode dataspace mappings into the
component address space so they can be detached and freed.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Change caused MAP_ANONYMOUS to have an incorrect value when compiling
for mipsel.
Fixes #4852.
|
| |
|
|
|
|
| |
Shorthand so that users won't need to use the .magic pragma
|
|
|
|
|
|
|
| |
This allows the end user to use the {.magic: "IntDefine"/"StrDefine"}
pragmas to pass values into code at compile time. This has a nice side
effect of also allowing/requiring a default value to be assigned in the
code (see osalloc.nim/StandaloneHeapSize for an example)
|
| |
|
|
|
|
|
| |
to be completed - better would be to have a libc wrapper that deals with
all pesky C ABI details
|
| |
|
| |
|
|
|