stub: various modernizations to linux.c
authorLennart Poettering <lennart@poettering.net>
Tue, 21 Sep 2021 20:00:06 +0000 (22:00 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 23 Sep 2021 15:24:28 +0000 (17:24 +0200)
commit0d43ce5266228182189771901413cf59a57ad585
treeb88190df2c0af27c6e11916a39368b530cb679eb
parenta0a644be7060bdba77f51addaf415671aa4bfe32
stub: various modernizations to linux.c

Let's make some stuff const. Most importanly call AllocatePages() with
a pointer to an EFI_PHYSICAL_ADDRESS instead of a pointer to a
pointer. On 64bit this makes no difference, but on i386 this is simply
not correct, since EFI_PHYSICAL_ADDRESS is 64bit there, even though
pointers are 32bit.
src/boot/efi/linux.c