]> xenbits.xensource.com Git - rumpuser-xen.git/log
rumpuser-xen.git
11 years agoImplement _exit (we _must_ not return from a __noreturn__ function)
Antti Kantee [Sun, 8 Sep 2013 07:59:02 +0000 (10:59 +0300)]
Implement _exit (we _must_ not return from a __noreturn__ function)

11 years agominor header + whitespace cleanup
Antti Kantee [Sun, 8 Sep 2013 07:51:56 +0000 (10:51 +0300)]
minor header + whitespace cleanup

11 years agocontinue header cleanup
Antti Kantee [Sun, 8 Sep 2013 07:49:09 +0000 (10:49 +0300)]
continue header cleanup

remove empty mini-os/traps.h and include mini-os/machine/traps.h

11 years agoSplit MI definitions from machine/os.h into os.h
Antti Kantee [Sun, 8 Sep 2013 07:40:27 +0000 (10:40 +0300)]
Split MI definitions from machine/os.h into os.h

11 years agoUse consistent indentation within this file.
Antti Kantee [Sun, 8 Sep 2013 06:21:00 +0000 (09:21 +0300)]
Use consistent indentation within this file.

No functional change.
XXX: this file is missing a license.

11 years agouse stdio instead of printk
Antti Kantee [Sun, 8 Sep 2013 04:51:58 +0000 (07:51 +0300)]
use stdio instead of printk

11 years agoUpdate buildrump.sh (upstream console driver fix)
Antti Kantee [Sun, 8 Sep 2013 04:46:54 +0000 (07:46 +0300)]
Update buildrump.sh (upstream console driver fix)

11 years agoit is ok to have an address hint for mmap and just ignore it
Justin Cormack [Sat, 7 Sep 2013 19:20:58 +0000 (20:20 +0100)]
it is ok to have an address hint for mmap and just ignore it

11 years agoupdate buildrump.sh for rump kernel fd's 0/1/2
Antti Kantee [Sat, 7 Sep 2013 17:22:31 +0000 (20:22 +0300)]
update buildrump.sh for rump kernel fd's 0/1/2

11 years agodo not assume anything about first fd number
Antti Kantee [Sat, 7 Sep 2013 16:47:46 +0000 (19:47 +0300)]
do not assume anything about first fd number

11 years agowe currently have no support for signal delivery
Antti Kantee [Sat, 7 Sep 2013 15:46:36 +0000 (18:46 +0300)]
we currently have no support for signal delivery

11 years agoGet rid of __INSIDE_MINIOS__
Antti Kantee [Sat, 7 Sep 2013 15:29:25 +0000 (18:29 +0300)]
Get rid of __INSIDE_MINIOS__

Don't want to see that stuff?  Don't include mini-os headers!

11 years agoupdate comment
Antti Kantee [Sat, 7 Sep 2013 15:27:31 +0000 (18:27 +0300)]
update comment

11 years agog/c null defs and some whitespace to boot
Antti Kantee [Sat, 7 Sep 2013 16:53:10 +0000 (19:53 +0300)]
g/c null defs and some whitespace to boot

11 years agoimplement rumpuser_dprintf
Antti Kantee [Sat, 7 Sep 2013 13:16:09 +0000 (16:16 +0300)]
implement rumpuser_dprintf

11 years agouse a more direct console print
Antti Kantee [Sat, 7 Sep 2013 13:07:58 +0000 (16:07 +0300)]
use a more direct console print

11 years agoSCHED_DEBUG doesn't appear to do anything => g/c
Antti Kantee [Sat, 7 Sep 2013 13:02:10 +0000 (16:02 +0300)]
SCHED_DEBUG doesn't appear to do anything => g/c

11 years agoadd note about how to examine/modify fs images
Antti Kantee [Sat, 7 Sep 2013 12:58:36 +0000 (15:58 +0300)]
add note about how to examine/modify fs images

11 years ago__MINIOS__ seems to be relevant for newlib ==> g/c
Antti Kantee [Sat, 7 Sep 2013 12:50:20 +0000 (15:50 +0300)]
__MINIOS__ seems to be relevant for newlib ==> g/c

11 years agoremove more "options"
Antti Kantee [Sat, 7 Sep 2013 12:44:28 +0000 (15:44 +0300)]
remove more "options"

11 years agoremove config "options" which can't be changed
Antti Kantee [Sat, 7 Sep 2013 11:53:10 +0000 (14:53 +0300)]
remove config "options" which can't be changed

11 years agobuild in obj/
Antti Kantee [Sat, 7 Sep 2013 11:45:47 +0000 (14:45 +0300)]
build in obj/

11 years agobuild xenif in objdir
Antti Kantee [Sat, 7 Sep 2013 11:32:04 +0000 (14:32 +0300)]
build xenif in objdir

11 years agosimple script to run gdbsx
Antti Kantee [Sat, 7 Sep 2013 11:27:17 +0000 (14:27 +0300)]
simple script to run gdbsx

11 years agomake sure getopt() work every time
Antti Kantee [Sat, 7 Sep 2013 11:14:16 +0000 (14:14 +0300)]
make sure getopt() work every time

11 years agoremove historic "is this mic on?" edit
Antti Kantee [Sat, 7 Sep 2013 10:50:45 +0000 (13:50 +0300)]
remove historic "is this mic on?" edit

11 years agomove file system images to img/
Antti Kantee [Sat, 7 Sep 2013 10:49:49 +0000 (13:49 +0300)]
move file system images to img/

11 years agoreplace /etc/services with a slightly smaller one
Antti Kantee [Sat, 7 Sep 2013 10:21:36 +0000 (13:21 +0300)]
replace /etc/services with a slightly smaller one

11 years agoadd memprotect
Justin Cormack [Fri, 6 Sep 2013 20:40:10 +0000 (21:40 +0100)]
add memprotect

11 years agoadd more stub syscalls
Justin Cormack [Fri, 6 Sep 2013 16:47:31 +0000 (17:47 +0100)]
add more stub syscalls

11 years agoMake app_main() the application entry point
Antti Kantee [Fri, 6 Sep 2013 12:42:55 +0000 (15:42 +0300)]
Make app_main() the application entry point

The rump kernel is bootstrapped before calling it.

11 years agoAvoid duplicate etfs names
Antti Kantee [Fri, 6 Sep 2013 12:42:16 +0000 (15:42 +0300)]
Avoid duplicate etfs names

11 years agosimplify setting errno
Antti Kantee [Fri, 6 Sep 2013 12:27:49 +0000 (15:27 +0300)]
simplify setting errno

11 years agoAdd travis status sticker
Antti Kantee [Fri, 6 Sep 2013 12:22:08 +0000 (15:22 +0300)]
Add travis status sticker

[ci skip]

11 years agobuild is now simpler
Antti Kantee [Fri, 6 Sep 2013 12:13:47 +0000 (15:13 +0300)]
build is now simpler

11 years agouse some -j
Antti Kantee [Fri, 6 Sep 2013 12:11:50 +0000 (15:11 +0300)]
use some -j

11 years agoinstall libxen-dev
Antti Kantee [Fri, 6 Sep 2013 12:01:19 +0000 (15:01 +0300)]
install libxen-dev

11 years agoMake it possible to be less verbose. Fix pasto.
Antti Kantee [Fri, 6 Sep 2013 11:57:20 +0000 (14:57 +0300)]
Make it possible to be less verbose.  Fix pasto.

11 years agoinitial travis yml
Antti Kantee [Fri, 6 Sep 2013 11:48:22 +0000 (14:48 +0300)]
initial travis yml

11 years agoMake things build from any directory.
Antti Kantee [Fri, 6 Sep 2013 11:41:58 +0000 (14:41 +0300)]
Make things build from any directory.

This means that it's no longer necessary to place the repository
under xen/extras/rumpuser-xen, nor is it necessary to fetch the
Xen sources.

11 years agoremove lib/math.c, obsoleted by libc
Antti Kantee [Fri, 6 Sep 2013 10:52:08 +0000 (13:52 +0300)]
remove lib/math.c, obsoleted by libc

11 years agoUse objdirs for lib{c,m}
Antti Kantee [Fri, 6 Sep 2013 10:47:52 +0000 (13:47 +0300)]
Use objdirs for lib{c,m}

also, some cleanup

11 years agoimportant disclaimer
Antti Kantee [Fri, 6 Sep 2013 10:17:26 +0000 (13:17 +0300)]
important disclaimer

11 years agoUse locales from libc, remove private copy.
Antti Kantee [Fri, 6 Sep 2013 10:11:58 +0000 (13:11 +0300)]
Use locales from libc, remove private copy.

11 years agoHeader purge.
Antti Kantee [Fri, 6 Sep 2013 09:56:01 +0000 (12:56 +0300)]
Header purge.

Get rid of the <mini-os/arch_foo.h> compat headers and require that
users include <mini-os/machine/foo.h>

11 years agoverify that we support the hypercall versions
Antti Kantee [Fri, 6 Sep 2013 09:49:25 +0000 (12:49 +0300)]
verify that we support the hypercall versions

11 years agoput files logically belonging in lib also physically there
Antti Kantee [Fri, 6 Sep 2013 09:49:00 +0000 (12:49 +0300)]
put files logically belonging in lib also physically there

11 years agoThere is no more need for a private copy of printf.
Antti Kantee [Fri, 6 Sep 2013 09:33:48 +0000 (12:33 +0300)]
There is no more need for a private copy of printf.

Note that calling printf() currently works only from the rump kernel.
In "userspace", you still need to call printk().  Me be fixink this.

11 years agomumble more using the "less is more" approach
Antti Kantee [Thu, 5 Sep 2013 22:03:41 +0000 (01:03 +0300)]
mumble more using the "less is more" approach

11 years agoimprove a bit, can now run multiple times
Antti Kantee [Thu, 5 Sep 2013 22:03:15 +0000 (01:03 +0300)]
improve a bit, can now run multiple times

11 years agotouch more verbosity
Antti Kantee [Thu, 5 Sep 2013 21:16:45 +0000 (00:16 +0300)]
touch more verbosity

11 years agopanic is no longer used anywhere in minios
Antti Kantee [Thu, 5 Sep 2013 21:11:34 +0000 (00:11 +0300)]
panic is no longer used anywhere in minios

11 years agouse strtoul from libc instead of duplicate copy here
Antti Kantee [Thu, 5 Sep 2013 21:11:02 +0000 (00:11 +0300)]
use strtoul from libc instead of duplicate copy here

11 years agoslap some sort of copyright here
Antti Kantee [Thu, 5 Sep 2013 18:35:55 +0000 (21:35 +0300)]
slap some sort of copyright here

11 years agonow that the kernel bug has been fixed, properly release handler thread
Antti Kantee [Thu, 5 Sep 2013 18:02:09 +0000 (21:02 +0300)]
now that the kernel bug has been fixed, properly release handler thread

11 years agoupdate for ff_exclose fix
Antti Kantee [Thu, 5 Sep 2013 18:00:03 +0000 (21:00 +0300)]
update for ff_exclose fix

11 years agoBuild libc and libm without -Werror
Antti Kantee [Thu, 5 Sep 2013 10:26:36 +0000 (13:26 +0300)]
Build libc and libm without -Werror

This is temporary, but allows things to limp on on some hosts letting
people concentrate on more interesting issues than debating windmills
with the compiler.

11 years agobuild libm
Justin Cormack [Thu, 5 Sep 2013 08:11:06 +0000 (10:11 +0200)]
build libm

11 years agoPull a newer httpd and override the large mmap size.
Antti Kantee [Wed, 4 Sep 2013 23:05:20 +0000 (02:05 +0300)]
Pull a newer httpd and override the large mmap size.

Makes httpd work for serving large files with a memory-restricted DomU

11 years agoRemove mmap() from limitations.
Antti Kantee [Wed, 4 Sep 2013 22:11:25 +0000 (01:11 +0300)]
Remove mmap() from limitations.

Our emulation may not be perfect, but it does exist.

11 years agodefault to httpd
Antti Kantee [Wed, 4 Sep 2013 22:00:51 +0000 (01:00 +0300)]
default to httpd

11 years agosupport running httpd
Antti Kantee [Wed, 4 Sep 2013 22:00:35 +0000 (01:00 +0300)]
support running httpd

11 years agoadd a file system containing some useful /etc files
Antti Kantee [Wed, 4 Sep 2013 21:59:39 +0000 (00:59 +0300)]
add a file system containing some useful /etc files

11 years agoadd the httpd as well
Antti Kantee [Wed, 4 Sep 2013 21:58:20 +0000 (00:58 +0300)]
add the httpd as well

11 years agobuild httpd
Antti Kantee [Wed, 4 Sep 2013 21:56:01 +0000 (00:56 +0300)]
build httpd

11 years agoupdate buildrump.sh
Antti Kantee [Wed, 4 Sep 2013 21:18:25 +0000 (00:18 +0300)]
update buildrump.sh

11 years agosimplify
Antti Kantee [Wed, 4 Sep 2013 21:16:36 +0000 (00:16 +0300)]
simplify

11 years agoXen can't deal with 64k MAXPHYS, so use 32k
Antti Kantee [Wed, 4 Sep 2013 20:28:20 +0000 (23:28 +0300)]
Xen can't deal with 64k MAXPHYS, so use 32k

11 years agopull new buildrump.sh for bugfixes
Antti Kantee [Wed, 4 Sep 2013 19:54:50 +0000 (22:54 +0300)]
pull new buildrump.sh for bugfixes

11 years agoAdd some sort of emulation for mmap
Antti Kantee [Wed, 4 Sep 2013 19:51:36 +0000 (22:51 +0300)]
Add some sort of emulation for mmap

11 years agoUse high-level libc interface for reading directory.
Antti Kantee [Wed, 4 Sep 2013 10:52:40 +0000 (13:52 +0300)]
Use high-level libc interface for reading directory.

11 years agoset errno in stubs
Antti Kantee [Wed, 4 Sep 2013 10:52:02 +0000 (13:52 +0300)]
set errno in stubs

11 years agoMake some stubs return NULL so as to signal the caller.
Antti Kantee [Wed, 4 Sep 2013 10:43:23 +0000 (13:43 +0300)]
Make some stubs return NULL so as to signal the caller.

11 years agorump_syscalls.h no longer necessary -- use libc
Antti Kantee [Tue, 3 Sep 2013 23:01:26 +0000 (02:01 +0300)]
rump_syscalls.h no longer necessary -- use libc

11 years agostrdup() can now be used from libc
Antti Kantee [Tue, 3 Sep 2013 22:58:13 +0000 (01:58 +0300)]
strdup() can now be used from libc

11 years agostack_chk_fail is provided by libc
Antti Kantee [Tue, 3 Sep 2013 22:56:48 +0000 (01:56 +0300)]
stack_chk_fail is provided by libc

11 years agoStubs for unsupported interfaces used internally by libc
Antti Kantee [Tue, 3 Sep 2013 22:55:49 +0000 (01:55 +0300)]
Stubs for unsupported interfaces used internally by libc

11 years agoinitialize libc
Antti Kantee [Tue, 3 Sep 2013 22:54:18 +0000 (01:54 +0300)]
initialize libc

11 years agog/c some test code
Antti Kantee [Tue, 3 Sep 2013 22:47:14 +0000 (01:47 +0300)]
g/c some test code

11 years agoexport libc syscall names from librump
Antti Kantee [Tue, 3 Sep 2013 22:37:25 +0000 (01:37 +0300)]
export libc syscall names from librump

11 years agonote caveat
Antti Kantee [Tue, 3 Sep 2013 22:31:51 +0000 (01:31 +0300)]
note caveat

11 years agoadd __errno.c
Antti Kantee [Tue, 3 Sep 2013 22:19:00 +0000 (01:19 +0300)]
add __errno.c

Should've been in 5a10c7696d387ed5126fc85fdbdb59f165f26cfe.

11 years agobuildrump.sh update to get syscall improvements
Antti Kantee [Tue, 3 Sep 2013 22:03:52 +0000 (01:03 +0300)]
buildrump.sh update to get syscall improvements

11 years agoremove unused <mini-os/byteswap.h>
Antti Kantee [Tue, 3 Sep 2013 10:49:05 +0000 (13:49 +0300)]
remove unused <mini-os/byteswap.h>

provided by libc anyway

11 years agonuke <mini-os/fcntl.h>
Antti Kantee [Tue, 3 Sep 2013 10:44:56 +0000 (13:44 +0300)]
nuke <mini-os/fcntl.h>

11 years agomore rumpdefs.h avoidance
Antti Kantee [Tue, 3 Sep 2013 10:43:25 +0000 (13:43 +0300)]
more rumpdefs.h avoidance

11 years agotest we get errno right
Antti Kantee [Tue, 3 Sep 2013 10:42:03 +0000 (13:42 +0300)]
test we get errno right

11 years agominor cleanup in the init department
Antti Kantee [Tue, 3 Sep 2013 10:34:15 +0000 (13:34 +0300)]
minor cleanup in the init department

11 years agoadd placeholders for stuff I need to remember to call
Antti Kantee [Tue, 3 Sep 2013 10:32:08 +0000 (13:32 +0300)]
add placeholders for stuff I need to remember to call

11 years agoGet rid of uses of rumpdefs.h
Antti Kantee [Tue, 3 Sep 2013 10:23:04 +0000 (13:23 +0300)]
Get rid of uses of rumpdefs.h

(wasn't wrong, but can be unnecessarily confusing to people
reading the sources)

11 years agorumpdefs.h is no longer necessary
Antti Kantee [Tue, 3 Sep 2013 10:19:45 +0000 (13:19 +0300)]
rumpdefs.h is no longer necessary

11 years agoget rid of mini-os errnos (use NetBSD ones)
Antti Kantee [Tue, 3 Sep 2013 10:18:52 +0000 (13:18 +0300)]
get rid of mini-os errnos (use NetBSD ones)

11 years agouse namespace in header protectors
Antti Kantee [Tue, 3 Sep 2013 09:26:55 +0000 (12:26 +0300)]
use namespace in header protectors

11 years agouse sys/queue.h
Antti Kantee [Tue, 3 Sep 2013 08:49:55 +0000 (11:49 +0300)]
use sys/queue.h

11 years agomore header cleanup, remove dupes from <mini-os/lib.h>
Antti Kantee [Tue, 3 Sep 2013 08:40:20 +0000 (11:40 +0300)]
more header cleanup, remove dupes from <mini-os/lib.h>

11 years agoremove unused
Antti Kantee [Tue, 3 Sep 2013 08:18:44 +0000 (11:18 +0300)]
remove unused

11 years agog/c bits provided by libc
Antti Kantee [Tue, 3 Sep 2013 08:14:09 +0000 (11:14 +0300)]
g/c bits provided by libc

Note, we can't yet g/c strdup() because it pulls in all kinds
of parts of libc due to it allocating memory.

11 years agoremove now-empty files
Antti Kantee [Tue, 3 Sep 2013 08:04:34 +0000 (11:04 +0300)]
remove now-empty files

11 years agomove lwip-related cleanup
Antti Kantee [Tue, 3 Sep 2013 08:00:46 +0000 (11:00 +0300)]
move lwip-related cleanup

11 years agomention libc stuff
Antti Kantee [Tue, 3 Sep 2013 01:22:40 +0000 (04:22 +0300)]
mention libc stuff