Skip to content

Conversation

@maxtyson123
Copy link
Contributor

@maxtyson123 maxtyson123 commented Sep 2, 2025

Here's the base write-up. Once settled on the design, I will go through and mix this in with the files and IPC.

closes #113


## Resource Abstractation
When talking about _resources_, we need a way to distinguish between the different types that the kernel may expect to provide to userspace. Each resource behaves differently internally, but from the view of the userspace process everyting should be acessable from the same set of syscalls. In order to achive this, we define an enum of resource types to allow the kernel to tag each resource with it's category. This way when a system call is made, the kernel knows how to dispatch the request.
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pandoc (used for generating the pdf) doesnt like changing between text and code blocks within an empty line in between. Same goes for headings (# Per Process Resource Table and friends), can you update all of these?

Copy link
Member

@dreamos82 dreamos82 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see previous comments

@dreamos82
Copy link
Member

@maxtyson123 when you have time please review the comments from @DeanoBurrito (my plan is to make a new book release after this PR has been merged) :D

@DeanoBurrito DeanoBurrito merged commit ca82a52 into dreamportdev:master Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IPC Messsage Passing

3 participants