xref: /aosp_15_r20/external/vboot_reference/host/arch/stub/lib/crossystem_arch.c (revision 8617a60d3594060b7ecbd21bc622a7c14f3cf2bc)
1 /* Copyright 2020 The ChromiumOS Authors
2  * Use of this source code is governed by a BSD-style license that can be
3  * found in the LICENSE file.
4  */
5 
6 #include "crossystem_arch.h"
7 #include "crossystem.h"
8 #include "crossystem_vbnv.h"
9 #include "host_common.h"
10 #include "vboot_struct.h"
11 
vb2_read_nv_storage(struct vb2_context * ctx)12 int vb2_read_nv_storage(struct vb2_context *ctx)
13 {
14 	return -1;
15 }
16 
17 
vb2_write_nv_storage(struct vb2_context * ctx)18 int vb2_write_nv_storage(struct vb2_context *ctx)
19 {
20 	return -1;
21 }
22 
VbSharedDataRead(void)23 VbSharedDataHeader* VbSharedDataRead(void)
24 {
25 	return NULL;
26 }
27 
VbGetArchPropertyInt(const char * name)28 int VbGetArchPropertyInt(const char* name)
29 {
30 	return -1;
31 }
32 
33 
VbGetArchPropertyString(const char * name,char * dest,size_t size)34 const char* VbGetArchPropertyString(const char* name, char* dest,
35 				    size_t size)
36 {
37 	return NULL;
38 }
39 
40 
VbSetArchPropertyInt(const char * name,int value)41 int VbSetArchPropertyInt(const char* name, int value)
42 {
43 	return -1;
44 }
45 
VbSetArchPropertyString(const char * name,const char * value)46 int VbSetArchPropertyString(const char* name, const char* value)
47 {
48 	return -1;
49 }
50