Skip to content

Tags: KevinInStLouis/Learn_Pico_OS

Tags

version/0.1.4

Toggle version/0.1.4's commit message
Meta: Add demo video to the project

backup/2022-05-18/0036/everything-done

Toggle backup/2022-05-18/0036/everything-done's commit message
Meta: Add demo video to the project

backup/2022-05-18/0035/done-just-need-the-video

Toggle backup/2022-05-18/0035/done-just-need-the-video's commit message
Meta: Add demo video to the project

backup/2022-05-18/0034/resolve-editor-crash

Toggle backup/2022-05-18/0034/resolve-editor-crash's commit message
Userland: Resolve issue in editor

Now, the entire system appears to be functional.  It's quite buggy
though.

backup/2022-05-17/0033/resolve-deadlock

Toggle backup/2022-05-17/0033/resolve-deadlock's commit message
Kernel: Resolve the deadlock issue

The cause was, that I was using a KernelMutex for the debug stuff, that
didn't really make sense and was unnecessary.

In the future, I will need to do this properly, however, that will
require careful considerations, about which actions can occur in
interrupt handlers.

However, I immediatelly ran into the next issue with the page allocator.

backup/2022-05-17/0032/resolve-crash-now-deadlock

Toggle backup/2022-05-17/0032/resolve-crash-now-deadlock's commit message
Kernel: Encounter another deadlock

I think we do not wake up after 'sys$read'.

backup/2022-05-11/0031/so-many-bugs

Toggle backup/2022-05-11/0031/so-many-bugs's commit message
Kernel: Remove incorrect assertion about reference count of default t…

…hread

This was a dangerous assertion and some code (in this case holding a
mutex) caused the reference count to be higher.

backup/2022-05-11/0030/resolve-double-stash-issue

Toggle backup/2022-05-11/0030/resolve-double-stash-issue's commit message
Kernel: Resolve issue with double stashing

Turns out, I forgot to clear the 'm_active_thread' when something
blocked.

backup/2022-05-10/0029/call-system-call-logic

Toggle backup/2022-05-10/0029/call-system-call-logic's commit message
Kernel: Execute the system calls

This appears to be working for the first system call, but the second one
seems to fail.

backup/2022-05-10/0028/add-system-handler-thread

Toggle backup/2022-05-10/0028/add-system-handler-thread's commit message
Kernel: Handle system calls in special SystemHandler thread

This thread will simply be responsible to spawn an actual worker thread
that completes the request.