Commit Graph

514 Commits

Author SHA1 Message Date
Nils O. Selåsdal 61cec258e3 Add tar.gz binary package target to scons.
Invoke with scons --install_sandbox=XXX package
2015-02-15 21:37:13 +01:00
Nils O. Selåsdal 20a01e4913 Attempt at packagin the binary install 2015-02-11 23:10:49 +01:00
Nils O. Selåsdal db21dc4100 use %u instead of %d in file name format string 2015-02-11 22:20:07 +01:00
Nils O. Selåsdal c90ad5e257 There's no good reason to not always reset the file size
after re-opening
2015-02-10 21:46:08 +01:00
Nils O. Selåsdal d187c1d63b Clarify that uc_read_fd always close() the descriptor 2015-02-10 21:00:57 +01:00
Nils O. Selåsdal 83ce414beb make array parameter const 2015-02-10 20:57:36 +01:00
Nils O. Selåsdal aeee4de26a Remove main() function 2015-02-10 20:45:40 +01:00
Nils O. Selåsdal 7e1114c09b Use function names that make more sense 2015-02-10 20:45:14 +01:00
Nils O. Selåsdal a522c55155 Finalize mkdirp 2015-02-10 20:40:33 +01:00
Nils O. Selåsdal 7dbdec1d5b Initial mkdir -p function 2015-02-10 20:40:33 +01:00
Nils O. Selåsdal 617ba23c39 Make the clock_now interface const 2015-02-10 11:03:44 +01:00
Nils O. Selåsdal f0c829a6c9 Added a main() to atomic.c 2015-01-03 02:11:12 +01:00
Nils O. Selåsdal 603d86bb61 Remove stdio.h from utils.h. Manually include stdio.h if using the
TRACEF() macro from utils.h
2015-01-03 01:52:53 +01:00
Nils O. Selåsdal a367e84b00 Move UC_INLINE to utils.h 2015-01-03 01:51:18 +01:00
Nils O. Selåsdal 33287ea987 Merge branch 'cmd' into dev
Conflicts:
	include/ucore/atomic.h
	include/ucore/dstr.h
2014-12-07 15:46:06 +01:00
Nils O. Selåsdal 0622c57d42 Initial attempt 2014-12-07 15:39:32 +01:00
Nils O. Selåsdal ab70a2c5be Make uc_log_init argument const 2014-12-02 23:38:24 +01:00
Nils O. Selåsdal dd925b3654 int log_level->enum UC_LOG_LEVEL 2014-12-02 23:22:18 +01:00
Nils O. Selåsdal 8c36756170 Increase timeout on thread queue test to make it pass on the slow
raspberrypis
2014-11-10 21:05:45 +01:00
Nils O. Selåsdal fe3e4d8e3c Add missing prototypes and includes 2014-10-26 14:27:26 +01:00
Nils O. Selåsdal 9bd1336d26 have LOGF macros add a newline, so user code doesn't need to. 2014-10-06 21:52:28 +02:00
Nils O. Selåsdal 33b48c4276 More checks on test_mbuf_static 2014-09-29 21:29:02 +02:00
Nils O. Selåsdal 42136087b6 Add note about scons 2.3.0 2014-09-29 21:09:50 +02:00
Nils O. Selåsdal 6247bcbdfd Also build a shared library 2014-09-29 20:51:29 +02:00
Nils O. Selåsdal 959d525938 Use correct return value on error 2014-09-29 16:16:55 +02:00
Nils O. Selåsdal 749c5ef0df Correct a few comments in threadqueue 2014-09-29 16:16:40 +02:00
Nils O. Selåsdal 13e611c79d Generalise the logging function to a function pointer 2014-09-16 13:30:51 +02:00
Nils O. Selåsdal 9ce3a4ebf8 Rework iomux_select, so it doesn't need to deald with
dynamically allocating space for the IOMuxFD's
2014-09-16 01:36:23 +02:00
Nils O. Selåsdal b5465012ae Doxygen, generate struct docs in same page as the module it's in 2014-09-16 01:36:22 +02:00
Nils O. Selåsdal 045d7c2463 Improve doxygen comments 2014-09-15 21:13:43 +02:00
Nils O. Selåsdal f13a71e8ba Merge branch 'dev' of ssh://box/var/lib/git/libucore into dev 2014-09-12 01:12:44 +02:00
Nils O. Selåsdal 711d734998 Open restart file in 0644 mode, fsync the file, don't
write to file if seek/truncate failed
2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 5f89edc0d9 Fic includes to use "" instead of <> 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal b39cabc055 Link with libm and librt, required for older glibc. No harm on newer 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 131bfc5da6 Add uc_restart_counter concept 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 6689fa9969 Initialize the ticket lock 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal fbbd1344ab Remove unused include 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal eacdd947e5 Add a few more UCStrVal functions 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 48563f553d Fix RATE_LIMIT_INITIALIZER 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 9b3c1e370b ( ) around macro arguments.. 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 7eb42cc538 fix UC_ROUND_UP() 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal a27711e3bd Atomic example, used to inspect assembly code.. 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal f686c299a3 Better atomic support for gcc and clang 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal c82620d59c eait for max 32 epoll events. 54 is too much 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 33f8d3bbae Add ATOMIC_GET 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 7ed9bb298f Fix confusing if vec_len is bytes or number of elements 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 22f6c1e043 Improve doxygen documentation. 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 6c7cb5c0ab Print error if no test cases are run 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 0741b42a44 Add a sched_yeild in tocket lock test.. 2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 6c8e403a38 Test heapsorting 1 element 2014-09-12 01:11:41 +02:00