File: dump_kernel_config.h

package info (click to toggle)
vboot-utils 0~20121212-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 26,472 kB
  • ctags: 3,862
  • sloc: ansic: 28,549; sh: 5,113; cpp: 2,098; makefile: 664; python: 350
file content (19 lines) | stat: -rw-r--r-- 585 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Copyright (c) 2012 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.
 *
 * Exports the kernel commandline from a given partition/image.
 */

#ifndef DUMP_KERNEL_CONFIG_UTILITY_H_
#define DUMP_KERNEL_CONFIG_UTILITY_H_

#include <inttypes.h>
#include <stdlib.h>

uint8_t* find_kernel_config(uint8_t* blob, uint64_t blob_size,
                            uint64_t kernel_body_load_address);

void* MapFile(const char* filename, size_t *size);

#endif  // DUMP_KERNEL_CONFIG_UTILITY_H_