164 Commits (a8295db11b582dd5daf6f01ca1ff08fec09fb9ff)
 

Author SHA1 Message Date
anna a8295db11b
vscode: update C settings to match CMake 3 years ago
anna c806c21936
arch: move vector table to separate file 3 years ago
anna 4f9423efbb
arch: declare registers volatile 3 years ago
anna 86c95f3fff
gitignore: ignore hidden files in .vscode 3 years ago
anna 05662bc39e
arch: add fault handlers, rename exceptions 3 years ago
anna 7fa55c8dab
mutex: return -EAGAIN if trylock fails 3 years ago
anna 33439b2e37
debug: add sam3x8e svd file 3 years ago
anna 552688b9a0
atom: fix stupid memory leak 3 years ago
anna 57fb52dc1e
syscall: fix call source detection 3 years ago
anna aa722fc34f
serial_write_dma: prevent memory leak when busy 3 years ago
anna 7bee3f694b
add config for openocd with atmel-ice 3 years ago
anna c36c2182d7
sched: minor refactor 3 years ago
anna 5a220eee5d
fix build (once again) 3 years ago
anna 7ef26f26e9
syscall: add config option to check syscall source 3 years ago
anna 930cbc26e1
syscall: i am so stupid it physically hurts 3 years ago
anna 8422ab0d56
debug: add breakpoint macro 3 years ago
anna 0eea347421
build: actually use linker scripts 3 years ago
anna c81ea7e7fd
printf: don't ignore return value of last write() 3 years ago
anna 4db1702078
stdio: refactor printk to printf and friends 3 years ago
anna 474974b779
startup: rename do_bootstrap to main 3 years ago
anna 5fabe9db3f
vscode: use CMake plugin for IntelliSense 3 years ago
anna 2bb39cf1c5
update readme with new config system 3 years ago
anna 02286058d6
io: declare kstdin and kstdout in header 3 years ago
anna abb526f655
stddef: add typeof macro 3 years ago
anna 3aa2c53893
stdint: use correct typedefs 3 years ago
anna caefad25a8
build: parameterize serial config macros 3 years ago
anna f54a4a0fa9
mutex: use uint8_t instead of int for lock value 3 years ago
anna d20da423ec
fs: implement file abstraction 3 years ago
anna 9ca76d71ad
mutex: add mutex imlementation 3 years ago
anna adce3f3ed7
arch/at91sam3x8e: update struct reg_sw_snapshot
With my discovery of how to actually use thumb2
instructions in assembly files, the layout of
register snapshot has changed because they are
now pushed in consecutive order.
3 years ago
anna c2538b4516
build: parameterize STACK_SIZE in linker script 3 years ago
anna 8f424d49e8
asm: refactor to use thumb2 instructions 3 years ago
anna a78a8ba59b
atom: reimplement in pure assembly 3 years ago
anna 3ab358310c
build: ensure all symbols are included 3 years ago
anna 643d3ed251
build: migrate to CMake 3 years ago
anna fc63785ca6
kent: simplify structure 3 years ago
anna 8b3a5fd68d
sched: integrate into kent hierarchy
This is an initial, rudimentary attempt at integrating the scheduler
into the kent hierarchy.  There are likely gonna be drastic changes
in the future, and i haven't even tried running the whole thing.

But hey, the code compiles again now!
3 years ago
anna f0dc3a3433
kiss capitalism goodbye for good
The CNPL will make sure that absolutely no corporation is going to get
anywhere near Ardix -- exactly as it should be.  Fuck you, corporations!
3 years ago
anna 6f6be12e83
printk: introduce temporary buffer
This is just a proof of concept for now, i am perfectly aware of the
fact that this will cause buffer overruns if the line gets too long.
3 years ago
anna dca3e716ca
serial: add zero-copy dma i/o api 3 years ago
anna c59bd3f7c6
build: make gcc less annoying
This is so gonna break my legs in two months but whatever
3 years ago
anna ec3b64d232
string: move header to standard location
Anything that implements POSIX should also be where POSIX defines
it to be, otherwise it would be pretty useless lol
3 years ago
anna a1d594f0bd
malloc: get rid of unnecessary stuff 3 years ago
anna 7ac595289c
gitignore: add vim stuff 3 years ago
anna 298433e15f
fix the stupid symbol attribute mess, pt. 1 3 years ago
anna af8210da4a
piss off capitalism
Ardix is being relicensed to GPL v3 or later. I have no idea whether you
can just do this if you feel like it or if it has any consequences, but
i kinda don't really care that much about it.  Any changes made after
this commit will definitely fall under the GPL though, and considering
that only few things are really working yet anyways this is good enough
for me.
3 years ago
anna 4349420217
kent: redesign api
This also got the dmabuf refcount hard fault issue resolved somehow.
Don't ask how or why, i'm just glad it works now.
3 years ago
anna 5fa7639ce8
syscall: c syntax do be hard tho 3 years ago
anna b7abbf1cf7
kent: change param order of kent_init 3 years ago
anna b8c4593fc5
syscall: use vararg declaration 3 years ago