| Index: include/chromeos/load_util.h
|
| diff --git a/include/chromeos/load_util.h b/include/chromeos/load_util.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..be2e8a259ecf0753a6e4081e8c0ab9a6afbe65c7
|
| --- /dev/null
|
| +++ b/include/chromeos/load_util.h
|
| @@ -0,0 +1,22 @@
|
| +/*
|
| + * Copyright (c) 2011 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.
|
| + */
|
| +
|
| +#ifndef __CHROMEOS_LOAD_UTIL__
|
| +#define __CHROMEOS_LOAD_UTIL__
|
| +
|
| +#include <linux/types.h>
|
| +#include <vboot_struct.h>
|
| +
|
| +/*
|
| + * Wrapper of LoadKernel() function. Returns the return value of LoadKernel().
|
| + *
|
| + * See vboot_reference/firmware/include/load_kernel_fw.h for documentation.
|
| + */
|
| +int load_kernel(LoadKernelParams *params, uint8_t *kernel_sign_key_blob,
|
| + void *kernel_buffer, uint64_t kernel_buffer_size,
|
| + uint64_t boot_flags);
|
| +
|
| +#endif /* __CHROMEOS_LOAD_UTIL__ */
|
|
|