summaryrefslogtreecommitdiff
path: root/host/arch/stub/lib/crossystem_arch.c
diff options
context:
space:
mode:
Diffstat (limited to 'host/arch/stub/lib/crossystem_arch.c')
-rw-r--r--host/arch/stub/lib/crossystem_arch.c49
1 files changed, 49 insertions, 0 deletions
diff --git a/host/arch/stub/lib/crossystem_arch.c b/host/arch/stub/lib/crossystem_arch.c
new file mode 100644
index 00000000..4a71dddc
--- /dev/null
+++ b/host/arch/stub/lib/crossystem_arch.c
@@ -0,0 +1,49 @@
+/* Copyright (c) 2020 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#include "crossystem_arch.h"
+#include "crossystem.h"
+#include "crossystem_vbnv.h"
+#include "host_common.h"
+#include "vboot_struct.h"
+
+int vb2_read_nv_storage(struct vb2_context *ctx)
+{
+ return -1;
+}
+
+
+int vb2_write_nv_storage(struct vb2_context *ctx)
+{
+ return -1;
+}
+
+VbSharedDataHeader* VbSharedDataRead(void)
+{
+ return NULL;
+}
+
+int VbGetArchPropertyInt(const char* name)
+{
+ return -1;
+}
+
+
+const char* VbGetArchPropertyString(const char* name, char* dest,
+ size_t size)
+{
+ return NULL;
+}
+
+
+int VbSetArchPropertyInt(const char* name, int value)
+{
+ return -1;
+}
+
+int VbSetArchPropertyString(const char* name, const char* value)
+{
+ return -1;
+}