/****************************************************************************** * * Copyright (c) 2017-2019 by Löwenware Ltd * Please, refer LICENSE file for legal information * ******************************************************************************/ /** * @file main.c * @author Ilja Kartašov * @brief * * @see https://lowenware.com/ */ #include #include #include #include #include void Leos_run(void) { Log_init(); Log_putS("Starting Lowe OS (EL"); Log_putI(AArch64_getEL(), 10); Log_putS(")\r\n"); AArch64_init(); Timer_init(); IRQ_init(); IRQ_enable(); for (;;) { __asm__("WFE"); } }