56175f63df
Re-implement OSDK debugging fixes and other facilities upon the refactor
...
This commit bring back the features introduced from d28292c
to a52e432
:
- Disable KVM when using GDB;
- Update docs about the GDB server address;
- Add `config` option for `CargoArgs` in OSDK;
- Ensure debug info added when debugging in the release profile.
2024-04-25 09:44:46 +08:00
f9ac2ee498
Fix OSDK feature selection
2024-04-25 09:44:46 +08:00
faacb68210
Update OSDK documentations
2024-04-25 09:44:46 +08:00
e4c2151566
Implement the next OSDK
2024-04-25 09:44:46 +08:00
79bdbbe4f9
Enable the rust-analyzer for OSDK
2024-04-25 09:44:46 +08:00
3dce753c86
Multiple ways to specify OSDK new's type
2024-04-25 09:44:46 +08:00
dcab4e1039
Update documents for the OSDK overhaul
2024-04-25 09:44:46 +08:00
33c53dcf2b
Overhaul OSDK
2024-04-25 09:44:46 +08:00
735d7b7b11
Prepare OSDK for multi arch support and the upcoming refactor
2024-04-25 09:44:46 +08:00
0ecb919e73
Add getpid to measure the performance of system calls
2024-04-24 15:14:55 +08:00
d28292cec4
Add debuginfo when using GDB in release profile
2024-04-22 15:21:07 +08:00
94550dd5c6
Add config
option for CargoArgs
2024-04-22 15:21:07 +08:00
0c60a2a667
Update docs about the GDB server address
2024-04-22 15:21:07 +08:00
a52e43218e
Disable KVM when using GDB
2024-04-22 15:21:07 +08:00
4f575e2028
Fix writev
fault when io_vec.len
is 0
2024-04-22 15:16:46 +08:00
c778e0c07c
Remove redundant empty page in init stack
2024-04-22 15:15:15 +08:00
c335873d12
Enable kernel mode unit tests in kernel threads
2024-04-22 13:57:22 +08:00
57cb922253
Increase user stack size
2024-04-22 10:40:46 +08:00
4851204059
Implement a safe and race-free Waiter
2024-04-17 11:07:07 +08:00
dac41e9a2f
Support T:?Sized as type parameter for Mutex, SpinLock, RwLock, and RwMutex
2024-04-17 08:51:59 +08:00
92a9f5616e
Fix error codes in bind
, listen
, and accept
2024-04-12 14:39:54 +08:00
346887ace5
Fix error codes in UDP sendto
and recvfrom
2024-04-12 14:39:54 +08:00
00cfdf86c8
Fix error codes in TCP sendto
and recvfrom
2024-04-12 14:39:54 +08:00
51080c1925
Fix error codes in get{sock,peer}name
2024-04-12 14:39:54 +08:00
8b094454aa
Use From<IpEndpoint>
for SockAddr
(not TryFrom
)
2024-04-12 14:39:54 +08:00
b53980da25
Add a framework for regression tests
2024-04-12 14:39:54 +08:00
e8a991048f
Fix typos in comments
2024-04-12 13:28:08 +08:00
726632ad70
Update a-100-line-kernel.md
2024-04-11 17:31:48 +08:00
c3c6b0c19d
Use Dma APIs for virtio-block driver
2024-04-11 15:22:18 +08:00
d8a841f88a
Add DmaBuf for DMA-capable memory areas
2024-04-11 15:22:18 +08:00
a60a8ad3e1
Support big file for Ext2
2024-04-10 13:44:12 +08:00
bd8be26b30
Access the console device table with IRQ disabled
2024-04-10 12:14:28 +08:00
e4fd51bc6f
sigretrun --> sigreturn
2024-04-09 22:06:57 +08:00
63be797c2d
Check if we truly pass the tests in auto test
2024-04-09 16:59:21 +08:00
e3cb4d25e3
Fix the kernel stack alignment
2024-04-09 16:59:21 +08:00
afc4bf7520
Modify the behavior of mapping segment vmo
2024-04-08 18:54:46 +08:00
33c8727a13
Introduce XArray and refactor the COW mechanism of Vmo
2024-04-08 18:54:46 +08:00
233e1fac98
Add more getter methods for VmSpace
2024-04-08 18:54:46 +08:00
acf956fa03
Fix the kernel page fault handler
2024-04-08 17:02:38 +08:00
849c6e3259
Introduce PHYS_MEM_VADDR_RANGE
2024-04-08 17:02:38 +08:00
02e4cdc80e
Fix kernel stack's underflowing initial rsp
2024-04-07 18:05:36 +08:00
4dd707488d
Fix a code format error in the trap handler
2024-04-03 15:19:08 +08:00
e7e613db4e
Implement kernel page fault handler
2024-04-03 13:34:20 +08:00
97974c9cdc
Bump version in github workflows to 0.4.2
2024-04-03 08:21:15 +08:00
3c31ec35cf
Fix empty backtraces when panicking
2024-04-03 08:20:15 +08:00
198363c2d3
Speed up stack unwinding
2024-04-03 08:17:58 +08:00
6335387104
Move mongoose source files to build/
2024-04-02 17:58:03 +08:00
bdf5e3a578
Fix the failing book publish CI action
2024-04-02 17:47:04 +08:00
54109e7e9e
Remove IRQ guard in preempt()
...
Fix #478 .
Kernel preemption is not taken into account currently.
2024-04-02 09:03:59 +08:00
6dec96c7e1
Respond to Cargo metadata format change
2024-04-01 20:17:48 +08:00