aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/lib/string.c
Commit message (Collapse)AuthorAgeFilesLines
* stubdom/minios: re-structure headersKeir Fraser2009-10-011-4/+4
| | | | | | | | | As part of making stubdom usable on NetBSD, it is necessary to restructure the minios headers to avoid conflicts with NetBSD's crossbuild toolchain. Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
* minios: implement ffs, ffsl and ffsll.Keir Fraser2009-05-281-0/+50
| | | | | | | | | | | The first function is compiled only in case minios is compiled without newlib, since newlib already provides an implementation for ffs. On the other hand ffsl and ffsll are always compiled because newlib misses those functions. This patch also provides an implementation for __ffsti2 and __ffsdi2 because they are needed by gcc in order to successfully link ffsll. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
* [Mini-OS] Fix strrchr() when string doesn't contain the character.Keir Fraser2007-11-281-1/+1
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@citrix.com>
* [Mini-OS] Add strrchr()Keir Fraser2007-11-231-0/+9
| | | | | | | Add strrchr(), useful e.g. for grabbing the last part of a xenbus path. Signed-off-by: Samuel Thibault <samuel.thibault@citrix.com>
* [MINIOS]Events handling cleaned up. The interface extended to providekfraser@localhost.localdomain2006-07-051-0/+10
| | | | | | | void* pointer to handlers. Signed-off-by: Steven Smith <sos22@cam.ac.uk> Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* [MINIOS] Allows the use of a C library without modifying Mini-OS source files.kaf24@firebug.cl.cam.ac.uk2006-05-261-0/+4
| | | | | | From: John Ramsdell Signed-off-by: Keir Fraser <keir@xensource.com>
* Xenbus implementation ported from Linux to Mini-os, simple thread support ↵kaf24@firebug.cl.cam.ac.uk2005-09-091-0/+13
| | | | | | | | | | | introduced to simplify the porting. 64 bit version of Mini-os now compiles, but does not work because of the pagetables and some bits of scheduler not being written. Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* bitkeeper revision 1.694 (40133166fMqipwBHlUP1QVHEO6EEOg)kaf24@scramble.cl.cam.ac.uk2004-01-251-3/+3
| | | | | | Many files: From Kip Macy, we now are stricter when compiling the mini os.
* bitkeeper revision 1.483 (3f81a3e2iM-0WXaGxUS3ywM3_KZqLw)iap10@labyrinth.cl.cam.ac.uk2003-10-061-0/+142
move mini-os to extras directory