initial commit: set up a template
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
6
src/cpu/cpu.cc
Normal file
6
src/cpu/cpu.cc
Normal file
@@ -0,0 +1,6 @@
|
||||
#include "cpu.hh"
|
||||
#include <iostream>
|
||||
|
||||
namespace cpu {
|
||||
void run() { std::cout << "Hello from inside the CPU" << std::endl; }
|
||||
} // namespace cpu
|
7
src/cpu/cpu.hh
Normal file
7
src/cpu/cpu.hh
Normal file
@@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#define ABSOLUTE "MADarchod"
|
||||
|
||||
namespace cpu {
|
||||
void run();
|
||||
}
|
3
src/cpu/meson.build
Normal file
3
src/cpu/meson.build
Normal file
@@ -0,0 +1,3 @@
|
||||
lib_sources += files(
|
||||
'cpu.cc'
|
||||
)
|
Reference in New Issue
Block a user