kernel: 64-bit offset in _early_log_write
This commit is contained in:
parent
1ff5f56225
commit
5409ec911b
@ -56,7 +56,7 @@ fs_node_t * ramdisk_mount(uintptr_t, size_t);
|
||||
|
||||
#ifdef EARLY_BOOT_LOG
|
||||
#define EARLY_LOG_DEVICE 0x3F8
|
||||
static uint32_t _early_log_write(fs_node_t *node, uint32_t offset, uint32_t size, uint8_t *buffer) {
|
||||
static uint32_t _early_log_write(fs_node_t *node, uint64_t offset, uint32_t size, uint8_t *buffer) {
|
||||
for (unsigned int i = 0; i < size; ++i) {
|
||||
outportb(EARLY_LOG_DEVICE, buffer[i]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user