Commit Graph

240 Commits

Author SHA1 Message Date
Mathieu Maret
4f5b5583cb ata: fix controller init 2021-11-13 12:34:02 +01:00
Mathieu Maret
fb9bd8df7d Various small fix 2021-11-13 08:31:05 +01:00
Mathieu Maret
79d57bc476 Makefile: RUN_TEST for debug_test target only 2021-11-13 08:30:14 +01:00
Mathieu Maret
9d35a686ab Fix few issues/leaks 2021-11-12 10:19:43 +01:00
Mathieu Maret
d1994d44a3 Add locked ring buffer 2021-11-09 20:41:07 +01:00
Mathieu Maret
c3b4d65a36 Add semaphore 2021-11-09 15:14:11 +01:00
Mathieu Maret
e9e584149c Add support for syscall with more than 3 args 2021-11-09 14:14:06 +01:00
Mathieu Maret
444bc6a5e9 update screenshot 2021-11-08 22:53:49 +01:00
Mathieu Maret
794d54180a Typo fixing 2021-11-08 22:52:46 +01:00
Mathieu Maret
9089cfaf44 Screnshot on main page 2021-11-08 22:51:21 +01:00
mathieu
e5bd673c73 Merge pull request 'Add screenshot to 'README.md'' (#5) from screenshot into master
Reviewed-on: http://git.mathux.org/mathieu/matos/pulls/5
2021-11-08 22:43:36 +01:00
mathieu
5ebfc05069 Mise à jour de 'README.md' 2021-11-08 22:42:47 +01:00
Mathieu Maret
1571094aa6 Add a screenshot 2021-11-08 22:38:30 +01:00
Mathieu Maret
08a9d7442e Add user file size before the file
As a quick fix before FS support
2021-11-08 22:33:15 +01:00
Mathieu Maret
9e528320cf syscall fix variable decl 2021-11-08 22:31:57 +01:00
Mathieu Maret
9376fc2df9 Fix few typo in readme 2021-11-08 22:31:14 +01:00
Mathieu Maret
39cf7ab3ed Add atoi 2021-11-08 22:30:41 +01:00
Mathieu Maret
29017f7f7e readline: fix backspace 2021-11-06 00:23:45 +01:00
Mathieu Maret
69d4702696 Remove debug log 2021-11-06 00:17:15 +01:00
Mathieu Maret
9ac252c235 Readme: add todo 2021-11-06 00:15:54 +01:00
Mathieu Maret
d3a7ab59b7 Basic shell 2021-11-06 00:13:40 +01:00
Mathieu Maret
ec9d255b1c Correct return value from syscall 2021-11-06 00:13:19 +01:00
Mathieu Maret
288663ad58 Import ringbuffer implementation
From https://git.mathux.org/mathieu/ringbuffer
2021-11-05 23:31:28 +01:00
Mathieu Maret
2b32908029 load userspace from disk 2021-11-05 23:02:23 +01:00
Mathieu Maret
47f1d3f8ab Makefile: some simplification 2021-11-05 09:28:25 +01:00
Mathieu Maret
2cfa67b8e2 Add partition table support 2021-11-05 08:57:17 +01:00
mathieu
f81a515514 Merge pull request 'user_space' (#4) from user_space into master
Reviewed-on: http://git.mathux.org/mathieu/matos/pulls/4
2021-11-04 16:17:35 +01:00
Mathieu Maret
4ad5b58787 Userspace with a syscall 2021-11-04 11:40:53 +01:00
Mathieu Maret
a02167ad88 Reduce assert stack depth
This may cause page fault in test
2021-11-03 23:37:44 +01:00
Mathieu Maret
7c227a730c debug output serial into a file 2021-11-03 23:36:48 +01:00
Mathieu Maret
afb622e17a ATA: write do not block forever 2021-11-03 23:00:20 +01:00
Mathieu Maret
e94f87b798 Fix threadSwitch 2021-11-03 09:54:44 +01:00
Mathieu Maret
959bc56bc7 pit_handler: fix stack growing 2021-11-03 09:53:38 +01:00
Mathieu Maret
97d1e9ba2a Pit handler save ebp 2021-11-02 23:07:01 +01:00
Mathieu Maret
ebc90d3f06 Fix mapping issue 2021-11-02 22:33:04 +01:00
Mathieu Maret
7b60e1bdac Fix threadSwitch context 2021-11-02 22:00:31 +01:00
Mathieu Maret
84e104d83e Implement some basic syscall 2021-11-02 21:47:05 +01:00
Mathieu Maret
98db8b8962 add context switch in thread 2021-11-02 21:24:12 +01:00
Mathieu Maret
814d38bc97 Makefile: all asm in Gnu AS 2021-10-31 00:04:01 +02:00
Mathieu Maret
0040fb1cda Add basic test for process 2021-10-30 15:43:40 +02:00
Mathieu Maret
ec65623da4 Reduce kthead execution time 2021-10-30 15:34:13 +02:00
Mathieu Maret
5230b971b2 Add process subsystem 2021-10-30 15:30:19 +02:00
Mathieu Maret
e65a57d55d Rename kthread to thread 2021-10-30 14:29:12 +02:00
Mathieu Maret
ca4b318df6 rename struct kthread in thread 2021-10-30 14:08:12 +02:00
Mathieu Maret
e6524c7d48 Naming fix 2021-10-30 13:58:12 +02:00
Mathieu Maret
2c4ade0fca test show free mem before/after 2021-10-30 00:37:26 +02:00
Mathieu Maret
79a2bc58ae Integrate MMU context 2021-10-30 00:28:31 +02:00
Mathieu Maret
55e709adb5 allocArea: implement allocPhy failure case 2021-10-29 23:18:15 +02:00
Mathieu Maret
7081fea36d Fix areaAlloc map failing and tests 2021-10-29 17:48:06 +02:00
Mathieu Maret
d702c7b60e malloc: fix recursivity with areaAlloc 2021-10-29 12:34:33 +02:00