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?