mirror of
https://github.com/ivoszbg/uniLoader.git
synced 2024-11-22 03:55:19 +00:00
ed246836e9
Also comes with small changes here and there. Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
22 lines
547 B
C
22 lines
547 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (c) 2022, Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
|
|
*/
|
|
|
|
#include <stddef.h>
|
|
|
|
#ifndef MAIN_H_ /* Include guard */
|
|
#define MAIN_H_
|
|
|
|
extern unsigned long kernel_size;
|
|
extern void load_kernel(void* dtb, void* x1, void* x2, void* x3, void* kernel);
|
|
extern void soc_init(void);
|
|
extern void board_init(void);
|
|
|
|
extern void clean_fb(volatile char *fb, int width, int height, int stride);
|
|
extern void printk(char *text);
|
|
|
|
extern void writel(unsigned int value, void* address);
|
|
|
|
#endif // MAIN_H_
|