mirror of
https://github.com/ivoszbg/uniLoader.git
synced 2026-08-15 05:18:32 +00:00
arch: aarch64: Load addresses via page + offset arch: aarch64: Align the TEXT region drivers: Introduce an empty framework board: Rework to be PIC Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
38 lines
688 B
C
38 lines
688 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (c) 2022, Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
|
|
* Copyright (c) 2022, Markuss Broks <markuss.broks@gmail.com>
|
|
* Copyright (c) 2022, Michael Srba <Michael.Srba@seznam.cz>
|
|
*/
|
|
|
|
#ifndef SIMPLEFB_H_ /* Include guard */
|
|
#define SIMPLEFB_H_
|
|
|
|
#include <stdint.h>
|
|
|
|
extern void simplefb_probe(void *data);
|
|
extern struct video *video_info;
|
|
|
|
struct video {
|
|
int width;
|
|
int height;
|
|
int stride;
|
|
void *address;
|
|
};
|
|
|
|
typedef struct _color {
|
|
unsigned char r;
|
|
unsigned char g;
|
|
unsigned char b;
|
|
unsigned char a;
|
|
} color;
|
|
|
|
typedef struct _font_params {
|
|
int width;
|
|
int height;
|
|
} font_params;
|
|
|
|
font_params get_font_params(void);
|
|
|
|
#endif
|