Skip to content

Commit 7cdd45a

Browse files
committed
Base code to get the basic features of APIC running.
Includes frame allocator, interrupt descriptor table and a global descriptor table examples.
1 parent ea3f61a commit 7cdd45a

File tree

9 files changed

+564
-14
lines changed

9 files changed

+564
-14
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/target/
22
**/*.rs.bk
3+
.idea

Cargo.lock

Lines changed: 55 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ members = [
2828
"tests/test_kernels/min_stack",
2929
"tests/test_kernels/lower_memory_free",
3030
"tests/test_kernels/write_usable_memory",
31+
"docs/apic_example",
3132
]
3233
exclude = ["examples/basic", "examples/test_framework"]
3334

docs/apic_example/Cargo.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[package]
2+
name = "apic_example"
3+
edition = "2021"
4+
version.workspace = true
5+
license.workspace = true
6+
repository.workspace = true
7+
8+
[dependencies]
9+
bootloader_api = { workspace = true }
10+
x86_64 = "=0.15.1"
11+
lazy_static = "=1.5.0"
12+
spin = "=0.9.8"
13+
acpi = "=4.1.1"
14+
log = "=0.4.19"

0 commit comments

Comments
 (0)