You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 7, 2021. It is now read-only.
https://github.com/lizhuohua/linux-kernel-module-rust/tree/master/smsc9512 is a Rust driver for the onboard NIC on the Raspberry Pi 2 and 3 (it is in fact a USB Ethernet device despite being onboard), based on an older version of this project. It's mostly unsafe code, but it looks like it's mostly unsafe because there aren't safe skb (socket buffer) bindings, and skb seems like the sort of thing that would very much benefit from Rust's safety tools.
Let's write a safe skb abstraction and then try to port that driver over (which would also require getting things going for ARM, probably).
I'm pretty sure I have an RPi 2 somewhere in this apartment....
The text was updated successfully, but these errors were encountered:
https://github.com/lizhuohua/linux-kernel-module-rust/tree/master/smsc9512 is a Rust driver for the onboard NIC on the Raspberry Pi 2 and 3 (it is in fact a USB Ethernet device despite being onboard), based on an older version of this project. It's mostly unsafe code, but it looks like it's mostly unsafe because there aren't safe skb (socket buffer) bindings, and skb seems like the sort of thing that would very much benefit from Rust's safety tools.
Let's write a safe skb abstraction and then try to port that driver over (which would also require getting things going for ARM, probably).
I'm pretty sure I have an RPi 2 somewhere in this apartment....
The text was updated successfully, but these errors were encountered: