Software APIs
mock_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/mock_boot_policy_ptrs.h"
6 
7 namespace rom_test {
8 extern "C" {
9 const manifest_t *boot_policy_manifest_a_get() {
10  return MockBootPolicyPtrs::Instance().ManifestA();
11 }
12 
13 const manifest_t *boot_policy_manifest_b_get() {
14  return MockBootPolicyPtrs::Instance().ManifestB();
15 }
16 } // extern "C"
17 } // namespace rom_test