Kornilios Kourtis [Mon, 5 Nov 2012 10:43:05 +0000]
update tree to use ghc7.4
Stefan Kästle [Sat, 3 Nov 2012 09:49:21 +0000]
adding a tag for release 2012-11-03
Stefan Kästle [Wed, 31 Oct 2012 09:19:17 +0000]
Reverting previous change to httperf invocation.
We address the httperf library mismatch on ikq02 and ikq03 in /home/harness/.bashrc now.
Kornilios Kourtis [Wed, 31 Oct 2012 08:40:59 +0000]
harness: change httperf path
The problem is that machine updates caused the following errors:
[ERROR ] /home/netos/tools/i686-pc-linux-gnu/bin/httperf: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
[ERROR ] /home/netos/tools/i686-pc-linux-gnu/bin/httperf: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
[ERROR ] /home/netos/tools/i686-pc-linux-gnu/bin/httperf: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
[ERROR ] /home/netos/tools/i686-pc-linux-gnu/bin/httperf: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
Kornilios Kourtis [Tue, 30 Oct 2012 09:06:19 +0000]
run-pdflatex.sh: make egrep rerun pattern more specific
egrep Rerun aims to grep for:
LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.
However, it also matches:
Package: rerunfilecheck 2011/04/15 v1.7 Rerun checks for auxiliary files (HO)
Which creates an infinite loop
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
TN004: Fixed typo.
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
posixcompat: Both, newlib and libposixcompat provide an implementation for
fdopen. Since the libposixcompat implementation is only a stub and
implementing it there would require to include many newlib-
internal headers, we use the implementation from newlib.
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
posixcompat: Provide an simple implementation for fcntl(..., F_GETFL).
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
posixcompat: Add function chroot(), which is part of XSI.
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
posixcompat: Add the POSIX functions setuid(), setegid(), seteuid().
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
Refactor header include/unistd.h.
Sort the steady growing list of function declaration alphabetically, in order
to speed up human lookup algorithms.
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
posixcompat: Extend header sys/stat.h with macro S_ISVTX as required by XSI.
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
posixcompat: Add AF_MAX constant from FreeBSD to sys/socket.h
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
posixcompat: Add function gethostbyaddr().
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
posixcompat: Add function sysconf().
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
posixcompat: Add function readv().
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
posixcompat: Add function readlink().
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
posixcompat: Add functions getegid(), getgid(), setgid().
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
posixcompat: Add function gethostname().
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
posixcompat: Add function setsid().
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
posixcompat: Add function socketpair().
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
posixcompat: Add function alarm().
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
posixcompat: Add functions getgrgid(), getgrent(), setgrent(), endgrent().
Additionally, add the POSIX header grp.h. This header is copied from FreeBSD.
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
posixcompat: Add functions getgroups, setgroups, initgroups.
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
posixcompat: Add functions getpwent, setpwent, endpwent. Those are part of the
XSI extension to POSIX. Moreover, provide implementations for the
POSIX functions getpwuid and getpwnam.
This patch additionally moves the user database to a seperate header file, that
can be included by all functions that operate on users.
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
posixcompat: Refactor lib/posixcompat/Hakefile
* Remove trailing spaces and hardtabs.
* Sort cFiles alphabetically.
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
Refactor: Improve debug message of in case ram_alloc fails.
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
Refactor: Make 'cpu_type_to_archstr' a static inline function and move it to
header file where the enum cputype is defined.
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
collections: Extend collections library with a flipbuffer. (double-buffering)
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
collections: Extend collections library with a stack.
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
collections: Extend list implementation with a function to remove a specific
element and a function to add an element at the tail of the list.
Additionally, refactor files to compy to our coding standards.
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
Fix: The header 'include/barrelfish/dispatch.h' uses the type
'dispatcher_handle_t' but does not include the header
'include/barrelfish_kpi/dispatcher_handle.h', where this type is defined.
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
Fix: libposixcompat did not compile with POSIXCOMPAT_DEBUG enabled.
This patch fixes the following error:
../lib/posixcompat/shm.c: In function ‘shmat’:
../lib/posixcompat/shm.c:97:5: error: ‘struct _shm’ has no member named ‘mem’
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
The invocation of "make debugsim" or "make debugsimvga" was only possible
after "make sim". This patch removes this dependency.
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
Fix: Remove -Iinclude/posixcompat/ from default compiler includes.
The posixcompat subdirectory in include/ got removed with revision
6abc27e4e2a3. There's no need to specify it as a compiler -I option anymore.
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
Refactor and fix broken usr/testdesc
* usr/testdesc/testdesc.h had an outdated copy of include/vfs/vfstab.h in its
header file. This patch removes this duplicate header code and includes the
header.
* Remove hard-tabs from Hakefile.
* Use libDeps in the Hakefile and remove unneeded libraries.
* Add it to symbolic_targets.mk so that it gets build by the buildall tests.
* Move files from usr/testdesc to usr/tests/testdesc.
Overall, the code compiles again and also seems to work properly.
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
libbarrelfish: Rename the header lib/barrelfish/include/threads.h to
lib/barrelfish/include/threads_priv.h.
To avoid confusion between the public and the private thread header, rename
the libbarrelfish-private thread header to threads_priv.h.
--HG--
rename : lib/barrelfish/include/threads.h => lib/barrelfish/include/threads_priv.h
Raphael Fuchs [Thu, 25 Oct 2012 07:04:47 +0000]
libbarrelfish: Spilt private waitset_chan.h header into a public and private
header.
* Check all files that included the old header, if the need the private or the
public header or both or none at all. Some files included the header but
didn't use any of the functions provided by the header.
* Change libahci so that it no longer uses the libbarrelfish-private header.
Stefan Kästle [Wed, 3 Oct 2012 19:01:52 +0000]
adding a tag for release 2012-10-03
Kornilios Kourtis [Fri, 28 Sep 2012 12:19:49 +0000]
harness: s/arm/armv5/
Kornilios Kourtis [Fri, 28 Sep 2012 09:40:36 +0000]
armv5: move cp15_invalidate_i_and_d_caches() to a .c file
This makes armv5 compile again.
Kornilios Kourtis [Mon, 24 Sep 2012 08:39:19 +0000]
Fix broken printf("%ls") in newlib (#249)
- create a Config.newlibAddCFlags and use it in newlib Hakefiles
- add D_MB_CAPABLE to enable wide characters
- stylistic changes
Andrew Baumann [Sat, 22 Sep 2012 00:00:36 +0000]
added device ID for Qemu's e1000
Andrew Baumann [Fri, 21 Sep 2012 19:46:27 +0000]
kaluga: don't crash if a module exists with no arguments
Andrew Baumann [Fri, 21 Sep 2012 19:45:19 +0000]
unbreak nfs client for threadsafe lwip
This function "wait_for_condition_fair()" looks dubious at best, but
I'm just trying to make stuff work. Don't blame me for touching it
last!
Andrew Baumann [Fri, 21 Sep 2012 18:50:12 +0000]
e1000: silence "no packet" printf that spams my console on qemu
this is presumably indicative of a real error (we're taking interrupts
all the time), however since packets appear to be getting through I
don't want to deal with it right now.
Andrew Baumann [Fri, 21 Sep 2012 18:40:06 +0000]
unrot vbe driver
Andrew Baumann [Fri, 21 Sep 2012 18:35:16 +0000]
re-expose lwip_init_ex() to external callers
I know we have a proliferation of lwip init APIs, but I need one to
which I can pass both mutex, waitset, and interface name. If
lwip_init_auto_ex wasn't so stupid, I could use that, but I can't. We
really should get away from naming the ethernet interfaces by the name
of their driver.
Andrew Baumann [Wed, 23 May 2012 19:55:58 +0000]
revert vspace_map_anon_aligned API change, and try to make the interface slightly saner
passing a struct memobj when you expect and use a larger struct
memobj_anon (and the caller must know this) is insanity
--HG--
extra : transplant_source : %B4%1Fu%1E%16%22%D5%B7%0C%DA%09%0Dk%F6%9D%02%5C%8A%E8%2C
Andrew Baumann [Fri, 21 Sep 2012 17:59:12 +0000]
pci: strict aliasing fix for dodgy cast
Stefan Kästle [Mon, 17 Sep 2012 13:29:44 +0000]
Size of UMP message does not have to be equal to the cache-line size.
Kornilios Kourtis [Fri, 7 Sep 2012 13:49:57 +0000]
harness: s/arm/armv5/
Kornilios Kourtis [Fri, 7 Sep 2012 11:44:08 +0000]
merged pandaboard tree
Simon Peter [Fri, 31 Aug 2012 14:47:25 +0000]
Bugfix: free the key only if it's not put in the hashtable.
Stefan Kästle [Fri, 24 Aug 2012 07:37:58 +0000]
Number of cores is now read from SCU. If more than one core is present, the SCU is enabled
Simon Gerber [Mon, 20 Aug 2012 12:10:09 +0000]
Fixed misc. paths that were overlooked when renaming 'arm' to 'armv5'.
Simon Gerber [Mon, 20 Aug 2012 08:54:52 +0000]
Renamed ARM to ARMv5.
Simon Gerber [Fri, 17 Aug 2012 09:10:58 +0000]
Added note about Config.enable_gem5 to tools/arm_gem5/README.
Simon Gerber [Fri, 17 Aug 2012 09:00:34 +0000]
Changed ARMv7.hs to include -D__GEM5__ depending on Config.enable_gem5 instead of always.
Simon Gerber [Thu, 16 Aug 2012 14:32:29 +0000]
Merged latest changes from Samuel's branch.
--HG--
rename : kernel/arch/arm_gem5/init.c => kernel/arch/omap44xx/init.c
Simon Gerber [Thu, 16 Aug 2012 11:46:34 +0000]
Fixed missed gem5 comment.
Simon Gerber [Thu, 16 Aug 2012 11:44:57 +0000]
Added demo for self-paging.
Simon Gerber [Thu, 16 Aug 2012 09:36:50 +0000]
Renamed arm_gem5 to armv7.
TODO:
* Figure out if the __GEM5__ define actually refers to gem5 or just to ARMv7.
Simon Peter [Tue, 14 Aug 2012 11:44:22 +0000]
Use arm-linux-gnueabi instead of arm-none-linux-gnueabi.
Simon Peter [Tue, 14 Aug 2012 10:09:03 +0000]
Resurrected lwip_err_to_errval() in private header lwip/barrelfish.h
(see thread on barrelfish list from 2012-08-13).
Simon Peter [Mon, 13 Aug 2012 13:14:05 +0000]
Include only necessary headers in lwIP headers, instead of full
barrelfish.h. This is more compatible with POSIX apps, which mostly
are C89, while barrelfish.h is C99.
Removed lwip_err_to_errval(), which was marked to be removed and
caused problems with Postgres, because of it including errors/errno.h,
which is another C99 header.
Stefan Kästle [Fri, 10 Aug 2012 08:55:12 +0000]
Fixed dependency issue. The OMAP kernel depends on omap44xx_gpio device
Mothy [Thu, 9 Aug 2012 15:29:04 +0000]
Reorged files.
GPIO defintions.
Flash one LEd :-(
--HG--
rename : devices/omap44xx_id.dev => devices/omap/omap44xx_id.dev
rename : devices/omap44xx_usbconf.dev => devices/omap/omap44xx_usbconf.dev
rename : devices/omap_uart.dev => devices/omap/omap_uart.dev
Mothy [Thu, 9 Aug 2012 10:12:54 +0000]
Remove another file
Mothy [Thu, 9 Aug 2012 10:12:08 +0000]
Removed some redundant (identical) files.
--HG--
rename : kernel/include/arch/x86_64/debug.h => kernel/include/arch/x86/debug.h
rename : kernel/include/arch/x86_64/pic.h => kernel/include/arch/x86/pic.h
Mothy [Thu, 9 Aug 2012 09:14:37 +0000]
Moved ARMv7a MMU enabling code to cp15.S.
Cleaned up boot.S for ARMv7a.
Removed useless conio.h duplication (why was this here?)
--HG--
rename : kernel/include/arch/x86_32/conio.h => kernel/include/arch/x86/conio.h
Mothy [Thu, 9 Aug 2012 08:15:11 +0000]
merge
Mothy [Thu, 9 Aug 2012 08:13:29 +0000]
Cleaned up some assembly.
Added memory sizing (currently unused, but helpful).
Simon Gerber [Thu, 9 Aug 2012 08:12:17 +0000]
Moved cache control code from boot.S to arm_gem5/cp15.S
Stefan Kästle [Wed, 8 Aug 2012 14:33:04 +0000]
adding a tag for release 2012-08-08
Mothy [Wed, 8 Aug 2012 14:23:26 +0000]
merge
Mothy [Wed, 8 Aug 2012 14:23:19 +0000]
Some fixes.
Simon Gerber [Wed, 8 Aug 2012 09:37:09 +0000]
arm_molly: Fixed objdump command in build_data_files.sh
Mothy [Tue, 7 Aug 2012 13:13:31 +0000]
Duplicate file.
Mothy [Tue, 7 Aug 2012 13:10:53 +0000]
Duplicate file.
Mothy [Tue, 7 Aug 2012 13:07:33 +0000]
Treeshaking.
Mothy [Tue, 7 Aug 2012 11:46:33 +0000]
Fixed UART code for ARM5, for now.
Mothy [Tue, 7 Aug 2012 10:41:10 +0000]
Documentation.
Fixed bug in other serial drivers.
Mothy [Mon, 6 Aug 2012 16:18:32 +0000]
Merge
Mothy [Mon, 6 Aug 2012 16:17:53 +0000]
New serial interface inside the CPU driver.
pravin@inf.ethz.ch [Mon, 6 Aug 2012 12:22:21 +0000]
Enabled caching again, and added appropriate tlb and cache flush in do_resume
which enables transition from kernelspace to userspace.
Kornilios Kourtis [Mon, 6 Aug 2012 12:06:52 +0000]
ram_alloc_remote(): reset affinity before calling slot_alloc()
Based on patch provided by Shi Jinghao <jhshi@cs.hku.hk>:
https://lists.inf.ethz.ch/pipermail/barrelfish-users/2012-August/000783.html:
In ram_alloc_remote, there is a hack that before we obtain the
ram_alloc_lock and do the actual transport, we first check if cs->space ==
1: if yes, we do a pair of dummy slot_alloc and slot_free to help the
slot_allocator grow itself. But since slot_alloc may involve another
ram_alloc call, we need to reset the affinity to the default (0, 0) before
slot_alloc and restore the affinity after slot_free.
I found this bug when I repeatly do: set affinity to
(0x80000000-0xc0000000) (shared memory on SCC), allocate a 4K frame use
frame_alloc, set the affinity back to (0, 0). After a certain number of
iterations, all the slot in slot_allocator are consumed and trigger the
dummy slot_alloc/slot_free operation. Then the slot_alloc failed since at
the moment, the affinity is not the default (0, 0) but
(0x80000000,0xc0000000). So the new frame is allocated on a non-expected
physical memory region and somehow a page fault is triggered, which cause
the system to crash.
Here is the fix patch, FYI.
diff -r
ba0440b6d59d lib/barrelfish/ram_alloc.c
--- a/lib/barrelfish/ram_alloc.c Wed Aug 01 20:17:53 2012 +0800
+++ b/lib/barrelfish/ram_alloc.c Wed Aug 01 20:18:31 2012 +0800
@@ -35,6 +35,7 @@
struct slot_alloc_state *sas = get_slot_alloc_state();
struct slot_allocator *ca = (struct slot_allocator*)(&sas->defca);
if (ca->space == 1) {
+ ram_set_affinity(0, 0);
struct capref cap;
err = slot_alloc(&cap);
if (err_is_fail(err)) {
@@ -44,6 +45,7 @@
if (err_is_fail(err)) {
return err_push(err, LIB_ERR_SLOT_FREE);
}
+ ram_set_affinity(minbase, maxlimit);
}
assert(ret != NULL);
Mothy [Mon, 6 Aug 2012 07:28:07 +0000]
Merge.
pravin@inf.ethz.ch [Sun, 5 Aug 2012 02:24:19 +0000]
Everything is working for 1 core.
This includes init, mem_serv, monitor, ramfsd, skb, spawnd, startd and memtest.
pravin@inf.ethz.ch [Sat, 4 Aug 2012 22:22:55 +0000]
Userspace is working now.
There was an issue with stack pointer not restored properly,
but now it is fixed by restoring sp separately with help of temporary register.
Currently code stops somewhere in mem_serv with complain MM_ERR_OUT_OF_BOUNDS
Samuel Hitz [Sat, 4 Aug 2012 15:38:48 +0000]
fixed max interrupts and interrupt lines mix up
Mothy [Fri, 3 Aug 2012 14:38:12 +0000]
Added USB configuration block
pravin@inf.ethz.ch [Fri, 3 Aug 2012 12:48:03 +0000]
merge
pravin@inf.ethz.ch [Fri, 3 Aug 2012 12:41:54 +0000]
Making sure that system is always in privileged mode
Mothy [Fri, 3 Aug 2012 12:22:51 +0000]
Treeshaking.
Mothy [Fri, 3 Aug 2012 11:41:50 +0000]
Fixed some Mackerel-API errors.
pravin@inf.ethz.ch [Fri, 3 Aug 2012 11:40:28 +0000]
Merge
Mothy [Fri, 3 Aug 2012 11:18:23 +0000]
Fixed conflicting use of temporary directory for arm_molly
Mothy [Fri, 3 Aug 2012 10:11:29 +0000]
Build both GEM5 and OMAP CPU drivers in the same architecture.
Fix bug in integrator.c (GIC driver).
Cleaned up badly formatted code (PLEASE observe the style guide!)
Mothy [Thu, 2 Aug 2012 13:42:49 +0000]
Cleaned up boot target for Pandaboard