Skip to content

Commit

Permalink
remove misinterpretations
Browse files Browse the repository at this point in the history
Signed-off-by: Bokdeuk Jeong <bd.jeong@samsung.com>
  • Loading branch information
bokdeuk-jeong committed Aug 14, 2024
1 parent 0db2167 commit cfdc214
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions rmm/src/realm/mm/rtt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,6 @@ pub fn get_ripas(rd: &Rd, ipa: usize, level: usize) -> Result<u64, Error> {
Ok(s2tte.get_ripas())
}

// FIXME: cca-rmm-acs and linux realm is using old version of entry state.
// i.e. no differentiation between (un)assigned and (un)assigned_ns
// while RMM spec defines each individually.
pub fn read_entry(rd: &Rd, ipa: usize, level: usize) -> Result<[usize; 4], Error> {
let (s2tte, last_level) = S2TTE::get_s2tte(rd, ipa, level, Error::RmiErrorRtt(0))?;

Expand Down
3 changes: 0 additions & 3 deletions rmm/src/rmi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ pub const ERROR_REC: usize = 3;
pub const SUCCESS_REC_ENTER: usize = 4;

// RmiRttEntryState represents the state of an RTTE
// FIXME: cca-rmm-acs and linux realm is using old version of entry state.
// i.e. There is no differentiation between (un)assigned and (un)assigned_ns
// while RMM spec defines each individually.
pub mod rtt_entry_state {
pub const RMI_UNASSIGNED: usize = 0;
pub const RMI_ASSIGNED: usize = 1;
Expand Down

0 comments on commit cfdc214

Please sign in to comment.