blob: 7c9e5b17540c516b8b28c8ad52d9068ce94bd398 [file] [log] [blame]
Randall Spanglerda2b49c2014-06-10 17:03:40 -07001/* Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file.
4 *
5 * Stub API implementations which should be implemented by the caller.
6 */
7
8#include "2sysincludes.h"
9#include "2api.h"
10
11int vb2ex_tpm_clear_owner(struct vb2_context *ctx)
12{
Randall Spangler25c95d02014-06-20 13:57:12 -070013 return VB2_ERROR_EX_TPM_CLEAR_OWNER_UNIMPLEMENTED;
Randall Spanglerda2b49c2014-06-10 17:03:40 -070014}
15
16int vb2ex_read_resource(struct vb2_context *ctx,
17 enum vb2_resource_index index,
18 uint32_t offset,
19 void *buf,
20 uint32_t size)
21{
Randall Spangler25c95d02014-06-20 13:57:12 -070022 return VB2_ERROR_EX_READ_RESOURCE_UNIMPLEMENTED;
Randall Spanglerda2b49c2014-06-10 17:03:40 -070023}