2018-07-20 12:03:26 +00:00
|
|
|
[package]
|
2019-05-02 06:34:52 +00:00
|
|
|
name = "neptune"
|
2018-07-20 12:03:26 +00:00
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["ishanjain28 <ishanjain28@gmail.com>"]
|
2019-05-02 06:34:52 +00:00
|
|
|
edition = "2018"
|
2018-07-20 12:03:26 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2019-01-13 19:16:20 +00:00
|
|
|
volatile = "0.2.3"
|
|
|
|
spin = "0.4.6"
|
2019-05-02 09:49:51 +00:00
|
|
|
bootloader = "0.6.0"
|
2019-05-02 17:13:39 +00:00
|
|
|
x86_64 = "0.5.2"
|
|
|
|
uart_16550 = "0.2.0"
|
2019-01-13 19:16:20 +00:00
|
|
|
|
|
|
|
[dependencies.lazy_static]
|
|
|
|
version = "1.0"
|
|
|
|
features = ["spin_no_std"]
|
2018-07-20 15:16:26 +00:00
|
|
|
|
|
|
|
[package.metadata.bootimage]
|
2019-05-02 09:49:51 +00:00
|
|
|
default-target = "neptune-x86_64.json"
|
2019-05-02 17:13:39 +00:00
|
|
|
# iobase specifies the port address on which device should be available
|
|
|
|
# iosize specifies the port size
|
|
|
|
# https://wiki.osdev.org/I/O_Ports#The_list
|
|
|
|
#
|
|
|
|
# Redirect serial output to console/terminal stdout
|
|
|
|
#
|
|
|
|
# Since, We are getting all test output in console, No need to create window when running tests
|
|
|
|
test-args = ["-device", "isa-debug-exit,iobase=0xf4,iosize=0x04", "-serial", "mon:stdio", "-display", "none"]
|
|
|
|
# test framework assumes every response code other than 0 to be an error
|
|
|
|
# Change that default to 33 (0x10 << 1) | 1
|
|
|
|
test-success-exit-code = 33
|
2019-05-02 06:34:52 +00:00
|
|
|
|
|
|
|
[profile.dev]
|
|
|
|
panic = "abort"
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
panic = "abort"
|