Skip to content

Commit ef2f3a0

Browse files
authored
Update limine to v10.2.1, fix init_heap. (#71)
* Update limine to v10.0.0, fix `init_heap`. * `PAGE_SIZE` -> `PAGE_4K_SIZE`
1 parent 6b9ce70 commit ef2f3a0

15 files changed

Lines changed: 682 additions & 507 deletions

File tree

.clang-tidy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,7 @@ Checks: >
1414
-llvm-header-guard,
1515
-bugprone-reserved-identifier,
1616
-bugprone-easily-swappable-parameters,
17-
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling
17+
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
18+
-llvmlibc-*
1819
---
20+

assets/Limine/EFI/Boot/bootx64.efi

12 KB
Binary file not shown.
0 Bytes
Binary file not shown.
2.27 KB
Binary file not shown.
0 Bytes
Binary file not shown.

fs/vfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ vfs_node_t vfs_node_alloc(vfs_node_t parent, const char *name)
9494
node->root = parent ? parent->root : node;
9595
node->dev = parent ? parent->dev : 0;
9696
node->refcount = 0;
97-
node->blksz = PAGE_SIZE;
97+
node->blksz = PAGE_4K_SIZE;
9898
node->mode = 0777;
9999
node->linkto = NULL;
100100

include/interrupt.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
#include "stdint.h"
1717

1818
#if defined(__clang__)
19-
# define INTERRUPT_BEGIN \
20-
_Pragma("clang diagnostic push") _Pragma("clang diagnostic ignored \"-Winterrupt-service-routine\"") \
19+
# define INTERRUPT_BEGIN \
20+
_Pragma("clang diagnostic push") _Pragma("clang diagnostic ignored \"-Wexcessive-regsave\"") \
2121
__attribute__((interrupt, target("general-regs-only")))
2222
# define INTERRUPT_END _Pragma("clang diagnostic pop")
2323
#elif defined(__GNUC__)

0 commit comments

Comments
 (0)