2019-10-01 14:53:54 +02:00
|
|
|
[workspace]
|
|
|
|
|
|
|
|
members = [
|
2019-10-06 17:16:19 +02:00
|
|
|
"vga_buffer",
|
2019-10-21 13:10:53 +02:00
|
|
|
"polling_serial",
|
2020-02-05 10:23:52 +01:00
|
|
|
"cache_utils",
|
2019-10-01 14:53:54 +02:00
|
|
|
]
|
2019-10-02 09:52:19 +02:00
|
|
|
|
2019-10-06 17:16:19 +02:00
|
|
|
[package]
|
|
|
|
name = "dendrobates_tinctoreus_azureus"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Guillaume DIDIER <guillaume.didier.2014@polytechnique.org>"]
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
[package.metadata.bootimage]
|
2019-10-21 13:10:53 +02:00
|
|
|
#run-command = ["./scripts/bochs.sh", "{}"]
|
|
|
|
run-command = ["./scripts/run.sh", "{}"]
|
|
|
|
test-args = ["qemu"]
|
|
|
|
run-args = ["bochs"]
|
|
|
|
#run-command = ["qemu-system-x86_64", "-drive", "format=raw,file={}"]
|
|
|
|
#test-args = ["-device", "isa-debug-exit,iobase=0xf4,iosize=0x04"]
|
|
|
|
test-success-exit-code = 33 # (0x10 << 1) | 1
|
2019-10-06 17:16:19 +02:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
x86_64 = "0.7.5"
|
|
|
|
vga_buffer = { path = "vga_buffer" }
|
2019-10-21 13:10:53 +02:00
|
|
|
polling_serial = { path = "polling_serial" }
|
|
|
|
volatile = "0.2.6"
|
2019-11-14 14:26:37 +01:00
|
|
|
linked_list_allocator = "0.6.4"
|
2020-02-05 10:23:52 +01:00
|
|
|
cache_utils = { path = "cache_utils" }
|
2019-10-06 17:16:19 +02:00
|
|
|
|
2019-11-04 13:54:43 +01:00
|
|
|
[dependencies.lazy_static]
|
|
|
|
version = "1.0"
|
|
|
|
features = ["spin_no_std"]
|
|
|
|
|
2019-10-06 17:16:19 +02:00
|
|
|
[dependencies.bootloader]
|
2019-10-21 13:14:50 +02:00
|
|
|
version = "^0.8.2"
|
2019-11-04 14:49:00 +01:00
|
|
|
features = ["sse", "map_physical_memory"]
|
2019-10-06 17:16:19 +02:00
|
|
|
|
2019-10-21 13:14:50 +02:00
|
|
|
#[patch.crates-io]
|
|
|
|
#bootloader = { path = "../bootloader" }
|
2019-10-06 17:16:19 +02:00
|
|
|
|
|
|
|
[profile.dev]
|
2019-11-04 13:54:43 +01:00
|
|
|
opt-level = 1
|
|
|
|
debug = 2
|
|
|
|
|
2020-02-04 14:23:14 +01:00
|
|
|
|
2019-11-04 13:54:43 +01:00
|
|
|
[profile.test]
|
|
|
|
opt-level = 1
|
2019-10-06 17:16:19 +02:00
|
|
|
debug = 2
|
2019-10-21 13:10:53 +02:00
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "panic_test"
|
|
|
|
harness = false
|
2019-11-04 13:54:43 +01:00
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "stack_overflow"
|
|
|
|
harness = false
|