2019-07-05 18:25:58 +02:00
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
2021-01-02 17:49:15 +01:00
|
|
|
; vulcanOS Kernel ;
|
2019-07-05 18:25:58 +02:00
|
|
|
; Developed by Marco 'icebit' Cetica ;
|
2021-01-02 17:49:15 +01:00
|
|
|
; (c) 2019-2021 ;
|
2019-07-05 18:25:58 +02:00
|
|
|
; Released under GPLv3 ;
|
|
|
|
; https://github.com/ice-bit/iceOS ;
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
2019-07-05 12:32:04 +02:00
|
|
|
global idt_flush ; for drivers/idt.c
|
|
|
|
|
|
|
|
section .text
|
|
|
|
idt_flush:
|
|
|
|
mov eax, [esp+4] ; Retrieve idt_ptr_t*
|
|
|
|
lidt [eax]
|
2021-01-02 17:49:15 +01:00
|
|
|
ret
|