[package]
name = "nel_os"
version = "0.1.0"
edition = "2018"

[dependencies]
bootloader = { version = "0.9", features = ["map_physical_memory"] }
volatile = "0.2.6"
spin = "0.5.2"
x86_64 = "0.14.2"
uart_16550 = "0.2.0"
pic8259 = "0.11.0"
pc-keyboard = "0.8.0"
linked_list_allocator = "0.9.0"
x86 = "0.52.0"
bitfield = "0.19.0"
numeric-enum-macro = "0.2.0"
rand = { version = "0.6.5", default-features = false }
raw-cpuid = "11.5.0"

[dependencies.lazy_static]
version = "1.0"
features = ["spin_no_std"]

[package.metadata.bootimage]
run-args = [
  "-serial",
  "stdio",
  "-display",
  "none",
  "-m",
  "256M",
  "-cpu",
  "host",
  "-enable-kvm",
  "-monitor",
  "telnet:127.0.0.1:5555,server,nowait",
  "-s"
]
test-args = [
  "-device",
  "isa-debug-exit,iobase=0xf4,iosize=0x04",
  "-serial",
  "stdio",
  "-display",
  "none",
  "-cpu",
  "host",
  "-enable-kvm"
]
test-success-exit-code = 33
test-timeout = 300

[[test]]
name = "should_panic"
harness = false

[[test]]
name = "stack_overflow"
harness = false
