(&self, machine: &Machine)
| 280 | } |
| 281 | |
| 282 | pub fn mrtd(&self, machine: &Machine) -> Result<Vec<u8>> { |
| 283 | let opts = machine |
| 284 | .versioned_options() |
| 285 | .context("Failed to get versioned options")?; |
| 286 | self.compute_mrtd(if opts.two_pass_add_pages { |
| 287 | PageAddOrder::TwoPass |
| 288 | } else { |
| 289 | PageAddOrder::SinglePass |
| 290 | }) |
| 291 | } |
| 292 | |
| 293 | #[allow(dead_code)] |
| 294 | pub fn rtmr0(&self, machine: &Machine) -> Result<Vec<u8>> { |
no test coverage detected