Commit Graph

101 Commits

Author SHA1 Message Date
Nils O. Selåsdal b219136d6e fix UC_ATOMIC_DEC 2013-06-17 20:32:15 +02:00
Nils O. Selåsdal 7d4f1f16c2 Add header for simple atomic operations 2013-06-17 20:28:15 +02:00
Nils O. Selåsdal 496818b7b5 Fix UC_DEBUGFR in debug mode 2013-06-13 01:10:23 +02:00
Nils O. Selåsdal 74b59a3a38 Implement setting log mask string on a destination.
Improve logging docs
2013-06-12 21:50:59 +02:00
Nils O. Selåsdal 150edaeada Rework RBTree to use RBNode in the compare function 2013-06-10 23:00:24 +02:00
Nils O. Selåsdal eba7590e6c Add CONST_CONTAINER_OF for const pointers 2013-06-10 22:55:30 +02:00
Nils O. Selåsdal f8116643af Add uc_log_destination_set_log_location, fix signed/unsigned use 2013-06-05 21:09:35 +02:00
Nils O. Selåsdal 032e50e1cd Remove setting log level for a module, implement
setting log level for a destination
2013-06-01 23:45:14 +02:00
Nils O. Selåsdal 5a427007d6 Add fd_utils 2013-05-30 22:38:56 +02:00
Nils O. Selåsdal 1e34c11265 Name uc_timers_XXX consistently 2013-05-28 01:05:38 +02:00
Nils O. Selåsdal 2eaf50d19b Add note about O(n) of uc_timers_count() 2013-05-28 00:10:02 +02:00
Nils O. Selåsdal f2bbca8718 Improve documentation 2013-05-21 00:24:07 +02:00
Nils O. Selåsdal 120299d7c3 Add macro guards 2013-05-20 23:09:54 +02:00
Nils O. Selåsdal 86c16a3c4c Add documentation 2013-05-20 23:09:42 +02:00
Nils O. Selåsdal ce0f28c04a Remove murmur hash, it's endian dependent and has unreasonable alignment
requirements
2013-05-17 03:27:09 +02:00
Nils O. Selåsdal 92da4bbd28 Added saturating math functions 2013-05-17 03:16:28 +02:00
Nils O. Selåsdal 88baa855a7 Missed from previus commit 2013-04-25 23:08:39 +02:00
Nils O. Selåsdal ad8181cf4d Add UC_ROUND_DOWN, fix duplicated UC_ROUND_UP 2013-04-08 22:24:19 +02:00
Nils O. Selåsdal 08ea383dd6 Merge branch 'master' into dev
Conflicts:
	include/ucore/utils.h
2013-04-01 23:50:07 +02:00
Nils O. Selåsdal ab4e1895d4 Add a few or handy macros 2013-04-01 23:47:01 +02:00
Nils O. Selåsdal 2e226d561b Add UC_ASSERT 2013-03-17 22:13:57 +01:00
Nils O. Selåsdal 40f34b2bcd Fix comments. add convenience macro 2013-03-07 21:38:07 +01:00
Nils O. Selåsdal 5e376d47fc Namespace the bitvec functions 2013-03-07 18:15:20 +01:00
Nils O. Selåsdal 8badeaf857 Remove ucore_ prefix from headers and source files 2013-03-06 22:22:04 +01:00
Nils O. Selåsdal ee8d9ae19d Add a uc_backtrace_buf() functio 2013-03-06 21:58:56 +01:00
Nils O. Selåsdal 54678cf94b Convert iomux to use an UCoreClock 2013-03-02 21:42:19 +01:00
Nils O. Selåsdal b0e9988aa5 Convert UCTimers to use UCoreClock 2013-03-02 21:16:22 +01:00
Nils O. Selåsdal 42269a8a91 CamelCase the Clock structs 2013-03-02 20:31:26 +01:00
Nils O. Selåsdal 9f22f7153b Don't shadow the global clock function 2013-03-02 18:45:32 +01:00
Nils O. Selåsdal a6d8d56052 Add clock test, and fix ucore_clock.h header 2013-03-02 18:39:52 +01:00
Nils O. Selåsdal aaae376d13 clock abstraction 2013-03-02 17:23:49 +01:00
Nils Olav Selåsdal 36ac0bffb1 Rename RB timers to timer_tree 2013-02-21 15:34:12 +01:00
Nils O. Selåsdal df041ccae4 Document ucore_timers.h 2013-02-20 21:11:21 +01:00
Nils O. Selåsdal b378b205c9 Make it clear whcih member s are internal and external 2013-01-21 23:11:13 +01:00
Nils Olav Selåsdal 4457398da1 Add UC_STRINGIFY macro 2013-01-17 09:36:42 +01:00
Nils O. Selåsdal 2d5d4a5749 Doc notes about salloc alignment 2013-01-16 21:19:14 +01:00
Nils O. Selåsdal 6de7a854ec Fix TRACEF macro. Addition to test_logging.c 2013-01-15 19:09:26 +01:00
Nils Olav Selåsdal cd61803c9a Rework TRACEF format, handle empty varargs (GNU extension) 2013-01-15 15:54:43 +01:00
Nils Olav Selåsdal 63a986f89c Fix backtrace stderr macro 2013-01-08 14:19:06 +01:00
Nils O. Selåsdal b5a8796ab9 Make _get and _add function inline instead of defines 2013-01-02 21:24:59 +01:00
Nils O. Selåsdal 3e7fd8a34b Implement tryadd, adding itmes with a timeout 2013-01-02 16:54:20 +01:00
Nils O. Selåsdal dbe91d2d13 Rename uc_thread_queue_get to uc_thread_queue_tryget, introduce
uc_thread_queue_get macro
2013-01-01 21:13:29 +01:00
Nils O. Selåsdal 0782e2f825 Use gcc void* arithmetic to avoid cast warning 2012-12-18 20:06:40 +01:00
Nils O. Selåsdal 134a04d478 Move include/ucore/SConstruct to include/ 2012-12-14 20:23:41 +01:00
Nils O. Selåsdal 993fad0076 Move ucore_version.h.in to src/ dir so it gets built properly 2012-12-14 11:48:27 +01:00
Nils O. Selåsdal d9c8b2b48a don't use const in CONTAINER_OF 2012-12-04 23:24:05 +01:00
Nils O. Selåsdal ad08ee8963 Add more warning flags, fix a few new warnings 2012-12-04 23:13:01 +01:00
Nils O. Selåsdal c260602890 Add gcc printf attribute to gbuf_printf.
More gbuf tests
2012-11-18 14:12:05 +01:00
Nils O. Selåsdal 9bf56c1756 Fix and clarify gnuf_printf 2012-11-18 14:04:57 +01:00
Nils O. Selåsdal 65a6c67277 Add test for gbuf 2012-11-18 13:45:52 +01:00