Skip to content

Commit

Permalink
riscv scaffolding for codegen
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
  • Loading branch information
dave-tucker committed May 23, 2022
1 parent 3acd8d3 commit edaa70b
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions aya/src/generated/linux_bindings_riscv64.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

5 changes: 5 additions & 0 deletions aya/src/generated/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ mod btf_internal_bindings;
mod linux_bindings_aarch64;
#[cfg(target_arch = "arm")]
mod linux_bindings_armv7;
#[cfg(target_arch = "riscv64")]
mod linux_bindings_riscv64;
#[cfg(target_arch = "x86_64")]
mod linux_bindings_x86_64;

Expand All @@ -24,3 +26,6 @@ pub use linux_bindings_armv7::*;

#[cfg(target_arch = "aarch64")]
pub use linux_bindings_aarch64::*;

#[cfg(target_arch = "riscv64")]
pub use linux_bindings_riscv64::*;
Empty file.
Empty file.
Empty file.
4 changes: 4 additions & 0 deletions bpf/aya-bpf-bindings/src/riscv64/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#![allow(clippy::all, dead_code)]
pub mod bindings;
pub mod getters;
pub mod helpers;

0 comments on commit edaa70b

Please sign in to comment.