VirtualBox

source: vbox/trunk/src/VBox/Devices/PC/Etherboot-src/include/sys_info.h@ 35399

最後變更 在這個檔案從35399是 1,由 vboxsync 提交於 55 年 前

import

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 842 位元組
 
1#ifndef SYS_INFO_H
2#define SYS_INFO_H
3
4/* Information collected from firmware/bootloader */
5
6struct sys_info {
7 /* Values passed by bootloader */
8 unsigned long boot_type;
9 unsigned long boot_data;
10 unsigned long boot_arg;
11
12 char *firmware; /* "PCBIOS", "LinuxBIOS", etc. */
13 char *command_line; /* command line given to us */
14#if 0
15//By LYH
16//Will use meminfo in Etherboot
17 /* memory map */
18 int n_memranges;
19 struct memrange {
20 unsigned long long base;
21 unsigned long long size;
22 } *memrange;
23#endif
24};
25
26void collect_sys_info(struct sys_info *info);
27void collect_elfboot_info(struct sys_info *info);
28void collect_linuxbios_info(struct sys_info *info);
29
30/* Our name and version. I want to see single instance of these in the image */
31extern const char *program_name, *program_version;
32
33#endif /* SYS_INFO_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette