apio pushed to restart at apio/Luna 2022-11-30 16:29:12 +00:00
2bc99f2e6e Make log __attribute__(format), so the compiler can warn us of bad format strings
3f40ccd703 Indicate the log level in the serial console
Compare 2 commits »
apio pushed to restart at apio/Luna 2022-11-30 16:17:07 +00:00
985d45ddfb Switch to logging functions everywhere
d2856d8812 Provide meaningful error numbers
29dad5651d Move __check_failed to Log.cpp so it can be logged across all backends
1d51935d43 Make Result able to return an error string
fc0779a2f9 Add a SystemError module for errno values :)
Compare 7 commits »
apio pushed to restart at apio/Luna 2022-11-30 12:35:49 +00:00
9f5fb547f7 Add logging system :)
apio pushed to restart at apio/Luna 2022-11-30 11:42:44 +00:00
f1756e6f58 Add unit formatting
552186ad51 Add string_format and vstring_format
Compare 2 commits »
apio closed issue apio/minitar#1 2022-11-30 10:21:03 +00:00
Supported entry types
apio pushed to main at apio/minitar 2022-11-30 10:21:03 +00:00
577f99cca6 Reorder function declarations in minitar.h
28d1eab1c1 Remove character and block devices from supported entry types
Compare 2 commits »
apio pushed to main at apio/minitar 2022-11-30 10:14:42 +00:00
eeb7bccda8 Skip null-terminating a result already null-terminated by strlcpy()
apio pushed to main at apio/minitar 2022-11-30 09:36:46 +00:00
e922cfe8b9 read_contents(): shortcircuit if an entry is empty
apio pushed to main at apio/minitar 2022-11-23 20:23:03 +00:00
e43f4d9a07 Add the root directory as an include directory for minitar.h
apio pushed to main at apio/minitar 2022-11-23 19:59:39 +00:00
7b5e6196a7 Make some functions only used in util.c static
apio pushed to main at apio/minitar 2022-11-23 19:57:21 +00:00
f156f8472e attempt_read_entry -> try_to_read_valid_entry
apio pushed to main at apio/minitar 2022-11-23 19:56:32 +00:00
cdf1e0bcba Make minitar_read_contents cleaner
apio pushed to main at apio/minitar 2022-11-23 19:52:42 +00:00
726afbae15 Update tar.h
apio pushed to main at apio/minitar 2022-11-23 19:51:04 +00:00
400a51893e Update README.md
apio pushed to main at apio/minitar 2022-11-23 19:42:08 +00:00
408342cb1d Remove shadow function
apio pushed to main at apio/minitar 2022-11-23 19:41:11 +00:00
9420107a55 More commenting
apio pushed to main at apio/minitar 2022-11-23 19:39:58 +00:00
9fe8159d5a More commenting + minitar_get_size_in_blocks -> minitar_align_up_to_block_size
apio pushed to main at apio/minitar 2022-11-23 19:32:33 +00:00
653f9a90d0 Provide our own strndup + a lot more comments going on
apio pushed to restart at apio/Luna 2022-11-23 18:37:48 +00:00
1ed51d11cb Do not push unused values
apio pushed to restart at apio/Luna 2022-11-23 18:34:34 +00:00
82893fa3a4 Introduce a kernel_yield function to use once a scheduler is implemented