Debian Codegraph @

test cases/common/215 source set realistic example/devices/virtio-mmio.cc

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