mirror of
https://github.com/ivoszbg/uniLoader.git
synced 2024-11-22 03:55:19 +00:00
9c60b66f71
This actually breaks the armv7 port. It has to be revisited in the future, since it not only is not compilable right now, but also cannot boot linux properly. TODO Also introduce a new C-based __memcpy_optimized that does not cause an exception on some devices when copying the initramfs. This issue has to be debugged further. Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
19 lines
445 B
C
19 lines
445 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 unsigned long ramdisk_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_
|