summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/lib
Commit message (Collapse)AuthorAgeFilesLines
* rename U-Boot-v2 project to bareboxSascha Hauer2009-12-152-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | This has been done with the following script: find -path ./.git -prune -o -type f -print0 | xargs -0 -r sed -i \ -e 's/u2boot/barebox/g' \ -e 's/U2Boot/barebox/g' \ -e 's/U-boot V2/barebox/g' \ -e 's/u-boot v2/barebox/g' \ -e 's/U-Boot V2/barebox/g' \ -e 's/U-Boot-v2/barebox/g' \ -e 's/U_BOOT/BAREBOX/g' \ -e 's/UBOOT/BAREBOX/g' \ -e 's/uboot/barebox/g' \ -e 's/u-boot/barebox/g' \ -e 's/u_boot/barebox/g' \ -e 's/U-Boot/barebox/g' \ -e 's/U-boot/barebox/g' \ -e 's/U-BOOT/barebox/g' find -path ./.git -prune -o \( -name "*u-boot*" -o -name "*uboot*" -o -name "*u_boot*" \) -print0 | \ xargs -0 -r rename 's/u[-_]?boot/barebox/' It needs some manual fixup following in the next patch Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Sandbox: Fix make systemSascha Hauer2008-09-303-490/+0
| | | | | | | | | | | | | | | Sandbox compilation failed with: gcc -Wp,-MD,arch/sandbox/lib/.tap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.1/include -I/usr/include -Iinclude -P -Wall -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(tap)" -D"KBUILD_MODNAME=KBUILD_STR(tap)" -c -o arch/sandbox/lib/tap.o arch/sandbox/lib/tap.c In file included from /usr/include/bits/socket.h:32, from /usr/include/sys/socket.h:36, from arch/sandbox/lib/tap.c:29: /usr/include/limits.h:125:26: error: limits.h: No such file or directory /usr/include/limits.h uses the next_include directive This was because of the -nostdinc Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Doxygen cleanupsSascha Hauer2008-04-041-9/+9
| | | | | | | | | - Remove trailing whitespaces from doxygen files - escape '<' '>' with backslashes. Otherwise Doxygen interpretes them as html tags Signed-off-by: Carsten Schlote <schlote@vahanus.net> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* do not sleep if read gets EAGAIN. Must be some testing leftoverSascha Hauer2008-03-111-2/+2
|
* Add the possibility to have an architecture specific ctrlc() function.Sascha Hauer2008-03-111-3/+10
| | | | | This allows us to return immediately in ctrlc() on sandbox and thus not slow down network througput.
* [sandbox] fix read for buffers of zero lengthMarc Kleine-Budde2008-01-021-0/+3
| | | | | | | | | This patch fixes the read function for the linux sandbox if a buffer of zero length should be read. The error handling introduced in 6574529bb5a233278e9886a93afeed70e9993b54 detects a false positive if the length is zero. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [sandbox] add error handling to readMarc Kleine-Budde2007-11-291-5/+22
| | | | | | This patch adds propper error handling to the linux' read functions. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [sparse] define functions static, use NULL as NULL pointerMarc Kleine-Budde2007-11-291-2/+2
| | | | | | | | fixes: arch/sandbox/board/hostfile.c:32:9: warning: symbol 'hf_read' was not declared. Should it be static? arch/sandbox/board/hostfile.c:43:9: warning: symbol 'hf_write' was not declared. Should it be static? Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [sandbox] fix stdin and stdout fd for sandbox consoleMarc Kleine-Budde2007-11-291-1/+1
| | | | | | | u_boot_register_console uses the wrong filedescriptors for in and out the are swapped. This patch fixes this problem and uses fileno instead. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [sandbox] HACK: add variable _SDA_BASE_ to main, to please linkerMarc Kleine-Budde2007-11-291-0/+5
| | | | | | | | | | | This patch is a _CRUDE_HACK_ the linker complains about the missing symbol _SDA_BASE_ on powerpc, so git it to him to please him and finally link the sandbx. LD uboot /usr/lib/gcc/powerpc-linux-gnu/4.2.3/../../../../lib/crt1.o:(.rodata+0x0): undefined reference to `_SDA_BASE_' Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [sandbox] use C99 initializersMarc Kleine-Budde2007-11-281-5/+4
| | | | | | This patch uses C99 initializers to initialize the timeout in linux_tstc() Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* saving added docuJuergen Beisert2007-11-051-0/+5
|
* some doc added to uboot's simlator feature. Not finished yet.Juergen Beisert2007-10-201-20/+64
|
* arch/linux -> arch/sandboxSascha Hauer2007-07-124-0/+643