mirror of
https://github.com/limine-bootloader/limine
synced 2024-12-03 21:52:39 +03:00
stivale2: Actually pass tag pointers in linked list in the higher half if requested
This commit is contained in:
parent
c940a411cb
commit
0602e40cce
@ -49,10 +49,10 @@ static void *get_tag(struct stivale2_header *s, uint64_t id) {
|
||||
}
|
||||
}
|
||||
|
||||
static void append_tag(struct stivale2_struct *s, struct stivale2_tag *tag) {
|
||||
tag->next = s->tags;
|
||||
s->tags = (uint64_t)(size_t)tag;
|
||||
}
|
||||
#define append_tag(S, TAG) ({ \
|
||||
(TAG)->next = (S)->tags; \
|
||||
(S)->tags = REPORTED_ADDR((uint64_t)(uintptr_t)TAG); \
|
||||
})
|
||||
|
||||
#if defined (bios)
|
||||
extern symbol stivale2_term_write_entry;
|
||||
|
Loading…
Reference in New Issue
Block a user