kladd / ivy Goto Github PK
View Code? Open in Web Editor NEWA 64-bit kernel written in hard tabs.
A 64-bit kernel written in hard tabs.
saurabh@raiden:~/ivy$ make
mkdir -p target/kernel
nasm -o target/kernel/start.o -felf32 src/arch/x86/main.asm
ar rvs target/kernel/libstart.a target/kernel/start.o
ar: creating target/kernel/libstart.a
a - target/kernel/start.o
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: latest update on 2023-04-30, rust version 1.71.0-nightly (87b1f891e 2023-04-29)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-src'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
info: installing component 'rust-src'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustfmt'
Updating crates.io index
Downloaded addr2line v0.19.0
Downloaded rustc-demangle v0.1.21
Downloaded unicode-width v0.1.10
Downloaded adler v1.0.2
Downloaded cc v1.0.77
Downloaded memchr v2.5.0
Downloaded cfg-if v1.0.0
Downloaded object v0.30.1
Downloaded hashbrown v0.12.3
Downloaded compiler_builtins v0.1.91
Downloaded libc v0.2.142
Downloaded gimli v0.27.2
Downloaded getopts v0.2.21
Downloaded miniz_oxide v0.6.2
Downloaded 14 crates (2.2 MB) in 0.28s
Compiling compiler_builtins v0.1.91
Compiling core v0.0.0 (/home/saurabh/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
Compiling rustc-std-workspace-core v1.99.0 (/home/saurabh/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core)
Compiling alloc v0.0.0 (/home/saurabh/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc)
Compiling ivy v0.1.0 (/home/saurabh/ivy)
warning: extern
block uses type FATFileSystem
, which is not FFI-safe
--> src/main.rs:68:23
|
68 | fn switch_task(task: &Task) -> u32;
| ^^^^^ not FFI-safe
|
= help: consider adding a #[repr(C)]
or #[repr(transparent)]
attribute to this struct
= note: this struct has unspecified layout
note: the type is defined here
--> src/fat.rs:204:1
|
204 | pub struct FATFileSystem {
| ^^^^^^^^^^^^^^^^^^^^^^^^
= note: #[warn(improper_ctypes)]
on by default
warning: ivy
(bin "ivy") generated 1 warning
Finished dev [unoptimized + debuginfo] target(s) in 10.52s`
saurabh@raiden:~/ivy$ make run
nasm -o target/kernel/start.o -felf32 src/arch/x86/main.asm
ar rvs target/kernel/libstart.a target/kernel/start.o
r - target/kernel/start.o
warning: extern
block uses type FATFileSystem
, which is not FFI-safe
--> src/main.rs:68:23
|
68 | fn switch_task(task: &Task) -> u32;
| ^^^^^ not FFI-safe
|
= help: consider adding a #[repr(C)]
or #[repr(transparent)]
attribute to this struct
= note: this struct has unspecified layout
note: the type is defined here
--> src/fat.rs:204:1
|
204 | pub struct FATFileSystem {
| ^^^^^^^^^^^^^^^^^^^^^^^^
= note: #[warn(improper_ctypes)]
on by default
warning: ivy
(bin "ivy") generated 1 warning
Finished dev [unoptimized + debuginfo] target(s) in 0.02s
qemu-img"" create -f raw target/kernel/_disk_image 1g
Formatting 'target/kernel/_disk_image', fmt=raw size=1073741824
mkfs.fat -F 16 target/kernel/_disk_image
make: mkfs.fat: No such file or directory
make: *** [Makefile:26: target/kernel/_disk_image] Error 127
COM1
COM1
COM1
if compiled in headless modeA declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.