Felix Kopp
056c318e86
Make memcmp more compiler friendly
...
The Thumb ISA allows incrementing a pointer right after dereferencing
it. This commit attempts to make it more obvious to the compiler to use
this instruction in memcmp().
2020-11-19 16:33:40 +01:00
Felix Kopp
fd75357944
Add list empty check in malloc
2020-10-24 17:44:18 +02:00
Felix Kopp
32afd10e99
Minor macro refactor
2020-10-14 11:47:42 +00:00
Felix Kopp
bdf3f008d7
Final refactor, initialize allocator on init
2020-10-12 17:54:07 +02:00
Felix Kopp
fc75cb2014
Refactor and make the allocator work
2020-10-12 15:35:10 +02:00
Felix Kopp
cd833dbbdf
Disallow double-freeing the same pointer
2020-10-12 12:47:20 +02:00
Felix Kopp
0cfc979109
Fix operator precedence bug
2020-10-12 01:20:16 +02:00
Felix Kopp
0e725b795d
Move license comment to the bottom
2020-10-11 19:35:30 +02:00
Felix Kopp
9dfce93c57
Add memory allocator implementation
2020-10-11 19:08:20 +02:00
Felix Kopp
a4e244e7fc
Fix some minor errors
2020-10-10 23:11:21 +02:00
Felix Kopp
7a6c34b14e
Implement ctype.h
2020-06-14 10:43:06 +02:00
Felix Kopp
dfd949efdd
Add stupid string.h implementation
2020-06-12 00:01:15 +02:00