Software APIs
mock_boot_svc_header.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/lib/boot_svc/mock_boot_svc_header.h"
6 
7 namespace rom_test {
8 extern "C" {
9 void boot_svc_header_finalize(uint32_t type, uint32_t length,
10  boot_svc_header_t *header) {
11  MockBootSvcHeader::Instance().Finalize(type, length, header);
12 }
13 }
14 } // namespace rom_test