1
0
Fork 0
mirror of https://github.com/tailix/libkernaux.git synced 2025-10-02 23:13:56 -04:00

Finish Multiboot 2 API (#146)

Closes #67
This commit is contained in:
Alex Kotov 2022-12-16 12:28:58 +04:00 committed by GitHub
parent 18f3c70c1b
commit c1bf030159
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 2188 additions and 1001 deletions

View file

@ -54,6 +54,7 @@ multiboot2_header = {
.magic = KERNAUX_MULTIBOOT2_HEADER_MAGIC,
.arch = KERNAUX_MULTIBOOT2_HEADER_ARCH_I386,
.total_size = sizeof(multiboot2_header),
// This macro helps to calculate the checksum.
.checksum = KERNAUX_MULTIBOOT2_HEADER_CHECKSUM(
KERNAUX_MULTIBOOT2_HEADER_ARCH_I386,
sizeof(multiboot2_header)