kernel/Cargo.toml
2022-11-01 07:24:50 -05:00

47 lines
1.4 KiB
TOML

[package]
name = "kernel"
version = "0.1.0"
edition = "2021"
[dependencies]
x86_64 = { git = "https://github.com/pjht/x86_64", features = ["experimental"] }
tar-no-std = { path = "../tar-no-std" }
unwinding = { path = "../unwinding", default-features = false, features = ["personality", "panic", "unwinder", "fde-static", "hide-trace"] }
uart_16550 = "0.2.15"
spin = "0.9.2"
linked_list_allocator = "0.9.1"
elfloader = "0.14.0"
tap = "1.0.1"
replace_with = { version = "0.1.7", default-features = false, features = ["nightly"] }
hashbrown = "0.12.0"
pic8259 = "0.10.2"
bootloader = "0.10.13"
static_assertions = "1.1.0"
crossbeam-queue = { version = "0.3.4", default-features = false, features = ["alloc"] }
slab = { version = "0.4.6", default-features = false }
intrusive-collections = "0.9.4"
[profile.dev]
panic = "abort"
[profile.release]
panic = "abort"
strip = true
[features]
[package.metadata.bootimage]
run-args = ["-nographic", "-m", "4G", "-device", "isa-debug-exit,iobase=0xf4,iosize=0x04", "--no-reboot", "-hdb", "../ext2.img"]
[package.metadata.bootloader]
map-physical-memory = true
dynamic-range-start = "0xFFFF_8000_0000_0000"
# physical-memory-offset = "0xFFFFFF8000000000"
# kernel-stack-address = "0xFFFFFF7FFFE00000"
# boot-info-address = "0xFFFFFF7FFFC00000"
# kernel-stack-size = 2093056 # 511 pages
[patch.crates-io]
x86_64 = { git = "https://github.com/pjht/x86_64" }