summaryrefslogtreecommitdiff
path: root/kernel/src/graphics/framebuffer.h
blob: c3b0dc67eb6fdd634a3ce9599c8e455566a5b3f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include <stdint.h>

struct Framebuffer {
    uint64_t addr;
    uint32_t pitch;
    uint32_t width;
    uint32_t height;
    uint8_t depth;
    uint8_t type;
    uint8_t reserved;
    // struct FramebufferPallete palettes[];

} __attribute__ ((packed));