top | item 42932499 (no title) Dagonfly | 1 year ago As most of the kernel is in C, they probably need a raw pointer quite regularly to pass it into existing C APIs.Just like `Box::into_raw`, this method shouldn't be used in pure Rust code. It's only available for C FFI. discuss order hn newest meltyness|1 year ago Right but, this isn't merely FFI code, those are via Bindgen, this is the abstraction intended to be provided to all DMA driver authors as the API, as I understand it.
meltyness|1 year ago Right but, this isn't merely FFI code, those are via Bindgen, this is the abstraction intended to be provided to all DMA driver authors as the API, as I understand it.
meltyness|1 year ago