Simon Gerber [Fri, 6 Feb 2015 16:36:26 +0000]
posixcompat: properly handle PTHREAD_MUTEX_RECURSIVE and BF thread id assignment.
Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>
Simon Gerber [Fri, 6 Feb 2015 10:11:00 +0000]
posixcompat: fixed pthread_mutex_lock to work with nested calls.
Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>
Simon Gerber [Thu, 19 Feb 2015 16:58:12 +0000]
libterm: blocking client: tell user how much we've written
This fixes the fish issue mentioned in T63, but not the AIM issue.
Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>
Gerd Zellweger [Wed, 18 Feb 2015 12:30:56 +0000]
Fix compilation of e10k.
Simon Gerber [Tue, 17 Feb 2015 16:16:28 +0000]
spawnd: reorganized code to eliminate duplicate get_core_id() call.
Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>
Simon Gerber [Tue, 17 Feb 2015 15:55:48 +0000]
harness: Added extra PASS/FAIL output line in non-debug mode.
Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>
Simon Gerber [Tue, 17 Feb 2015 15:55:15 +0000]
spawnd: clarify "up" message with core id.
Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>
Simon Gerber [Tue, 17 Feb 2015 15:54:46 +0000]
monitor: change debug_printf in delete_steps_init() to DEBUG_CAPOPS.
Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>
Simon Gerber [Tue, 3 Feb 2015 16:17:19 +0000]
posixcompat: added stubs for fchown,fchmod,mmap,munmap.
Also fixed stat() to be able to get function pointer to it.
Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>
Simon Gerber [Tue, 3 Feb 2015 16:15:51 +0000]
x86_64: added more descriptive error message in generic_handle_user_exception.
Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>
Simon Gerber [Mon, 2 Feb 2015 14:40:10 +0000]
Added C++ test that includes barrelfish/barrelfish.h
This gives us minimum coverage of the public header files compiling
against C++.
Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>
Simon Gerber [Mon, 2 Feb 2015 14:35:17 +0000]
Rename struct slab_alloc to struct slab_allocator.
We have a function with the following signature:
void *slab_alloc(struct slab_alloc *);
which produces the following error message with g++:
error: ‘void* slab_alloc(slab_alloc*)’ hides constructor for ‘struct
slab_alloc’ [-Werror=shadow]
The two easy ways out are 1) renaming the function or 2) renaming the struct.
For clarity (and consistency with malloc and co) I've chosen to rename the
struct to "struct slab_allocator".
Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>
Simon Gerber [Mon, 2 Feb 2015 14:34:09 +0000]
Make include/barrelfish/ump_impl.h compile for C++.
Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>
Simon Gerber [Thu, 29 Jan 2015 10:42:19 +0000]
Removed submodules.
Simon Gerber [Wed, 28 Jan 2015 16:12:01 +0000]
copy-on-write example: added actual copying of frame contents + improved output.
Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>
Simon Gerber [Tue, 13 Jan 2015 12:03:35 +0000]
gem5: fixed booting non-bsp cores.
Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>
Kornilios Kourtis [Tue, 13 Jan 2015 08:49:45 +0000]
added a description of the sign-off procedure
Reto Achermann [Tue, 13 Jan 2015 08:26:52 +0000]
Merge branch 'master' of ssh://code.systems.ethz.ch:8006/diffusion/BFI/barrelfish
Zaheer Chothia [Mon, 12 Jan 2015 18:16:02 +0000]
Document version, usage and modifications for external libraries
Note to others: please help adding and maintaining these notes. These
are tremendously helpful when comparing against and merging in changes
from new releases. As a user it also helps to be aware of Barrelfish-
specific quirks.
Simon Gerber [Mon, 12 Jan 2015 16:27:04 +0000]
Added copy-on-write example program.
Simon Gerber [Mon, 12 Jan 2015 16:16:12 +0000]
libbarrelfish: memobj: add optional frame offset to anonymous memobjs.
Simon Gerber [Mon, 12 Jan 2015 16:15:36 +0000]
x86_64: dynamically compute where kernel VA starts when dumping ptables.
Simon Gerber [Mon, 12 Jan 2015 16:14:56 +0000]
cap_delete_last: Handle LMP buffer overflow more gracefully.
Reto Achermann [Mon, 12 Jan 2015 16:07:46 +0000]
Merge branch 'master' of ssh://code.systems.ethz.ch:8006/diffusion/BFI/barrelfish
Reto Achermann [Mon, 29 Dec 2014 09:03:24 +0000]
libbarrelfish: cleanup of code for Xeon Phi
removed duplicated code in source files for the K1OM architecture
and merged it with the x86_64 code.
Conflicts:
lib/barrelfish/target/k1om/pmap_target.c
Reto Achermann [Tue, 6 Jan 2015 13:37:54 +0000]
disablibg debug for NUMA
Reto Achermann [Sun, 4 Jan 2015 15:30:41 +0000]
adding nospawn flag to the lua settigns file
Reto Achermann [Sun, 4 Jan 2015 14:15:11 +0000]
bugfix in the mapping of the numa memobj
Reto Achermann [Fri, 2 Jan 2015 16:29:26 +0000]
libdma: adding memset support
extending the DMA library to support memset transfers for the
Intel IOAT DMA device.
Reto Achermann [Tue, 30 Dec 2014 12:06:07 +0000]
libdma: bugfixes to avoid NULL pointer dereferencing.
Reto Achermann [Mon, 29 Dec 2014 09:25:17 +0000]
BOMP: bugfix to match the new lock types
Reto Achermann [Mon, 12 Jan 2015 15:28:22 +0000]
Merge commit '68aa7c3'
Conflicts:
hake/RuleDefs.hs
Moritz Hoffmann [Mon, 12 Jan 2015 10:36:34 +0000]
fix syntax error in graphviz files. seems like more recent versions are more picky than before
Moritz Hoffmann [Mon, 12 Jan 2015 10:36:34 +0000]
fix syntax error in graphviz files. seems like more recent versions are more picky than before
Reto Achermann [Mon, 29 Dec 2014 08:39:37 +0000]
adding errstring to printf when ldt init fails.
Reto Achermann [Mon, 29 Dec 2014 08:24:28 +0000]
libskb: adding a check to avoid re-initialization of skb binding
Reto Achermann [Mon, 29 Dec 2014 09:05:09 +0000]
libbomp2: initial commit of the new OMP library
replaced thread_creates() with message only work distribution
use of NUMA functions to determine system architecture.
Reto Achermann [Mon, 29 Dec 2014 08:22:57 +0000]
libnuma: adding new error numbers
Reto Achermann [Wed, 24 Dec 2014 11:53:34 +0000]
libnuma: implementing bitmap functions
Implemented libnuma's numa_bitmask functions using the functionality
supplied by libbitmap.
renamed bitmap.c into numa_bitmap.c as this caused linking problems.
Reto Achermann [Wed, 24 Dec 2014 11:50:57 +0000]
libbitmap: adding a generic bitmap library
Reto Achermann [Fri, 19 Dec 2014 14:57:50 +0000]
Bugfix in hake: dealing with flags for C/C++ compilers
Reto Achermann [Thu, 18 Dec 2014 15:52:50 +0000]
adding handling of core number to greenmarl test
Reto Achermann [Thu, 18 Dec 2014 10:52:25 +0000]
writing explicit targets for greenmarl files
Reto Achermann [Thu, 18 Dec 2014 10:52:01 +0000]
removing resource join calls in bomb init
Gerd Zellweger [Thu, 11 Dec 2014 21:22:16 +0000]
[clang] Fixes for the clang compiler.
Reto Achermann [Wed, 17 Dec 2014 12:58:25 +0000]
adding lua settings file to menu.lst of test
Reto Achermann [Wed, 17 Dec 2014 12:56:45 +0000]
fixed missing include in libnuma/alloc.c
Zaheer Chothia [Mon, 15 Dec 2014 22:35:06 +0000]
posixcompat: fixed pthread_key destructor calls
The deletion path was previously missing completely and POSIX requires the
implementation to set the key pointer to NULL before calling the destructor
function.
What is still missing is the repeated destructor calls if values become
non-NULL (i.e. PTHREAD_DESTRUCTOR_ITERATIONS). Further, this module is missing
a number of corner cases and NULL checks. It may be better to just import the
corresponding code from elsewhere:
http://git.musl-libc.org/cgit/musl/tree/src/thread/pthread_key_create.c
https://github.com/freebsd/freebsd/blob/master/lib/libthr/thread/thr_spec.c
Test Plan:
Rust uses these in the test suite to collect output (by overriding
stdout/stderr). That would segfault but now runs through fine.
Differential Revision: https://code.systems.ethz.ch/D10
Zaheer Chothia [Mon, 15 Dec 2014 22:33:59 +0000]
posixcompat: fix NULL pointer dereference in pthread_join
Zaheer Chothia [Sun, 14 Dec 2014 19:53:36 +0000]
event queue: document unsafety for cross-core messaging.
Test Plan: N/A
Differential Revision: https://code.systems.ethz.ch/D7
Zaheer Chothia [Sun, 14 Dec 2014 19:50:38 +0000]
event queue: fix typo and potential race condition.
Boolean condition was negated so event runner did not re-register to the
underlying channel. This meant that in continuous mode only the first node
would be delivered and the remainder would wait indefinitely.
Also fixes a potential race condition between event_queue_trigger and
event_queue_cancel on the 'run' field.
(Note: in the interim this was already fixed in
81e3710f9f55 so this is only a
partial patch.)
Zaheer Chothia [Sun, 14 Dec 2014 16:02:46 +0000]
Remove <nodeputy.h> from default flags
Summary:
Deputy annotations [1] can be used to label safety properties. They are
used extensively in the kernel, but in user-space there is only one use.
The macros have short names (like 'COUNT', 'SAFE') which can conflict
when building other applications. Furthermore, these are not being
checked and are just stripped during the build.
Note: the change to <kernel.h> is needed because it is included from a
generated file:
build-x86_64/capabilities/cap_predicates.c
[1] http://ivy.cs.berkeley.edu/ivywiki/uploads/deputy-manual.html
Test Plan: `make clean && make` was successful
Differential Revision: https://code.systems.ethz.ch/D6
Reto Achermann [Tue, 16 Dec 2014 12:34:48 +0000]
libnuma: changes in type defs and macros
* moved definition of nodeid_t into types.h
* changed printf specifies to use PRIuNODEID
* changes in debug macros to take arguments
* additional sanity checks for core/node ids
Reto Achermann [Tue, 16 Dec 2014 10:21:25 +0000]
updated harness to use the new done string
Reto Achermann [Tue, 16 Dec 2014 10:20:41 +0000]
changes in format of numa debug statements
Reto Achermann [Tue, 16 Dec 2014 10:19:57 +0000]
libnuma: adding check macros
Reto Achermann [Tue, 16 Dec 2014 09:24:52 +0000]
libnuma: removed unnecessary printfs when getting skb information.
Reto Achermann [Tue, 16 Dec 2014 09:09:40 +0000]
fixed interface change in numatest
Reto Achermann [Tue, 16 Dec 2014 09:07:21 +0000]
SKB queries to get topology information if affinities are present
Reto Achermann [Tue, 16 Dec 2014 09:06:24 +0000]
acpi: bugfix telling SKB the number is in hex
Reto Achermann [Tue, 16 Dec 2014 09:04:28 +0000]
libnuma: setting the numa topology structure and the functionality to dump the topology
Moritz Hoffmann [Mon, 15 Dec 2014 15:59:49 +0000]
Change USB code to use barrelfish_usleep provided by lib_usb_wait instead of USB_WAIT macro
Reto Achermann [Sun, 14 Dec 2014 20:42:01 +0000]
SKB: Adding of new queries for obtaining NUMA info
The SKB was extended with a new function to obtain information
about the system (topology) of NUMA nodes, cores and memory
used by libnuma.
The functions are not fully implemented at this stage.
Reto Achermann [Sun, 14 Dec 2014 10:26:47 +0000]
Merge remote-tracking branch 'origin/master' into shoal
Adding of missing architecture specific functions for the K1OM.
Conflicts:
kernel/arch/x86_64/syscall.c
usr/drivers/cpuboot/x86boot.c
usr/fish/fish_arm.c
usr/fish/fish_common.c
Reto Achermann [Sat, 13 Dec 2014 16:26:28 +0000]
libnuma: testdomain and partial implementation
initial commit of lib/numa with function stubs for the interface functions
adding implementations of some interface functions of libnuma
adding of tests/numatest domain to check libnuma
Reto Achermann [Sat, 13 Dec 2014 08:23:33 +0000]
symbolic target: bugfix for GM targets with multiple architectures
Reto Achermann [Fri, 12 Dec 2014 15:05:16 +0000]
adding babybel to the special PCI cases.
Reto Achermann [Fri, 12 Dec 2014 12:20:45 +0000]
libposix compat: fixed missing flounder Defs
Reto Achermann [Fri, 12 Dec 2014 10:31:15 +0000]
libnuma: adding interface specification numa.h
adding the a ported version of libnuma's header to the include directory
Specified NUMA_ERR related error codes in errno.fugu
Reto Achermann [Thu, 11 Dec 2014 14:31:31 +0000]
green-marl: fixed test script of scale bench
Reto Achermann [Thu, 11 Dec 2014 13:23:50 +0000]
harness: adding tests for greenmarl
Reto Achermann [Thu, 11 Dec 2014 13:23:19 +0000]
adding paralellism support for GM compiler
Stefan Kaestle [Wed, 10 Dec 2014 15:59:23 +0000]
Fixed shoal and Green Marl path in symbolic_targets
Reto Achermann [Wed, 10 Dec 2014 15:22:02 +0000]
updated submodule revisions
Reto Achermann [Wed, 10 Dec 2014 15:21:35 +0000]
bugfix in symbolic_targets for submodules
Reto Achermann [Wed, 10 Dec 2014 14:03:47 +0000]
bugfix: unused variable warning when disabling checking frame size
Reto Achermann [Wed, 10 Dec 2014 14:01:58 +0000]
removing printf in libbomp
Reto Achermann [Wed, 10 Dec 2014 14:00:26 +0000]
libbarrelfish: adding new memobj type
new memobj type for memory distribution among NUMA nodes.
Gerd Zellweger [Wed, 10 Dec 2014 09:22:30 +0000]
Defaults to gitignore.
Gerd Zellweger [Mon, 8 Dec 2014 21:19:37 +0000]
ARMv5: Make sure menu.lst.modules is always in base of CPIO archive.
Gerd Zellweger [Mon, 8 Dec 2014 17:11:10 +0000]
Fix the USB code that was destroying my shell.
Writing random ASCII character in general is not a good idea.
Now I write a space/backspace combination which at least does
not set my shell to 'garbage output mode'.
The whole thing is suboptimal as we don't want USB set-up code
in the kernel and we don't want to do waiting using printf.
We should really re-write those wait functions to use deferred events...
Gerd Zellweger [Sun, 7 Dec 2014 19:37:06 +0000]
Move code out of header file.
Gerd Zellweger [Sun, 7 Dec 2014 19:29:15 +0000]
Remove unneeded file (armv5 syscall uses arm/syscall.c)
Gerd Zellweger [Sun, 7 Dec 2014 19:28:55 +0000]
Remove unused variable warning on armv5.
Gerd Zellweger [Sun, 7 Dec 2014 19:17:00 +0000]
Kaluga added stubs for gem5.
Gerd Zellweger [Sun, 7 Dec 2014 16:57:34 +0000]
Update gitignore.
Gerd Zellweger [Sun, 7 Dec 2014 14:22:02 +0000]
Added binary perfix for corectrl.
Gerd Zellweger [Sun, 7 Dec 2014 12:02:17 +0000]
Make sure test programs compile again.
Gerd Zellweger [Sat, 6 Dec 2014 22:29:14 +0000]
Make sure test programs compile again.
Gerd Zellweger [Sat, 6 Dec 2014 18:14:47 +0000]
Remove unused code.
Gerd Zellweger [Sat, 6 Dec 2014 13:50:01 +0000]
Include Haskell object files in gitignore.
Gerd Zellweger [Sat, 6 Dec 2014 13:40:46 +0000]
Remove unnecessary argument in build_multiboot.c.
Gerd Zellweger [Sat, 6 Dec 2014 12:02:33 +0000]
Add BF_BINARY_PREFIX define to configure binary path by build system.
Gerd Zellweger [Sat, 6 Dec 2014 13:23:28 +0000]
Fix syntax error in Hakefile.
Gerd Zellweger [Thu, 10 Apr 2014 07:18:40 +0000]
Compile bfscope for armv5 and exvlude bench for armv5.
Gerd Zellweger [Sat, 6 Dec 2014 11:53:37 +0000]
RCCE make sure it compiles again.
Gerd Zellweger [Sat, 6 Dec 2014 11:52:02 +0000]
Make sure replay/slave.c compiles again.
Gerd Zellweger [Fri, 11 Apr 2014 22:02:47 +0000]
Some armv5 related fixes.
Make sure we don't compile pandaboard usb code in gem5.
Gerd Zellweger [Thu, 10 Apr 2014 07:17:39 +0000]
Remove unused armv5 files that do not compile.
Gerd Zellweger [Tue, 25 Feb 2014 22:03:38 +0000]
Remove dvipd from hyperref.