92b7961df1
Introduce macros that allow system device driver to remove sensitive ports
...
test
test
2025-04-16 10:09:19 +08:00
3c2c31ceb0
feat(osdk): add LoongArch64 variant in Arch
enum
2025-04-07 17:10:57 +08:00
2f40d13120
Fix --no-default-features
2025-04-02 11:56:52 +08:00
83b9ebf87d
Avoid repetitive locking for clearing cache
2025-03-30 19:24:12 +08:00
e5be154ca8
Make per-cpu counter a macro
2025-03-30 19:24:12 +08:00
abc74151fb
Add directly to global pool and reduce global lock acquiring
2025-03-30 19:24:12 +08:00
d8e076f58a
Re-write chunk-splitting and add unit tests
2025-03-30 19:24:12 +08:00
ba0dc8c122
Re-organize code of frame allocator's pools
2025-03-30 19:24:12 +08:00
77c4feffd6
Rename pools.rs
2025-03-30 19:24:12 +08:00
c85986caed
Correct OSDK profiling tool's behavior
2025-03-23 22:40:45 +08:00
5f5be25e4a
Bump the version to 0.14.1
2025-03-22 15:55:31 +08:00
f1c7564184
Move CPU context implementations to a specific module
2025-03-21 21:19:50 +08:00
af4cf19eb4
Modify the 100-lines example
2025-03-20 14:20:47 +08:00
58ad43b0a9
Adjust feature selection
2025-03-20 11:44:28 +08:00
2bcc13a9e2
force-unwind-tables=yes
instead of panic=unwind
2025-03-20 11:44:28 +08:00
6476ef22ec
Bump version to 0.14.0
2025-03-17 20:09:20 +08:00
32ffdee37b
Fix PE/COFF header in EFI stub
2025-03-17 13:30:59 +08:00
10926ce547
Include payload as bytes in EFI stub
2025-03-17 13:30:59 +08:00
fbb8ea6ad1
Bump version to 0.13.0
2025-03-14 21:18:13 +08:00
288942b970
Revise the docs of the slab and remove an unused type
2025-03-14 21:17:47 +08:00
3d21258baf
Add descriptions and READMEs for crates published with OSDK
2025-03-14 19:55:00 +08:00
a708a0c046
Inject a scalable slab allocator
2025-03-14 19:55:00 +08:00
eb74d87bed
Bump version to 0.12.0
2025-03-14 09:48:59 +08:00
28e7c0ff1f
Add a fixed-size cache of frame allocation
2025-03-14 08:37:37 +08:00
5f05963ee5
Inject a scalable buddy system allocator to OSTD
...
Co-authored-by: Zhe Tang <tangzh@stu.pku.edu.cn >
2025-03-14 08:37:37 +08:00
9c430b9901
Move the test kernel to OSDK/deps
2025-03-14 08:37:37 +08:00
30251964ee
Bump version to 0.11.3
2025-02-27 11:55:02 +08:00
9b8c6b5aa9
Update the toolchain version in template
2025-02-27 11:36:41 +08:00
cbb4b4e631
Fix lint errors
2025-02-27 11:36:41 +08:00
82a2c4cdec
Bumped version to 0.11.2
2025-02-27 09:05:03 +08:00
17c8da7459
Fix the problem that OSDK picks the test kernel by default
2025-02-21 21:17:29 +08:00
d74d126e64
Enhance OSDK profile stability for SMP
2025-02-21 09:54:36 +08:00
faf2bcc3ef
Make cargo osdk profile
more fine-grained
2025-02-13 16:01:40 +08:00
3e31df74e3
Fix an unfulfilled lint expectation on OSDK unit tests
2025-02-11 10:48:34 +08:00
0fc2bccd44
Let OSDK forward commands to the base crate if it is kernel
2025-02-11 10:48:34 +08:00
cb2d8412aa
Refactor the generation of base crates
2025-02-11 10:48:34 +08:00
32a6025819
Refactor the parsing of OSDK crate types
2025-02-11 10:48:34 +08:00
95bbc7f367
Enforce #[expect(lint)]
2025-02-08 15:10:04 +08:00
0dca168717
Use #[expect(lint)]
, not #[allow(lint)]
2025-02-08 15:10:04 +08:00
397ce9652f
Refactor boot modules to make heap allocation explicit
2025-01-02 10:41:51 +08:00
bfc71d1b27
Bump version to 0.11.1
2024-12-30 16:24:22 +08:00
983a6af3cc
Polish the doc and rename variables in ostd::mm
2024-12-27 12:12:51 +08:00
cdac59beda
Implement a new set of physical page APIs
2024-12-27 12:12:51 +08:00
c9a37ccab1
Renaming concepts around pages and frames
...
This commit renames `Frame` -> `UntypedFrame` and `Page` -> `Frame`.
So do other concepts in the following list:
- `Segment` -> `UntypedSegment`,
- `ContPages` -> `Segment`,
- `DynPage` -> `AnyFrame`,
- `PageMeta` -> `FrameMeta`,
- `FrameMeta` -> `UntypedMeta`.
This commit also re-organized the source in the `mm/page` and `mm/frame`
module to accommodate the changes.
2024-12-27 12:12:51 +08:00
bd89c9c578
Bump the version to 0.11.0
2024-12-26 19:20:58 +08:00
6f98c4900d
Bump version to 0.10.3
2024-12-20 09:49:35 +08:00
c5d1542736
Bump version to 0.10.2
2024-12-17 10:47:41 +08:00
ea1874aa46
Enhance OSDK performance by using size and modified time instead of sha256sum
2024-12-15 16:42:57 +08:00
9d82ac8958
Enhance OSDK performance by using hard link instead of copy
2024-12-15 16:42:57 +08:00
7601509e6e
Fix OSDK original directory not restored if bundle validation fails
2024-12-15 16:42:57 +08:00