idt stuff

This commit is contained in:
Adrien Bourmault 2019-04-01 23:53:36 +02:00
parent 0614070cfc
commit 082a1b82d8
2 changed files with 3 additions and 3 deletions

View File

@ -22,6 +22,7 @@
// along with OS/K. If not, see <https://www.gnu.org/licenses/>. // // along with OS/K. If not, see <https://www.gnu.org/licenses/>. //
//----------------------------------------------------------------------------// //----------------------------------------------------------------------------//
#include <kernel/cpu.h>
char *KeGetVendorString(void) { char *KeGetVendorString(void) {
return "Null"; return "Null";

View File

@ -22,8 +22,7 @@
// along with OS/K. If not, see <https://www.gnu.org/licenses/>. // // along with OS/K. If not, see <https://www.gnu.org/licenses/>. //
//----------------------------------------------------------------------------// //----------------------------------------------------------------------------//
#include <kernel/cpu.h>
idtp
// //
// Registers the new idt in the idtr register. // Registers the new idt in the idtr register.
@ -38,5 +37,5 @@ static inline void lidt(IdtDescriptor_t idtDesc)
// //
error_t CpuInitIdt(void) error_t CpuInitIdt(void)
{ {
return error_t stub;
} }