dancrossnyc / r9 Goto Github PK
View Code? Open in Web Editor NEWPlan 9 in Rust
License: MIT License
Plan 9 in Rust
License: MIT License
running on macOS
git clone r9
cd r9
cargo build
warning: field `name` is never read
--> port/src/mcslock.rs:33:5
|
32 | pub struct MCSLock {
| ------- field in this struct
33 | name: &'static str,
| ^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: `port` (lib) generated 1 warning
Compiling x86_64 v0.1.0 (/Users/sevki/src/r9/x86_64)
error: the `att_syntax` option is only supported on x86
--> x86_64/src/pio.rs:5:9
|
5 | asm!("outb %al, %dx", in("dx") port, in("al") b, options(att_syntax));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: invalid register `dx`: unknown register
--> x86_64/src/pio.rs:5:31
|
5 | asm!("outb %al, %dx", in("dx") port, in("al") b, options(att_syntax));
| ^^^^^^^^^^^^^
error: invalid register `al`: unknown register
--> x86_64/src/pio.rs:5:46
|
5 | asm!("outb %al, %dx", in("dx") port, in("al") b, options(att_syntax));
| ^^^^^^^^^^
error: the `att_syntax` option is only supported on x86
--> x86_64/src/pio.rs:11:9
|
11 | asm!("outw %ax, %dx", in("dx") port, in("ax") w, options(att_syntax));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: invalid register `dx`: unknown register
--> x86_64/src/pio.rs:11:31
|
11 | asm!("outw %ax, %dx", in("dx") port, in("ax") w, options(att_syntax));
| ^^^^^^^^^^^^^
error: invalid register `ax`: unknown register
--> x86_64/src/pio.rs:11:46
|
11 | asm!("outw %ax, %dx", in("dx") port, in("ax") w, options(att_syntax));
| ^^^^^^^^^^
error: the `att_syntax` option is only supported on x86
--> x86_64/src/pio.rs:17:9
|
17 | asm!("outl %eax, %dx", in("dx") port, in("ax") l, options(att_syntax));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: invalid register `dx`: unknown register
--> x86_64/src/pio.rs:17:32
|
17 | asm!("outl %eax, %dx", in("dx") port, in("ax") l, options(att_syntax));
| ^^^^^^^^^^^^^
error: invalid register `ax`: unknown register
--> x86_64/src/pio.rs:17:47
|
17 | asm!("outl %eax, %dx", in("dx") port, in("ax") l, options(att_syntax));
| ^^^^^^^^^^
error: the `att_syntax` option is only supported on x86
--> x86_64/src/main.rs:12:1
|
12 | core::arch::global_asm!(include_str!("l.S"), options(att_syntax));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `core::arch::global_asm` (in Nightly builds, run with -Z macro-backtrace for more info)
error: could not compile `x86_64` due to 10 previous errors
I am on an m1 Mac mini, sooooo could there be an implied x86 cli arg/flag that is derived by the host architecture?
Aarch64 needs the MMU to be set up before being able to use atomics. Once this is done, we can remove the early console code added in #17 (but keeping the miniuart).
I have a visionfive2 board to experiment with. How best can I help test on this real hardware?
A 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.