"git@gitlab.redox-os.org:plimkilde/relibc.git" did not exist on "9443eef518f0e43fe3c2c69d0d7e48db8b7cb299"
Commits on Source (1094)
Showing
- .cargo/config 0 additions, 5 deletions.cargo/config
- .gitignore 2 additions, 0 deletions.gitignore
- .gitlab-ci.yml 30 additions, 0 deletions.gitlab-ci.yml
- .gitmodules 8 additions, 3 deletions.gitmodules
- .helix/config.toml 2 additions, 0 deletions.helix/config.toml
- .helix/languages.toml 13 additions, 0 deletions.helix/languages.toml
- Cargo.lock 372 additions, 93 deletionsCargo.lock
- Cargo.toml 58 additions, 23 deletionsCargo.toml
- Makefile 44 additions, 0 deletionsMakefile
- README.md 45 additions, 17 deletionsREADME.md
- Xargo.toml 0 additions, 1 deletionXargo.toml
- build.rs 71 additions, 142 deletionsbuild.rs
- clippy.sh 1 addition, 10 deletionsclippy.sh
- config.toml.example 7 additions, 0 deletionsconfig.toml.example
- linkers/aarch64.ld 62 additions, 0 deletionslinkers/aarch64.ld
- linkers/i686.ld 57 additions, 0 deletionslinkers/i686.ld
- linkers/riscv64.ld 68 additions, 0 deletionslinkers/riscv64.ld
- linkers/x86_64.ld 32 additions, 24 deletionslinkers/x86_64.ld
- rmm 1 addition, 0 deletionsrmm
- rustfmt.toml 21 additions, 0 deletionsrustfmt.toml
.cargo/config
deleted
100644 → 0
.gitlab-ci.yml
0 → 100644
.helix/config.toml
0 → 100644
.helix/languages.toml
0 → 100644
[package] | [package] | ||
name = "kernel" | name = "kernel" | ||
version = "0.1.54" | version = "0.4.1" | ||
build = "build.rs" | build = "build.rs" | ||
edition = "2018" | edition = "2021" | ||
[lib] | [build-dependencies] | ||
name = "kernel" | cc = "1.0" | ||
path = "src/lib.rs" | rustc-cfg = "0.5" | ||
crate-type = ["staticlib"] | toml = "0.8" | ||
[dependencies] | [dependencies] | ||
bitflags = "1.2.1" | bitflags = "2" | ||
linked_list_allocator = "0.8.4" | bitfield = "0.13.2" | ||
raw-cpuid = "8.0.0" | hashbrown = { version = "0.14.3", default-features = false, features = ["ahash", "inline-more"] } | ||
redox_syscall = { path = "syscall" } | linked_list_allocator = "0.9.0" | ||
log = "0.4" | |||
redox-path = "0.2.0" | |||
redox_syscall = { git = "https://gitlab.redox-os.org/redox-os/syscall.git", branch = "master", default-features = false } | |||
slab_allocator = { path = "slab_allocator", optional = true } | slab_allocator = { path = "slab_allocator", optional = true } | ||
spin = "0.5.2" | spin = "0.9.8" | ||
paste = "0.1.18" | spinning_top = { version = "0.3", features = ["arc_lock"] } | ||
rmm = { path = "rmm", default-features = false } | |||
arrayvec = { version = "0.7.4", default-features = false } | |||
slab = { version = "0.4", default-features = false } | |||
# TODO: Remove | |||
indexmap = { version = "2.5.0", default-features = false } | |||
[dependencies.goblin] | [dependencies.goblin] | ||
version = "0.2.1" | version = "0.2.1" | ||
... | @@ -27,30 +35,57 @@ features = ["elf32", "elf64"] | ... | @@ -27,30 +35,57 @@ features = ["elf32", "elf64"] |
version = "0.1.16" | version = "0.1.16" | ||
default-features = false | default-features = false | ||
[dependencies.x86] | [target.'cfg(any(target_arch = "aarch64", target_arch = "riscv64"))'.dependencies] | ||
version = "0.32.0" | byteorder = { version = "1", default-features = false } | ||
default-features = false | fdt = { git = "https://github.com/repnop/fdt.git", rev = "2fb1409edd1877c714a0aa36b6a7c5351004be54" } | ||
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies] | |||
raw-cpuid = "10.2.0" | |||
x86 = { version = "0.47.0", default-features = false } | |||
[target.'cfg(any(target_arch = "riscv64", target_arch = "riscv32"))'.dependencies] | |||
sbi-rt = "0.0.3" | |||
[features] | [features] | ||
default = ["acpi", "multi_core", "serial_debug"] | default = [ | ||
"acpi", | |||
#TODO: issues with Alder Lake and newer CPUs: "multi_core", | |||
"graphical_debug", | |||
"serial_debug", | |||
"self_modifying", | |||
"x86_kvm_pv", | |||
] | |||
# Activates some limited code-overwriting optimizations, based on CPU features. | |||
self_modifying = [] | |||
acpi = [] | acpi = [] | ||
doc = [] | |||
graphical_debug = [] | graphical_debug = [] | ||
live = [] | |||
lpss_debug = [] | lpss_debug = [] | ||
multi_core = ["acpi"] | multi_core = ["acpi"] | ||
profiling = [] | |||
#TODO: remove when threading issues are fixed | |||
pti = [] | pti = [] | ||
qemu_debug = [] | qemu_debug = [] | ||
serial_debug = [] | serial_debug = [] | ||
system76_ec_debug = [] | system76_ec_debug = [] | ||
slab = ["slab_allocator"] | slab = ["slab_allocator"] | ||
sys_stat = [] | |||
x86_kvm_pv = [] | |||
[profile.dev] | debugger = ["syscall_debug"] | ||
# Kernel doesn't yet work great with debug mode :( | syscall_debug = [] | ||
opt-level = 3 | |||
# LTO fixes some duplicate symbols of memcpy/memmove/etc | sys_fdstat = [] | ||
lto = true | |||
[profile.dev] | |||
# Avoids having to define the eh_personality lang item and reduces kernel size | |||
panic = "abort" | |||
[profile.release] | [profile.release] | ||
# Avoids having to define the eh_personality lang item and reduces kernel size | |||
panic = "abort" | |||
lto = true | lto = true | ||
debug = "full" |
Makefile
0 → 100644
Xargo.toml
deleted
100644 → 0
config.toml.example
0 → 100644
linkers/aarch64.ld
0 → 100644
linkers/i686.ld
0 → 100644
linkers/riscv64.ld
0 → 100644
rustfmt.toml
0 → 100644