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
322 B
17 lines
322 B
6 years ago
|
#include <iostream>
|
||
|
#include "common.h"
|
||
|
#include "virtio.h"
|
||
|
|
||
|
struct VirtioPCIDevice: VirtioDevice {
|
||
|
void say_hello();
|
||
|
};
|
||
|
|
||
|
void VirtioPCIDevice::say_hello()
|
||
|
{
|
||
|
some_virtio_thing();
|
||
|
std::cout << ANSI_START << "virtio-pci is available"
|
||
|
<< ANSI_END << std::endl;
|
||
|
}
|
||
|
|
||
|
static VirtioPCIDevice virtio_pci;
|