grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] framework for building modules externally


From: Christian Franke
Subject: Re: [PATCH] framework for building modules externally
Date: Mon, 10 Nov 2008 21:44:49 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 SeaMonkey/1.1.11

Robert Millan wrote:
On Thu, Nov 06, 2008 at 09:43:09PM +0100, Christian Franke wrote:
How would the whole picture look like? Sounds like it'd mean less complexity
in external modules at the expense of more complexity in the build system.
Here a first proof-of-concept patch, uses hello.c as the external module.

If kernel is compiled with other GRUB_ABI_VER_SYM, insmod fails with:
"error: the symbol 'grub_abi_ver_1_96' not found"

Ah, it's much simpler than I thought.

+#define GRUB_ABI_VER_SYM  grub_abi_ver_1_96

I assume between releases we'd add a counter after the version number?  Like
grub_abi_ver_1_96_X or so?


Yes. Symbol should be changed with each incompatible ABI change. Not necessary for simple ABI enhancements like new functions.

Christian





reply via email to

[Prev in Thread] Current Thread [Next in Thread]