diff options
author | Danny Holman <dholman@gymli.org> | 2024-05-29 21:11:22 -0500 |
---|---|---|
committer | Danny Holman <dholman@gymli.org> | 2024-05-29 21:11:22 -0500 |
commit | 4f94edd301573550ae01e51475ed7d6157f6d71e (patch) | |
tree | bbea3f860bb0518005b1205a4f7c26ea8b31e856 /arch/i386 | |
parent | b6817990b469b901bf4c269bec6813043ed38c61 (diff) |
arch: i386: asm: make flush_gdt available
Make the declaration of flush_gdt available to files including asm.h.
Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'arch/i386')
-rw-r--r-- | arch/i386/include/kernel/asm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/i386/include/kernel/asm.h b/arch/i386/include/kernel/asm.h index 3c7bc00..a002a44 100644 --- a/arch/i386/include/kernel/asm.h +++ b/arch/i386/include/kernel/asm.h @@ -109,6 +109,8 @@ void release_lock(int *lock); void enable_paging(uint32_t new_cr3); +void flush_gdt(void); + static inline void outb(uint16_t port, uint8_t value) { __asm__ volatile("outb %0, %1" : : "a"(value), "Nd"(port)); } |