The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
327 B
17 lines
327 B
5 years ago
|
#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;
|