-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
40 lines (33 loc) · 1.12 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[package]
name = "os"
version = "0.2.0"
description = "A Operating System."
keywords = ["system", "uefi", "os"]
license = "GPL v3"
authors = ["韩朴宇 <[email protected]>"]
repository = "https://github.com/12101111/os"
homepage = "https://github.com/12101111/os"
edition = "2018"
[dependencies]
log = { version = "0.4", default-features = false }
#lazy_static = {version = "1" ,features =["spin_no_std"]}
spin = "0.6"
staticvec = { version = "0.10", default-features = false }
uefi = "0.6"
x86_64 = "0.12"
acpi = "2.0"
fbterm = { git = "https://github.com/12101111/fbterm", features = ["alloc"]}
uart_16550 = { git = "https://github.com/12101111/uart_16550"}
[package.metadata.bootuefi]
qemu = "qemu-system-x86_64"
bios = "/usr/share/edk2-ovmf/OVMF_CODE.fd"
run-args = ["-cpu","host","-smp","3","-monitor","vc","-m","351M","-serial","stdio"]
test-args = ["-device","isa-debug-exit,iobase=0xf4,iosize=0x04","-nographic","-serial","stdio"]
test-success-exit-code = 33
test-timeout = 300
[package.metadata.bootuefi.copy]
"/usr/share/fonts/sarasa/sarasa-mono-sc-regular.ttf" = "font.ttf"
[profile.dev]
lto = true
[profile.release]
lto = true