From 4f94edd301573550ae01e51475ed7d6157f6d71e Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Wed, 29 May 2024 21:11:22 -0500 Subject: arch: i386: asm: make flush_gdt available Make the declaration of flush_gdt available to files including asm.h. Signed-off-by: Danny Holman --- arch/i386/include/kernel/asm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch') 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)); } -- cgit v1.2.3