Commit graph

13 commits

Author SHA1 Message Date
Emery Hemingway
22f714585b Native access to Genode environment
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.
2018-06-07 07:21:20 +02:00
Araq
928bdb45f0 fixes cpuinfo regression 2017-10-26 00:55:23 +02:00
Dmitry Atamanov
aa1b575133 [Windows] Use GetSystemInfo for obtaining processor count (#6082) 2017-10-25 16:19:40 +02:00
Parashurama
2c5053caef fix countProcessors error return value. (#5942) 2017-06-05 13:21:57 +02:00
Emery Hemingway
7e351fc7fa support for the Genode OS framework (#5560) 2017-03-31 23:13:06 +02:00
Adam Strzelecki
43bddf62dd lib: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:03:56 +02:00
Guillaume Gelin
3119fe087d Happy new year! 2015-01-06 15:26:33 +01:00
Araq
c7570dcd3e Merge branch 'devel' into bigbreak
Conflicts:
	compiler/ast.nim
	compiler/nimfix/prettybase.nim
	compiler/pragmas.nim
	compiler/sempass2.nim
	doc/manual.txt
	koch.nim
	lib/pure/concurrency/threadpool.nim
	web/news.txt
2014-10-13 08:26:24 +02:00
Araq
399c985b62 fixes recent regression 2014-10-11 21:44:35 +02:00
Araq
753d18d66c minor cleanup for cpuinfo 2014-10-11 13:16:51 +02:00
Luis Ricardo
54f6280d76 Update cpuinfo.nim
sys/types.h needed for macosx and freebsd
sys/param.h needed for openbsd and netbsd
2014-10-07 17:02:50 -04:00
Araq
d05df2173b Nimrod renamed to Nim 2014-08-28 09:50:51 +02:00
Araq
6195dbe491 initial non-compiling version of 'parallel' 2014-05-12 11:12:37 +02:00