| ... | @@ -34,7 +34,7 @@ pub const BootServices = extern struct { | ... | @@ -34,7 +34,7 @@ pub const BootServices = extern struct { |
| 34 | freePages: std.meta.FnPtr(fn (memory: [*]align(4096) u8, pages: usize) callconv(.C) Status), | 34 | freePages: std.meta.FnPtr(fn (memory: [*]align(4096) u8, pages: usize) callconv(.C) Status), |
| 35 | | 35 | |
| 36 | /// Returns the current memory map. | 36 | /// Returns the current memory map. |
| 37 | getMemoryMap: std.meta.FnPtr(fn (mmap_size: *usize, mmap: [*]MemoryDescriptor, mapKey: *usize, descriptor_size: *usize, descriptor_version: *u32) callconv(.C) Status), | 37 | getMemoryMap: std.meta.FnPtr(fn (mmap_size: *usize, mmap: ?[*]MemoryDescriptor, mapKey: *usize, descriptor_size: *usize, descriptor_version: *u32) callconv(.C) Status), |
| 38 | | 38 | |
| 39 | /// Allocates pool memory. | 39 | /// Allocates pool memory. |
| 40 | allocatePool: std.meta.FnPtr(fn (pool_type: MemoryType, size: usize, buffer: *[*]align(8) u8) callconv(.C) Status), | 40 | allocatePool: std.meta.FnPtr(fn (pool_type: MemoryType, size: usize, buffer: *[*]align(8) u8) callconv(.C) Status), |