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
......@@ -11,7 +11,7 @@ cflatobjs += \
cflatobjs += lib/x86/fwcfg.o
cflatobjs += lib/x86/apic.o
cflatobjs += lib/x86/atomic.o
cflatobjs += lib/x86/idt.o
cflatobjs += lib/x86/desc.o
$(libcflat): LDFLAGS += -nostdlib
$(libcflat): CFLAGS += -ffreestanding -I lib
......
#include "idt.h"
#include "libcflat.h"
#include "desc.h"
#include "processor.h"
typedef struct {
......
#include "libcflat.h"
#include "idt.h"
#include "desc.h"
#include "processor.h"
#define smp_id() 0
......
......@@ -2,7 +2,7 @@
#include "apic.h"
#include "vm.h"
#include "smp.h"
#include "idt.h"
#include "desc.h"
typedef struct {
ulong regs[sizeof(ulong)*2];
......
#include "ioram.h"
#include "vm.h"
#include "libcflat.h"
#include "idt.h"
#include "desc.h"
#define memset __builtin_memset
#define TESTDEV_IO_PORT 0xe0
......
#include "libcflat.h"
#include "idt.h"
#include "desc.h"
int test_ud2(void)
{
......
#include "libcflat.h"
#include "idt.h"
#include "desc.h"
#ifdef __x86_64__
#define uint64_t unsigned long
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment