kvm: Rename early_printk.c to 8250-serial.c

The 8250 emulation is no longer there to just support early_printk() so rename
the source file to reflect that.

Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
Pekka Enberg
2015-06-01 16:39:41 +01:00
committed by Will Deacon
parent 8bb34e0dfa
commit 899fe06304
5 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
#include "kvm/early_printk.h"
#include "kvm/8250-serial.h"
#include "kvm/ioport.h"
#include "kvm/util.h"
@@ -171,7 +171,7 @@ static struct ioport_operations serial8250_ops = {
.io_out = serial8250_out,
};
void early_printk__init(void)
void serial8250__init(void)
{
ioport__register(device.iobase, &serial8250_ops, 8);
}
+1 -1
View File
@@ -9,10 +9,10 @@ export E Q
PROGRAM = kvm
OBJS += 8250-serial.o
OBJS += blk-virtio.o
OBJS += cpuid.o
OBJS += disk-image.o
OBJS += early_printk.o
OBJS += interrupt.o
OBJS += ioport.o
OBJS += kvm.o
+9
View File
@@ -0,0 +1,9 @@
#ifndef KVM__8250_SERIAL_H
#define KVM__8250_SERIAL_H
struct kvm;
void serial8250__init(void);
void serial8250__interrupt(struct kvm *self);
#endif /* KVM__8250_SERIAL_H */
-9
View File
@@ -1,9 +0,0 @@
#ifndef KVM__EARLY_PRINTK_H
#define KVM__EARLY_PRINTK_H
struct kvm;
void early_printk__init(void);
void serial8250__interrupt(struct kvm *self);
#endif /* KVM__EARLY_PRINTK_H */
+2 -2
View File
@@ -1,6 +1,6 @@
#include "kvm/kvm.h"
#include "kvm/early_printk.h"
#include "kvm/8250-serial.h"
#include "kvm/blk-virtio.h"
#include "kvm/disk-image.h"
#include "kvm/util.h"
@@ -168,7 +168,7 @@ int main(int argc, char *argv[])
if (single_step)
kvm__enable_singlestep(kvm);
early_printk__init();
serial8250__init();
pci__init();
blk_virtio__init(kvm);