mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-24 18:25:10 +00:00
export them as a library to be used by post installer programs. A matching change to vboot_reference-9999.ebuild is also required. TEST=Built, verified library symbols with nm on x86-mario, amd64-generic. BUG=chromium-os:25381 Change-Id: Icb23838a8cd804e0c66718c6d4d60f639ee6b72f Reviewed-on: https://gerrit.chromium.org/gerrit/14770 Commit-Ready: Don Garrett <dgarrett@chromium.org> Reviewed-by: Don Garrett <dgarrett@chromium.org> Tested-by: Don Garrett <dgarrett@chromium.org>
20 lines
585 B
C
20 lines
585 B
C
/* 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_
|