mirror of
https://github.com/ivoszbg/uniLoader.git
synced 2026-08-15 05:18:32 +00:00
Implement 8 loglevels to use with printk: While at it, separate the font in a new "video" directory, which also makes space for a proper video probing implementation. Fill in the font from 32 to 256. Scale the font to render twice as big. Implement dynamic line length detection. Change a few things here and there to follow the linux kernel code style. Add a nice logo. Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
18 lines
410 B
C
18 lines
410 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* 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 writel(unsigned int value, void* address);
|
|
|
|
#endif // MAIN_H_
|