Page MenuHomeFreeBSD

D38311.diff
No OneTemporary

D38311.diff

diff --git a/stand/kboot/arch/aarch64/load_addr.c b/stand/kboot/arch/aarch64/load_addr.c
--- a/stand/kboot/arch/aarch64/load_addr.c
+++ b/stand/kboot/arch/aarch64/load_addr.c
@@ -175,7 +175,10 @@
{
#define HOLE_SIZE (64ul << 20)
#define KERN_ALIGN (2ul << 20)
- uint64_t s;
+ static uint64_t s = 0;
+
+ if (s != 0)
+ return (s);
s = first_avail(KERN_ALIGN, HOLE_SIZE, SYSTEM_RAM);
if (s != 0)

File Metadata

Mime Type
text/plain
Expires
Wed, Sep 25, 5:43 AM (5 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
12684695
Default Alt Text
D38311.diff (404 B)

Event Timeline