OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. |
| 5 */ |
| 6 |
| 7 #ifndef __CHROMEOS_LOAD_UTIL__ |
| 8 #define __CHROMEOS_LOAD_UTIL__ |
| 9 |
| 10 #include <linux/types.h> |
| 11 #include <load_kernel_fw.h> |
| 12 |
| 13 /* |
| 14 * Wrapper of LoadKernel() function. Returns the return value of LoadKernel(). |
| 15 * |
| 16 * See vboot_reference/firmware/include/load_kernel_fw.h for documentation. |
| 17 * |
| 18 * Note: It will malloc a space for storing gbb_data. It is caller's decision |
| 19 * and responsibility to free this space. |
| 20 */ |
| 21 int load_kernel_wrapper(LoadKernelParams *params, uint64_t boot_flags); |
| 22 |
| 23 #endif /* __CHROMEOS_LOAD_UTIL__ */ |
OLD | NEW |