mirror of
https://github.com/tailix/libkernaux.git
synced 2025-04-21 17:42:26 -04:00
Uncomment code
This commit is contained in:
parent
6c31af9cd8
commit
ec665c5b8e
1 changed files with 2 additions and 4 deletions
|
@ -20,8 +20,7 @@ const struct KernAux_Multiboot2_HTagBase
|
|||
(struct KernAux_Multiboot2_HTagBase*)
|
||||
((uint8_t*)multiboot2_header + multiboot2_header->total_size))
|
||||
{
|
||||
// TODO: uncommend when implemented
|
||||
// if (!KernAux_Multiboot2_HTagBase_is_valid(tag_base)) return NULL;
|
||||
if (!KernAux_Multiboot2_HTagBase_is_valid(tag_base)) return NULL;
|
||||
if (tag_base->type == tag_type) return tag_base;
|
||||
|
||||
tag_base = KERNAUX_MULTIBOOT2_HTAG_NEXT(tag_base);
|
||||
|
@ -44,8 +43,7 @@ const struct KernAux_Multiboot2_HTagBase
|
|||
(struct KernAux_Multiboot2_HTagBase*)
|
||||
((uint8_t*)multiboot2_header + multiboot2_header->total_size))
|
||||
{
|
||||
// TODO: uncommend when implemented
|
||||
// if (!KernAux_Multiboot2_HTagBase_is_valid(tag_base)) return NULL;
|
||||
if (!KernAux_Multiboot2_HTagBase_is_valid(tag_base)) return NULL;
|
||||
if (tag_base->type == tag_type && tag_base > after_tag) return tag_base;
|
||||
|
||||
tag_base = KERNAUX_MULTIBOOT2_HTAG_NEXT(tag_base);
|
||||
|
|
Loading…
Add table
Reference in a new issue