blob: 5dab97e5cfc1493101497fab93ed78ff7b609d71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <iostream>
#include "common.h"
#include "virtio.h"
struct VirtioMMIODevice: VirtioDevice {
void say_hello();
};
void VirtioMMIODevice::say_hello()
{
some_virtio_thing();
std::cout << ANSI_START << "virtio-mmio is available"
<< ANSI_END << std::endl;
}
static VirtioMMIODevice virtio_mmio;
|