aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@linux.intel.com>2011-07-27 20:36:11 +0100
committerMatt Fleming <matt.fleming@linux.intel.com>2011-07-28 12:22:32 +0100
commitffc71643e27ada252fa06d68f1ca76ceda999c92 (patch)
treefe6134c5d50df2fb79774257331fe069cbe7f93b
parentfafdc5e81b56bc6de2fcf848bd9557688084f17a (diff)
downloadefilinux-ffc71643e27ada252fa06d68f1ca76ceda999c92.tar.gz
efilinux: Release 0.8efilinux-0.8
Version numbers are useful for bug reports so the user knows which version to report bugs against. Start at version 0.8 because 32-bit support is planned for 0.9 with 1.0 being released after a thorough round of testing. Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
-rw-r--r--efilinux.h3
-rw-r--r--entry.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/efilinux.h b/efilinux.h
index 306248e..1c63bf1 100644
--- a/efilinux.h
+++ b/efilinux.h
@@ -42,6 +42,9 @@
#ifndef __EFILINUX_H__
#define __EFILINUX_H__
+#define EFILINUX_VERSION_MAJOR 0
+#define EFILINUX_VERSION_MINOR 8
+
extern EFI_SYSTEM_TABLE *sys_table;
extern EFI_BOOT_SERVICES *boot;
extern EFI_RUNTIME_SERVICES *runtime;
diff --git a/entry.c b/entry.c
index d027b4e..4c375c2 100644
--- a/entry.c
+++ b/entry.c
@@ -41,7 +41,7 @@
#define ERROR_STRING_LENGTH 32
-static CHAR16 *banner = L"efilinux loader\n";
+static CHAR16 *banner = L"efilinux loader %d.%d\n";
EFI_SYSTEM_TABLE *sys_table;
EFI_BOOT_SERVICES *boot;
@@ -277,7 +277,7 @@ efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *_table)
if (CheckCrc(sys_table->Hdr.HeaderSize, &sys_table->Hdr) != TRUE)
return EFI_LOAD_ERROR;
- Print(banner);
+ Print(banner, EFILINUX_VERSION_MAJOR, EFILINUX_VERSION_MINOR);
err = fs_init();
if (err != EFI_SUCCESS)