qemu_pci_serial driver
This commit is contained in:
16
kernel/pci/qemu_pci_serial/qemu_pci_serial.h
Normal file
16
kernel/pci/qemu_pci_serial/qemu_pci_serial.h
Normal file
@ -0,0 +1,16 @@
|
||||
#ifndef PCI_QEMU_PCI_SERIAL_QEMU_PCI_SERIAL_H_
|
||||
#define PCI_QEMU_PCI_SERIAL_QEMU_PCI_SERIAL_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#define QEMU_PCI_SERIAL_MAGIC 0x1234
|
||||
|
||||
typedef struct {
|
||||
uint32_t _magic;
|
||||
uint16_t iobase;
|
||||
} QemuPciSerialDev;
|
||||
|
||||
void pci_qemu_pci_serial_init(void);
|
||||
|
||||
#endif // PCI_QEMU_PCI_SERIAL_QEMU_PCI_SERIAL_H_
|
||||
Reference in New Issue
Block a user