Commit graph

10 commits

Author SHA1 Message Date
Sean Cross
9ceaffea5d bionic: Use serial functions for puts() / putchar()
gcc will automatically use these functions for certain operations.  Don't
punt and use printf(), instead call serial_putc and serial_puts.

Signed-off-by: Sean Cross <xobs@kosagi.com>
2014-12-30 17:52:48 +08:00
Sean Cross
8fe8d061f4 bionic: Rename _memcpy() to memcpy()
We properly replicate the standard function prototype, so use the real name.

Signed-off-by: Sean Cross <xobs@kosagi.com>
2014-12-30 17:13:05 +08:00
Sean Cross
0b22ad3555 bionic: Fix toupper() command
It had its logic inverted.

Signed-off-by: Sean Cross <xobs@kosagi.com>
2014-12-30 16:15:35 +08:00
Sean Cross
57ee15485b bionic: Fix build with gcc
Signed-off-by: Sean Cross <xobs@kosagi.com>
2014-12-30 12:31:13 +08:00
Sean Cross
698b123bd0 bionic: Remove strtoul
We now use the one exposed in vsprintf.  This removes code duplication.

Signed-off-by: Sean Cross <xobs@kosagi.com>
2014-11-28 13:12:07 +08:00
Sean Cross
b5829b9694 bionic: Add _msleep and _usleep commands
Signed-off-by: Sean Cross <xobs@kosagi.com>
2014-11-25 17:08:48 +08:00
Sean Cross
f82c53bfdc bionic: Fix strnlen to work with length of -1
This is used to mean INT_MAX.
2014-09-09 13:59:18 +08:00
Sean Cross
e858d5eeae LAst commit before a complete refactoring 2014-07-18 16:21:28 +08:00
Sean Cross
7cb334571e fernly: wip 2014-07-04 17:31:32 +08:00
Sean Cross
9470228966 fernly: More blocks discovered 2014-06-13 17:00:11 +08:00