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
dca3e716ca
serial: add zero-copy dma i/o api
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
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
Felix Kopp
c4717d8fce
dma: add abstraction layer for dma
3 years ago
Felix Kopp
256b49b529
device: add base abstraction for all devices
3 years ago
Felix Kopp
56c76d8b4b
sched: use proper UNIX® terminology
3 years ago
Felix Kopp
50928211ca
minor fixes and improvements
3 years ago
Felix Kopp
4a3e33dc05
sycall: conform to POSIX
3 years ago
Felix Kopp
22c07fb544
syscall: use actual free register
3 years ago
Felix Kopp
5555a3d56d
cleanup and fix warnings
3 years ago
Felix Kopp
63ccd87112
arch/at91sam3x8e: finalize entry routine
3 years ago
Felix Kopp
8252f14b6b
arch/at91sam3x8e: use r0 for syscall number
3 years ago
Felix Kopp
ef25cd9fbb
arch/at91sam3x8e: clean up
3 years ago
Felix Kopp
632824e437
fs: implement basic write
3 years ago
Felix Kopp
3026bfe2f1
io: kiss I/O thread goodbye
3 years ago
Felix Kopp
1c835a9738
at91sam3x8e: serial refactor
3 years ago
Felix Kopp
316b4c2c0c
entry: implement syscall entry
3 years ago
Felix Kopp
cc00a7a1ea
atom: Replace spinlocks with atoms
3 years ago
Felix Kopp
589e9330da
sched: properly disable the watchdog
...
I have no idea what the FUCK the Engineers at ARM were thinking when
they decided to disable EVERY SINGLE FUCKING CPU COMPONENT on system
reset, except the FUCKING WATCHDOG. But this change will prevent the
system from randomly firing a watchdog reset.
3 years ago
Felix Kopp
c222c35fe5
sys: make early MCK init actually work
3 years ago
Felix Kopp
194038882a
sys: init MCK early so that it fails even faster
3 years ago
Felix Kopp
99a51a5dd2
fix compiler errors/include conflicts
...
What a hell of a nightmare this codebase has become over the past few
weeks fascinates even myself
3 years ago
Felix Kopp
63f78d7b2b
sched: use spinlock for atomic context
3 years ago
Felix Kopp
f229c2ae86
serial: it's starting to kind of work
3 years ago
Felix Kopp
dba671ab31
fix compiler warnings
3 years ago
Felix Kopp
e0c7a11f6e
sched: Set all required process registers
3 years ago
Felix Kopp
570f036752
sched: minor refactor
3 years ago
Felix Kopp
dbda35d82a
serial: prepare for I/O thread integration
3 years ago
Felix Kopp
55ee84b99b
sched: rework irq pend requests
3 years ago
Felix Kopp
f49a6643d7
sched: major refactor
3 years ago
Felix Kopp
f4e321932f
serial: switch to DMA buffers
3 years ago
Felix Kopp
fe87a65ded
Add check for TXRDY mask
4 years ago
Felix Kopp
7493c7a5ae
SERIAL FINALLY FUCKING WORKS OMG
4 years ago
Felix Kopp
ba9565a1b4
Clean up and get rid of some unnecessary stuff
4 years ago
Felix Kopp
cbd396e179
I want to fucking die
...
So this is why it didn't fire the right interrupt.
4 years ago
Felix Kopp
ed60b267a0
Finish serial init code
...
The first major hurdle has been overcome, though several more are
still awaiting me. Next up is IRQ handling.
4 years ago
Felix Kopp
2df4efdf2a
Implement core serial routines
...
This is just a rough baseline for the higher-level
serial handling code and will probably change
within the next couple of commits.
4 years ago
Felix Kopp
fd4f87d595
(fuck)
4 years ago
Felix Kopp
5b41a9d87a
Make malloc actually use the correct region
4 years ago
Felix Kopp
bdf3f008d7
Final refactor, initialize allocator on init
4 years ago
Felix Kopp
0e725b795d
Move license comment to the bottom
4 years ago
Felix Kopp
a8574dc17a
Rename to IRQ
4 years ago
Felix Kopp
424f5a902f
Cleanup 2
4 years ago
Felix Kopp
30096ab5b2
Tidy up
4 years ago
Felix Kopp
2ca4706e39
Init oscillatorss (somewhat) properly
4 years ago
Felix Kopp
76d6980a30
fuck
4 years ago
Felix Kopp
f7c01c4b91
Use memcpy and memset instead of custom loop
4 years ago
Felix Kopp
ff8b5098cd
Enable SysTick on sched_init
4 years ago