From fbfc078e9f44c1c1e95c9c484f1d5650bcf631b7 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sat, 27 Jul 2024 16:57:39 -0400 Subject: lots and lots of userspace stuff --- libraries/daguerre/source/framebuffer.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 libraries/daguerre/source/framebuffer.cpp (limited to 'libraries/daguerre/source/framebuffer.cpp') diff --git a/libraries/daguerre/source/framebuffer.cpp b/libraries/daguerre/source/framebuffer.cpp new file mode 100644 index 0000000..d4282ad --- /dev/null +++ b/libraries/daguerre/source/framebuffer.cpp @@ -0,0 +1,12 @@ +#include + +namespace daguerre { + + image get_hilbert_framebuffer() { + hilbert_color *ptr; + uint32_t width, height, pitch; + euler::syscall::get_framebuffer(ptr, width, height, pitch); + return image(width, height, ptr, pitch, false); + } + +} -- cgit v1.2.3