Re: Module dependencies

2023-10-04 Thread Daniel Axtens
(Unless anything has changed dramatically in the last year:) Dependencies are calculated automatically on the basis of symbols that you use in your module. If you look at genmoddep.awk and work out from there you can get a handle on the process. If you only use symbols provided by the ‘kernel’,

[PATCH v2] kern/ieee1275/init: ppc64: Restrict high memory in presence of fadump

2023-10-04 Thread Stefan Berger
When a kernel dump is present then restrict the high memory regions to avoid allocating memory where the kernel dump resides. Use the ibm,kernel-dump node under /rtas to determine whether a kernel dump exists and up to which limit grub can use available memory. Set the upper_mem_limit to the size o

Module dependencies

2023-10-04 Thread Oliver Steffen
Hi, Is there a way to specify dependencies for a module? As in a list of other modules that need to be loaded before? I found a macro named GRUB_MOD_DEP in dh.h, but when I use it in the module's .c file I get errors about a missing .moddeps section. It also does not seem to be in use anywhere.

Re: bli module inclusion gives me just black screen on real hardware

2023-10-04 Thread Oliver Steffen
Quoting Oliver Steffen (2023-10-02 10:28:08) > On Sun, Oct 1, 2023 at 4:08 PM Tobias Powalowski > wrote: > > > > Am 27.09.23 um 09:43 schrieb Oliver Steffen: > > > Quoting Daniel Kiper (2023-09-26 17:57:05) > > >> On Sat, Aug 12, 2023 at 03:01:19PM +0200, Tobias Powalowski via > > >> Grub-devel w