diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2013-02-07 22:42:25 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2013-02-10 22:20:35 -0500 |
commit | 02313b205b0a461579c2799e31dc3f898c0b63ae (patch) | |
tree | 853dede226030774cda64bc67c9a826a6e5c9795 /src/misc.c | |
parent | b5c7da68667c782bb5049a68a36995cde4c70aaf (diff) | |
download | seabios-02313b205b0a461579c2799e31dc3f898c0b63ae.tar.gz |
Add runningOnQEMU() and runningOnXen() for runtime platform detection.
Introduce standard for performing and inspecting the run-time
detection of para-virtualized environments.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/misc.c')
-rw-r--r-- | src/misc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -16,6 +16,8 @@ u32 RamSize VAR16VISIBLE; u64 RamSizeOver4G; // Space for bios tables built an run-time. char BiosTableSpace[CONFIG_MAX_BIOSTABLE] __aligned(MALLOC_MIN_ALIGN) VAR16VISIBLE; +// Type of emulator platform. +int PlatformRunningOn VAR16VISIBLE; /**************************************************************** |