コード例 #1
0
ファイル: bootinfo.c プロジェクト: AICP/kernel_moto_shamu
static int get_bootinfo(struct seq_file *m, void *v)
{
	int len = 0;

	EMIT_SERIAL();
	EMIT_HWREV();
	EMIT_POWERUPREASON();
	EMIT_MBM_VERSION();
	EMIT_BL_BUILD_SIG();
	EMIT_BOOTINFO("Last boot reason", "%s", bootreason);

	return len;
}
コード例 #2
0
/*
 * get_bootinfo fills in the /proc/bootinfo information.
 * We currently only have the powerup reason.
 */
static int get_bootinfo(char *buf, char **start,
						off_t offset, int count,
						int *eof, void *data)
{
	int len = 0;

	EMIT_POWERUPREASON();
	EMIT_MBM_VERSION();
	EMIT_MBM_LOADER_VERSION();
	EMIT_FLAT_DEV_TREE_ADDRESS();
	EMIT_BATTERY_STATUS_AT_BOOT();
	EMIT_CID_RECOVER_BOOT();

	return len;
}
コード例 #3
0
/*
 * get_bootinfo fills in the /proc/bootinfo information.
 * We currently only have the powerup reason.
 */
static int get_bootinfo(char *buf, char **start,
						off_t offset, int count,
						int *eof, void *data)
{
	int len = 0;

	EMIT_HWREV();
	EMIT_POWERUPREASON();
	EMIT_BOS_VERSION();
	EMIT_IFW_VERSION();
	EMIT_SCU_VERSION();
	EMIT_BATTERY_STATUS_AT_BOOT();
	EMIT_CID_RECOVER_BOOT();

	return len;
}