2023-07-18 18:03:45 +03:00
|
|
|
[package]
|
|
|
|
name = "yggdrasil-kernel"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
2023-08-05 16:32:12 +03:00
|
|
|
build = "build.rs"
|
2023-12-11 03:04:49 +02:00
|
|
|
authors = ["Mark Poliakov <mark@alnyan.me>"]
|
2023-07-18 18:03:45 +03:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2024-03-12 18:17:47 +02:00
|
|
|
abi-lib = { path = "../lib/abi-lib" }
|
|
|
|
yggdrasil-abi = { path = "../lib/abi" }
|
2024-03-12 13:46:24 +02:00
|
|
|
|
2023-08-13 21:23:58 +03:00
|
|
|
device-api = { path = "lib/device-api", features = ["derive"] }
|
2024-02-04 21:13:40 +02:00
|
|
|
libk = { path = "libk" }
|
2024-02-14 17:20:42 +02:00
|
|
|
libk-util = { path = "libk/libk-util" }
|
|
|
|
libk-mm = { path = "libk/libk-mm" }
|
|
|
|
libk-device = { path = "libk/libk-device" }
|
2023-09-13 18:21:45 +03:00
|
|
|
memtables = { path = "lib/memtables" }
|
2023-10-01 16:58:46 +03:00
|
|
|
vmalloc = { path = "lib/vmalloc" }
|
2023-12-10 12:51:53 +02:00
|
|
|
device-api-macros = { path = "lib/device-api/macros" }
|
2023-07-18 18:03:45 +03:00
|
|
|
|
2024-02-05 13:44:21 +02:00
|
|
|
kernel-arch = { path = "arch" }
|
|
|
|
|
2023-12-10 21:25:54 +02:00
|
|
|
# Drivers
|
2024-02-03 20:44:04 +02:00
|
|
|
ygg_driver_pci = { path = "driver/bus/pci" }
|
2024-02-26 23:04:51 +02:00
|
|
|
ygg_driver_usb = { path = "driver/bus/usb" }
|
2024-01-20 19:40:27 +02:00
|
|
|
ygg_driver_net_core = { path = "driver/net/core" }
|
2024-01-26 18:53:07 +02:00
|
|
|
ygg_driver_net_loopback = { path = "driver/net/loopback" }
|
2024-02-03 20:44:04 +02:00
|
|
|
ygg_driver_virtio_net = { path = "driver/virtio/net", features = ["pci"] }
|
2024-02-04 13:15:18 +02:00
|
|
|
ygg_driver_ahci = { path = "driver/block/ahci" }
|
2024-02-26 23:04:51 +02:00
|
|
|
ygg_driver_usb_xhci = { path = "driver/usb/xhci" }
|
|
|
|
ygg_driver_input = { path = "driver/input" }
|
2024-02-04 13:15:18 +02:00
|
|
|
|
2023-12-10 23:22:21 +02:00
|
|
|
kernel-fs = { path = "driver/fs/kernel-fs" }
|
2023-12-11 03:04:49 +02:00
|
|
|
memfs = { path = "driver/fs/memfs" }
|
2023-12-10 21:25:54 +02:00
|
|
|
|
2023-08-01 18:05:10 +03:00
|
|
|
atomic_enum = "0.2.0"
|
2023-07-18 18:03:45 +03:00
|
|
|
bitflags = "2.3.3"
|
2023-07-30 16:40:30 +03:00
|
|
|
spinning_top = "0.2.5"
|
2023-09-13 18:21:45 +03:00
|
|
|
static_assertions = "1.1.0"
|
2023-08-01 11:09:56 +03:00
|
|
|
tock-registers = "0.8.1"
|
2023-07-28 14:26:39 +03:00
|
|
|
cfg-if = "1.0.0"
|
2023-07-30 16:40:30 +03:00
|
|
|
git-version = "0.3.5"
|
2023-08-21 17:26:44 +03:00
|
|
|
log = "0.4.20"
|
2023-09-05 16:17:48 +03:00
|
|
|
futures-util = { version = "0.3.28", default-features = false, features = ["alloc", "async-await"] }
|
|
|
|
crossbeam-queue = { version = "0.3.8", default-features = false, features = ["alloc"] }
|
2023-09-06 18:48:00 +03:00
|
|
|
bytemuck = { version = "1.14.0", features = ["derive"] }
|
2023-08-09 10:36:32 +03:00
|
|
|
|
2023-07-20 18:51:56 +03:00
|
|
|
[dependencies.elf]
|
|
|
|
version = "0.7.2"
|
|
|
|
git = "https://git.alnyan.me/yggdrasil/yggdrasil-elf.git"
|
|
|
|
default-features = false
|
|
|
|
features = ["no_std_stream"]
|
2023-07-28 14:26:39 +03:00
|
|
|
|
2023-07-29 19:31:56 +03:00
|
|
|
[target.'cfg(target_arch = "aarch64")'.dependencies]
|
2023-08-21 17:26:44 +03:00
|
|
|
aarch64-cpu = "9.3.1"
|
2024-02-04 15:18:34 +02:00
|
|
|
device-tree = { path = "lib/device-tree" }
|
2024-02-06 12:27:02 +02:00
|
|
|
kernel-arch-aarch64 = { path = "arch/aarch64" }
|
2023-07-29 19:31:56 +03:00
|
|
|
|
2023-07-28 14:26:39 +03:00
|
|
|
[target.'cfg(target_arch = "x86_64")'.dependencies]
|
2024-03-12 18:17:47 +02:00
|
|
|
yboot-proto = { path = "../boot/yboot-proto" }
|
2023-11-06 10:29:53 +02:00
|
|
|
aml = { git = "https://github.com/alnyan/acpi.git", branch = "acpi-system" }
|
|
|
|
acpi_lib = { git = "https://github.com/alnyan/acpi.git", package = "acpi", branch = "acpi-system" }
|
|
|
|
acpi-system = { git = "https://github.com/alnyan/acpi-system.git" }
|
2024-01-04 23:04:34 +02:00
|
|
|
ygg_driver_nvme = { path = "driver/block/nvme" }
|
2024-02-06 12:27:02 +02:00
|
|
|
kernel-arch-x86_64 = { path = "arch/x86_64" }
|
2023-08-08 20:00:24 +03:00
|
|
|
|
2024-03-12 13:46:24 +02:00
|
|
|
[build-dependencies]
|
|
|
|
prettyplease = "0.2.15"
|
2024-03-12 18:17:47 +02:00
|
|
|
abi-generator = { path = "../tool/abi-generator" }
|
2024-03-12 13:46:24 +02:00
|
|
|
|
2023-08-08 20:00:24 +03:00
|
|
|
[features]
|
2023-09-13 18:21:45 +03:00
|
|
|
default = ["fb_console"]
|
2023-09-06 18:48:00 +03:00
|
|
|
fb_console = []
|