asleepymoon
asleepymoon closed pull request asleepymoon/Luna#12 2022-10-14 16:21:58 +00:00
WIP: Add address space infrastructure
asleepymoon pushed to main at asleepymoon/Luna 2022-10-14 16:21:16 +00:00
c8a92af4d2 Whoops! bugfix
asleepymoon pushed to main at asleepymoon/Luna 2022-10-14 16:20:50 +00:00
e11280ad3f Merge branch 'address-spaces'
1c3377fc98 Prepare for cloning address spaces, not there yet
e43777bd31 Apparently, it just works now.
97a8a4a4a2 Solve rebase
81f56083c5 Almost there!
Compare 18 commits »
asleepymoon pushed to address-spaces at asleepymoon/Luna 2022-10-14 16:18:04 +00:00
1c3377fc98 Prepare for cloning address spaces, not there yet
asleepymoon pushed to address-spaces at asleepymoon/Luna 2022-10-14 16:00:40 +00:00
e43777bd31 Apparently, it just works now.
asleepymoon commented on pull request asleepymoon/Luna#12 2022-10-14 15:42:36 +00:00
WIP: Add address space infrastructure

rebasing on main is not as easy as I expected :)

asleepymoon pushed to address-spaces at asleepymoon/Luna 2022-10-14 15:39:31 +00:00
97a8a4a4a2 Solve rebase
asleepymoon pushed to address-spaces at asleepymoon/Luna 2022-10-14 15:38:39 +00:00
81f56083c5 Almost there!
cdb73836b0 Some more multiple address space stuff
bb7887a29d Add basic address space infrastructure
177282d79c Use the more appropriate size_t
5abd8814e3 Kernel: Continue moving utilities to a separate subdirectory
Compare 6 commits »
asleepymoon pushed to main at asleepymoon/Luna 2022-10-14 15:27:43 +00:00
4f13be7741 Use the more appropriate size_t
asleepymoon pushed to main at asleepymoon/Luna 2022-10-14 15:26:55 +00:00
1707739477 Kernel: Continue moving utilities to a separate subdirectory
asleepymoon pushed to main at asleepymoon/Luna 2022-10-14 15:21:24 +00:00
13a5c0e445 Utilities: Start moving utilities into specific headers in a utils/ subdirectory
asleepymoon commented on issue asleepymoon/Luna#7 2022-10-14 15:03:25 +00:00
Random restarts

I think this is caused by too many interrupts piling up, and when we enable them, they overflow us (probably the stack?) and triple fault.

Not sure about this, but since I changed (in #12, WIP)…

asleepymoon closed issue asleepymoon/Luna#4 2022-10-14 14:58:33 +00:00
More errors
asleepymoon commented on issue asleepymoon/Luna#4 2022-10-14 14:58:33 +00:00
More errors

libs/libc/include/errno.h

#ifndef _ERRNO_H
#define _ERRNO_H

/* The…
asleepymoon pushed to address-spaces at asleepymoon/Luna 2022-10-14 14:55:02 +00:00
9b3c7816a3 Scheduler: pop the interrupt state when returning early from load_user_task()
asleepymoon pushed to address-spaces at asleepymoon/Luna 2022-10-14 14:46:13 +00:00
26211bd49f It (almost) works now
asleepymoon pushed to address-spaces at asleepymoon/Luna 2022-10-13 20:20:32 +00:00
0c7c249935 exec is still doing some weird stuff, totally corrupting the page tables
asleepymoon pushed to address-spaces at asleepymoon/Luna 2022-10-13 20:13:12 +00:00
5d41b4b113 Almost there...
asleepymoon pushed to address-spaces at asleepymoon/Luna 2022-10-13 19:56:06 +00:00
24272c57ef Almost there!
asleepymoon pushed to main at asleepymoon/Luna 2022-10-13 19:23:58 +00:00
50d52c9a6b Scheduler: pop the interrupt state when returning early from load_user_task()