[Yellowstone] Try to spawn the teton process from disk.

This commit is contained in:
Drew Galbraith 2023-11-09 12:55:44 -08:00
parent 9e05b3b3dd
commit 0e99189dba
7 changed files with 61 additions and 4 deletions

20
sys/teton/CMakeLists.txt Normal file
View file

@ -0,0 +1,20 @@
add_executable(teton
teton.cpp
)
target_include_directories(teton
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
"${CMAKE_CURRENT_SOURCE_DIR}/include")
target_link_libraries(teton
glacier
mammoth
yellowstone_yunq
)
set_target_properties(teton PROPERTIES
COMPILE_FLAGS "${CMAKE_CXX_FLAGS} ${BASE_COMPILE_FLAGS}"
LINK_FLAGS "${CMAKE_EXE_LINK_FLAGS} ${BASE_LINK_FLAGS}"
)
install(TARGETS teton)

15
sys/teton/teton.cpp Normal file
View file

@ -0,0 +1,15 @@
#include <mammoth/debug.h>
#include <mammoth/init.h>
uint64_t main(uint64_t init_port) {
ParseInitPort(init_port);
dbgln("Teton Starting");
// 1. Set up framebuffer.
// 2. Parse a font file.
// 3. Write a line to the screen.
return 0;
}