Skip to content

Commit

Permalink
protos/limine: Change voidptrs into u64s for ptrs made physical
Browse files Browse the repository at this point in the history
  • Loading branch information
mintsuki committed Nov 30, 2024
1 parent bfab172 commit 466f72d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions PROTOCOL.md
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ Response:
```c
struct limine_rsdp_response {
uint64_t revision;
void *address;
uint64_t address;
};
```
Expand All @@ -1157,8 +1157,8 @@ Response:
```c
struct limine_smbios_response {
uint64_t revision;
void *entry_32;
void *entry_64;
uint64_t entry_32;
uint64_t entry_64;
};
```
Expand All @@ -1185,7 +1185,7 @@ Response:
```c
struct limine_efi_system_table_response {
uint64_t revision;
void *address;
uint64_t address;
};
```
Expand Down
8 changes: 4 additions & 4 deletions limine.h
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ struct limine_module_request {

struct limine_rsdp_response {
uint64_t revision;
LIMINE_PTR(void *) address;
uint64_t address;
};

struct limine_rsdp_request {
Expand All @@ -528,8 +528,8 @@ struct limine_rsdp_request {

struct limine_smbios_response {
uint64_t revision;
LIMINE_PTR(void *) entry_32;
LIMINE_PTR(void *) entry_64;
uint64_t entry_32;
uint64_t entry_64;
};

struct limine_smbios_request {
Expand All @@ -544,7 +544,7 @@ struct limine_smbios_request {

struct limine_efi_system_table_response {
uint64_t revision;
LIMINE_PTR(void *) address;
uint64_t address;
};

struct limine_efi_system_table_request {
Expand Down

0 comments on commit 466f72d

Please sign in to comment.