1 Star 0 Fork 0

泰晓科技/qemu-u-boot

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
bootflow_internal.h 793 Bytes
一键复制 编辑 原始数据 按行查看 历史
Simon Glass 提交于 2023-01-06 22:52 +08:00 . bootstd: Support creating a boot menu
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Internal header file for bootflow
*
* Copyright 2022 Google LLC
* Written by Simon Glass <sjg@chromium.org>
*/
#ifndef __BOOTFLOW_INTERNAL_H
#define __BOOTFLOW_INTERNAL_H
/* expo IDs for elements of the bootflow menu */
enum {
START,
/* strings */
STR_PROMPT,
STR_MENU_TITLE,
STR_POINTER,
/* scene */
MAIN,
/* objects */
OBJ_U_BOOT_LOGO,
OBJ_MENU,
OBJ_PROMPT,
OBJ_MENU_TITLE,
OBJ_POINTER,
/* strings for menu items */
STR_LABEL = 100,
STR_DESC = 200,
STR_KEY = 300,
/* menu items / components (bootflow number is added to these) */
ITEM = 400,
ITEM_LABEL = 500,
ITEM_DESC = 600,
ITEM_KEY = 700,
ITEM_PREVIEW = 800,
/* left margin for the main menu */
MARGIN_LEFT = 100,
};
#endif /* __BOOTFLOW_INTERNAL_H */
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tinylab/qemu-u-boot.git
git@gitee.com:tinylab/qemu-u-boot.git
tinylab
qemu-u-boot
qemu-u-boot
master

搜索帮助