Yu Chen
|
02be18684d
|
fix net support for user net app
|
2023-02-08 00:04:50 +08:00 |
|
Yifan Wu
|
4022cc3ed7
|
Split user_lib into modules && provide Display in user_lib
|
2023-01-11 09:02:54 -08:00 |
|
Yu Chen
|
2cbd237260
|
Add snake gui app and update os/usr parts. Now snake can run!
|
2023-01-08 22:41:41 +08:00 |
|
Yu Chen
|
a67f3f0d2f
|
add get input_dev events in user app, but still have some problems
|
2023-01-07 23:35:11 +08:00 |
|
Yu Chen
|
beaef1f304
|
simple gui app can run now!
|
2023-01-07 16:11:41 +08:00 |
|
Yifan Wu
|
932ae94711
|
feat: simple drawing board GUI
|
2022-12-19 03:55:58 -08:00 |
|
Yu Chen
|
b7b8ffb1d6
|
add/update gui user apps/libs
|
2022-06-18 17:57:54 +08:00 |
|
Yu Chen
|
fc19596945
|
add cargo fmt in Makefile, and exec make fmt
|
2022-05-20 08:40:09 +08:00 |
|
chyyuu
|
4f3308aa38
|
Merge branch 'main' into main
|
2022-05-15 12:28:47 +08:00 |
|
Yifan Wu
|
26bc01f3bc
|
Support signal mechanism for ch8(only works on signal-thread apps)
|
2022-01-23 13:14:56 -08:00 |
|
Yifan Wu
|
3f0c3f6dfd
|
Bump to rust nightly-2022-01-01, feature global_asm,asm->stable
|
2022-01-01 03:07:09 -08:00 |
|
DeathWish5
|
4262726f0b
|
user: add critical test for software-synchronous tests
|
2021-12-23 15:25:06 +08:00 |
|
DeathWish5
|
ef3f87d31b
|
user: add peterson algorithm and Eisenberg & McGuire algorithm
|
2021-12-22 23:35:34 +08:00 |
|
Yu Chen
|
b3bce3bef2
|
add condvar in kernel and app
|
2021-12-13 15:30:27 +08:00 |
|
Yifan Wu
|
45c33f2ce2
|
Implement mpsc using semaphores.
|
2021-10-10 17:20:53 -07:00 |
|
Yifan Wu
|
5b56961b8c
|
Create threads with a argument. See bin/threads_arg.rs
|
2021-10-08 13:50:36 -07:00 |
|
Yifan Wu
|
c951c1781e
|
Implement sleep using blocking & BinaryHeap.
|
2021-10-08 12:55:39 -07:00 |
|
Yifan Wu
|
db6a93e60d
|
Add MutexBlocking.
|
2021-10-07 14:33:44 -07:00 |
|
Yifan Wu
|
8974a29245
|
Add MutexSpin and several syscalls.
|
2021-10-07 12:40:47 -07:00 |
|
Yifan Wu
|
a341b338c8
|
Stage2: multiple user threads based on uniprocessor, see new added test race_adder and threads.
|
2021-10-02 16:18:05 -07:00 |
|
Yifan Wu
|
4fa4e9cab4
|
Stage1 clear! All applications work but now they are based on threads.
|
2021-09-30 14:36:33 -07:00 |
|
Yifan Wu
|
b8a14182cd
|
Rm spin::Mutex except for easy-fs & add new test huge_write & flush cache to disk after a write transaction
|
2021-07-21 19:10:04 +08:00 |
|
Yifan Wu
|
685ca2c1ea
|
Add sys_dup && support input/output redirection in user_shell
|
2021-02-27 22:27:08 +08:00 |
|
Yifan Wu
|
ff685b86c8
|
DiskInode sz->128bytes && user heap -> 32KiB
|
2021-02-27 07:43:28 +08:00 |
|
Yifan Wu
|
c8d851fc2b
|
Support cmdline_args when sys_exec.
|
2021-02-26 12:06:55 +08:00 |
|
Yifan Wu
|
b121689d08
|
Simple filetest passed on qemu/k210.
|
2020-12-20 13:52:38 +08:00 |
|
Yifan Wu
|
2d34cab989
|
Pipe OK.
|
2020-12-14 16:18:33 +08:00 |
|
Yifan Wu
|
48a11e53ff
|
Handle backspace for k210/qemu platform && Add lots of user tests.
|
2020-12-11 01:44:07 +08:00 |
|
Yifan Wu
|
63fe64ec0f
|
Update rustsbi-k210 to enable lagacy console_putchar. Adjust alignment of links apps. Run matrix on K210!
|
2020-12-10 17:20:13 +08:00 |
|
Yifan Wu
|
8fbadfc951
|
Implement many process syscalls.
|
2020-12-10 11:57:26 +08:00 |
|
Yifan Wu
|
e56ea17566
|
Add user program initproc/user_shell, allow user programs allocate data on heap.
|
2020-12-09 09:56:06 +08:00 |
|
Yifan Wu
|
850559e5da
|
Build application at 0x0 in release mode.
|
2020-12-02 09:40:00 +08:00 |
|
Yifan Wu
|
4e8059e222
|
Add sys_yield tests and compile them to different location.
|
2020-11-28 16:22:29 +08:00 |
|
Yifan Wu
|
1414d05325
|
Chapter2: Clear .bss inside application.
|
2020-11-22 13:05:16 +08:00 |
|
Yifan Wu
|
bae5383602
|
Try batch but kernel panicked.
|
2020-11-19 18:01:16 +08:00 |
|
Yifan Wu
|
a97d4e82a5
|
Add first user program hello_world.rs
|
2020-11-18 14:48:13 +08:00 |
|