Readme and license
This commit is contained in:
+16
-4
@@ -1,7 +1,10 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// Copyright (c) 2026 0xKSor
|
||||
|
||||
#pragma once
|
||||
|
||||
typedef unsigned int BIUInt32;
|
||||
typedef unsigned long long BIUInt64;
|
||||
typedef unsigned long long BIUInt64;
|
||||
|
||||
typedef struct {
|
||||
BIUInt32* base;
|
||||
@@ -12,8 +15,8 @@ typedef struct {
|
||||
} BIFramebuffer;
|
||||
|
||||
typedef struct {
|
||||
void* map;
|
||||
BIUInt64 mapSize;
|
||||
void* map;
|
||||
BIUInt64 mapSize;
|
||||
BIUInt64 descriptorSize;
|
||||
BIUInt32 mapKey;
|
||||
BIUInt32 descriptorVersion;
|
||||
@@ -24,12 +27,21 @@ typedef struct {
|
||||
void* kernelAddress;
|
||||
} BIKernelInfo;
|
||||
|
||||
typedef struct {
|
||||
BIUInt64 physicalBase;
|
||||
BIUInt64 size;
|
||||
char name[32];
|
||||
BIUInt64 capabilities;
|
||||
} BootModule;
|
||||
|
||||
typedef struct {
|
||||
BIUInt64 magic;
|
||||
BIKernelInfo kernelInfo;
|
||||
void* dtb;
|
||||
BIMemoryMap memoryMap;
|
||||
BIFramebuffer framebuffer;
|
||||
BootModule modules[16];
|
||||
BIUInt32 moduleCount;
|
||||
} Bootinfo;
|
||||
|
||||
#define BOOTINFO_MAGIC 0x736F6E7961
|
||||
#define BOOTINFO_MAGIC 0x736F6E7961
|
||||
|
||||
Reference in New Issue
Block a user