diff options
| author | Jon Santmyer <jon@jonsantmyer.com> | 2026-09-04 11:31:40 -0400 |
|---|---|---|
| committer | Jon Santmyer <jon@jonsantmyer.com> | 2026-09-04 11:31:40 -0400 |
| commit | 8251da342161767fe203627223ccd4a7026701c6 (patch) | |
| tree | af2db0f11b0ea8ad35f88663a855bab39a80f679 /hal/framebuffer.h | |
| download | jove-kernel-8251da342161767fe203627223ccd4a7026701c6.tar.gz jove-kernel-8251da342161767fe203627223ccd4a7026701c6.tar.bz2 jove-kernel-8251da342161767fe203627223ccd4a7026701c6.zip | |
initial commit. working on tasking
Diffstat (limited to 'hal/framebuffer.h')
| -rw-r--r-- | hal/framebuffer.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/hal/framebuffer.h b/hal/framebuffer.h new file mode 100644 index 0000000..e070889 --- /dev/null +++ b/hal/framebuffer.h @@ -0,0 +1,14 @@ +#ifndef _JOVE_HAL_FRAMEBUFFER_H +#define _JOVE_HAL_FRAMEBUFFER_H 1 + +#include <stddef.h> +#include "hal/obj.h" + +size_t fb_width(jove_owned_obj_t *fb); +size_t fb_height(jove_owned_obj_t *fb); +int fb_blit(jove_owned_obj_t *obj, uint32_t *data, size_t x, size_t y, size_t width, size_t height); + +void *fb_remap(uintptr_t fb_address, size_t fb_size); +void fb_init(void); + +#endif |
