Skip to content
Snippets Groups Projects
Commit e7c37968 authored by Gleb Natapov's avatar Gleb Natapov Committed by Avi Kivity
Browse files

Rename idt.[ch] into desc.[ch]


All descriptor related code will go there.

Signed-off-by: default avatarGleb Natapov <gleb@redhat.com>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 32ca9d1d
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ cflatobjs += \ ...@@ -11,7 +11,7 @@ cflatobjs += \
cflatobjs += lib/x86/fwcfg.o cflatobjs += lib/x86/fwcfg.o
cflatobjs += lib/x86/apic.o cflatobjs += lib/x86/apic.o
cflatobjs += lib/x86/atomic.o cflatobjs += lib/x86/atomic.o
cflatobjs += lib/x86/idt.o cflatobjs += lib/x86/desc.o
$(libcflat): LDFLAGS += -nostdlib $(libcflat): LDFLAGS += -nostdlib
$(libcflat): CFLAGS += -ffreestanding -I lib $(libcflat): CFLAGS += -ffreestanding -I lib
......
#include "idt.h"
#include "libcflat.h" #include "libcflat.h"
#include "desc.h"
#include "processor.h" #include "processor.h"
typedef struct { typedef struct {
......
File moved
#include "libcflat.h" #include "libcflat.h"
#include "idt.h" #include "desc.h"
#include "processor.h" #include "processor.h"
#define smp_id() 0 #define smp_id() 0
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#include "apic.h" #include "apic.h"
#include "vm.h" #include "vm.h"
#include "smp.h" #include "smp.h"
#include "idt.h" #include "desc.h"
typedef struct { typedef struct {
ulong regs[sizeof(ulong)*2]; ulong regs[sizeof(ulong)*2];
......
#include "ioram.h" #include "ioram.h"
#include "vm.h" #include "vm.h"
#include "libcflat.h" #include "libcflat.h"
#include "idt.h" #include "desc.h"
#define memset __builtin_memset #define memset __builtin_memset
#define TESTDEV_IO_PORT 0xe0 #define TESTDEV_IO_PORT 0xe0
......
#include "libcflat.h" #include "libcflat.h"
#include "idt.h" #include "desc.h"
int test_ud2(void) int test_ud2(void)
{ {
......
#include "libcflat.h" #include "libcflat.h"
#include "idt.h" #include "desc.h"
#ifdef __x86_64__ #ifdef __x86_64__
#define uint64_t unsigned long #define uint64_t unsigned long
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment