@@ -32,45 +32,45 @@ USED static volatile struct limine_bootloader_info_request
3232 bootloader_info_request = {
3333 .id = LIMINE_BOOTLOADER_INFO_REQUEST ,
3434 .revision = 1 ,
35- .response = NULL ,
35+ .response = nullptr ,
3636};
3737
3838SECTION (".limine_requests" )
3939USED static volatile struct limine_framebuffer_request framebuffer_request = {
4040 .id = LIMINE_FRAMEBUFFER_REQUEST ,
4141 .revision = 1 ,
42- .response = NULL ,
42+ .response = nullptr ,
4343};
4444
4545SECTION (".limine_requests" )
4646USED static volatile struct limine_memmap_request memmap_request = {
4747 .id = LIMINE_MEMMAP_REQUEST ,
4848 .revision = 1 ,
49- .response = NULL ,
49+ .response = nullptr ,
5050};
5151
5252SECTION (".limine_requests" )
5353USED static volatile struct limine_module_request module_request = {
5454 .id = LIMINE_MODULE_REQUEST ,
5555 .revision = 1 ,
56- .response = NULL ,
56+ .response = nullptr ,
5757 .internal_module_count = 0 ,
58- .internal_modules = NULL ,
58+ .internal_modules = nullptr ,
5959};
6060
6161SECTION (".limine_requests" )
6262USED static volatile struct limine_paging_mode_request paging_request = {
6363 .id = LIMINE_PAGING_MODE_REQUEST ,
6464 .revision = 1 ,
65- .response = NULL ,
66- .mode = LIMINE_PAGING_MODE_MAX ,
67- .min_mode = LIMINE_PAGING_MODE_MIN ,
68- .max_mode = LIMINE_PAGING_MODE_MAX ,
65+ .response = nullptr ,
66+ .mode = LIMINE_PAGING_MODE_X86_64_4LVL ,
67+ .min_mode = LIMINE_PAGING_MODE_X86_64_4LVL ,
68+ .max_mode = LIMINE_PAGING_MODE_X86_64_4LVL ,
6969};
7070
7171SECTION (".limine_requests" )
7272USED static volatile struct limine_hhdm_request hhdm_request = {
73- .id = LIMINE_HHDM_REQUEST , .revision = 0 , .response = NULL };
73+ .id = LIMINE_HHDM_REQUEST , .revision = 0 , .response = nullptr };
7474
7575SECTION (".limine_requests" )
7676USED static volatile struct limine_kernel_address_request
@@ -135,7 +135,7 @@ NONNULL void limine_handle_requests(struct boot_info* boot_info) {
135135 bootloader_info_request .response -> revision ,
136136 bootloader_info_request .response -> version );
137137
138- if (paging_request .response == NULL )
138+ if (paging_request .response == nullptr )
139139 panic ("No paging available" );
140140
141141 info ("paging mode: LVL%d\n" , paging_request .mode ? 5 : 4 );
0 commit comments