Redesign a way of storing module information; this allows to store more data in a single section, like license or a list of authors, as well as solves the problem with different module name lengths
This commit is contained in:
@@ -10,7 +10,10 @@
|
||||
|
||||
|
||||
/* Dummy module information */
|
||||
XTBL_MODINFO = L"ACPI support";
|
||||
MODULE_AUTHOR(L"Rafal Kupiec <belliash@codingworkshop.eu.org>");
|
||||
MODULE_DESCRIPTION(L"ACPI support");
|
||||
MODULE_LICENSE(L"GPLv3");
|
||||
MODULE_VERSION(L"0.1");
|
||||
|
||||
/**
|
||||
* Attempts to get XSDP. If it is not found or checksum mismatch, it will try to get RSDP instead.
|
||||
|
@@ -9,8 +9,11 @@
|
||||
#include <beep.h>
|
||||
|
||||
|
||||
/* Dummy module information */
|
||||
XTBL_MODINFO = L"Plays a GRUB compatible tune via PC speaker";
|
||||
/* Beep module information */
|
||||
MODULE_AUTHOR(L"Rafal Kupiec <belliash@codingworkshop.eu.org>");
|
||||
MODULE_DESCRIPTION(L"Plays a GRUB compatible tune via PC speaker");
|
||||
MODULE_LICENSE(L"GPLv3");
|
||||
MODULE_VERSION(L"0.1");
|
||||
|
||||
/**
|
||||
* Disables the PC speaker.
|
||||
|
@@ -10,7 +10,10 @@
|
||||
|
||||
|
||||
/* ChainLoader module information */
|
||||
XTBL_MODINFO = L"XTLDR Chain Loader";
|
||||
MODULE_AUTHOR(L"Rafal Kupiec <belliash@codingworkshop.eu.org>");
|
||||
MODULE_DESCRIPTION(L"XTLDR Chain Loader");
|
||||
MODULE_LICENSE(L"GPLv3");
|
||||
MODULE_VERSION(L"0.1");
|
||||
|
||||
/**
|
||||
* Chainloads another boot loader.
|
||||
|
@@ -10,7 +10,10 @@
|
||||
|
||||
|
||||
/* Dummy module information */
|
||||
XTBL_MODINFO = L"XTLDR Dummy Module";
|
||||
MODULE_AUTHOR(L"Rafal Kupiec <belliash@codingworkshop.eu.org>");
|
||||
MODULE_DESCRIPTION(L"XTLDR Dummy Module");
|
||||
MODULE_LICENSE(L"GPLv3");
|
||||
MODULE_VERSION(L"0.1");
|
||||
|
||||
/**
|
||||
* Stub boot routine.
|
||||
|
@@ -10,7 +10,10 @@
|
||||
|
||||
|
||||
/* PE/COFF_O module information */
|
||||
XTBL_MODINFO = L"EFI FB (FrameBuffer) support";
|
||||
MODULE_AUTHOR(L"Rafal Kupiec <belliash@codingworkshop.eu.org>");
|
||||
MODULE_DESCRIPTION(L"EFI FB (FrameBuffer) support");
|
||||
MODULE_LICENSE(L"GPLv3");
|
||||
MODULE_VERSION(L"0.1");
|
||||
|
||||
/**
|
||||
* Provides an EFI Frame Buffer protocol driver name used for initialization.
|
||||
|
@@ -10,7 +10,10 @@
|
||||
|
||||
|
||||
/* PE/COFF_O module information */
|
||||
XTBL_MODINFO = L"Basic PE/COFF executable file format support";
|
||||
MODULE_AUTHOR(L"Rafal Kupiec <belliash@codingworkshop.eu.org>");
|
||||
MODULE_DESCRIPTION(L"Basic PE/COFF executable file format support");
|
||||
MODULE_LICENSE(L"GPLv3");
|
||||
MODULE_VERSION(L"0.1");
|
||||
|
||||
/**
|
||||
* Returns the address of the entry point.
|
||||
|
@@ -10,8 +10,11 @@
|
||||
|
||||
|
||||
/* XTOS module information */
|
||||
XTBL_MODINFO = L"XTOS boot protocol support";
|
||||
XTBL_MODDEPS = {L"acpi", L"framebuf", L"pecoff"};
|
||||
MODULE_AUTHOR(L"Rafal Kupiec <belliash@codingworkshop.eu.org>");
|
||||
MODULE_DESCRIPTION(L"XTOS boot protocol support");
|
||||
MODULE_DEPENDENCY(L"acpi framebuf pecoff");
|
||||
MODULE_LICENSE(L"GPLv3");
|
||||
MODULE_VERSION(L"0.1");
|
||||
|
||||
/* EFI XT Loader Protocol */
|
||||
PXTBL_LOADER_PROTOCOL XtLdrProtocol;
|
||||
|
Reference in New Issue
Block a user