![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-only */ 0002 /* 0003 * memconsole.h 0004 * 0005 * Internal headers of the memory based BIOS console. 0006 * 0007 * Copyright 2017 Google Inc. 0008 */ 0009 0010 #ifndef __FIRMWARE_GOOGLE_MEMCONSOLE_H 0011 #define __FIRMWARE_GOOGLE_MEMCONSOLE_H 0012 0013 #include <linux/types.h> 0014 0015 /* 0016 * memconsole_setup 0017 * 0018 * Initialize the memory console, passing the function to handle read accesses. 0019 */ 0020 void memconsole_setup(ssize_t (*read_func)(char *, loff_t, size_t)); 0021 0022 /* 0023 * memconsole_sysfs_init 0024 * 0025 * Update memory console length and create binary file 0026 * for firmware object. 0027 */ 0028 int memconsole_sysfs_init(void); 0029 0030 /* memconsole_exit 0031 * 0032 * Unmap the console buffer. 0033 */ 0034 void memconsole_exit(void); 0035 0036 #endif /* __FIRMWARE_GOOGLE_MEMCONSOLE_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |