Software APIs
mock_rom_ext_boot_policy_ptrs.cc
1 // Copyright lowRISC contributors (OpenTitan project).
2 // Licensed under the Apache License, Version 2.0, see LICENSE for details.
3 // SPDX-License-Identifier: Apache-2.0
4 
5 #include "sw/device/silicon_creator/rom_ext/mock_rom_ext_boot_policy_ptrs.h"
6 
7 namespace rom_test {
8 extern "C" {
9 const manifest_t *rom_ext_boot_policy_manifest_a_get() {
10  return MockRomExtBootPolicyPtrs::Instance().ManifestA();
11 }
12 
13 const manifest_t *rom_ext_boot_policy_manifest_b_get() {
14  return MockRomExtBootPolicyPtrs::Instance().ManifestB();
15 }
16 } // extern "C"
17 } // namespace rom_test