os-k/kaleid/kernel/init/init.h

54 lines
2.4 KiB
C
Raw Normal View History

2019-05-08 00:28:42 +02:00
//----------------------------------------------------------------------------//
// GNU GPL OS/K //
// //
// Desc: Kernel entry point //
// //
// //
// Copyright © 2018-2019 The OS/K Team //
// //
// This file is part of OS/K. //
// //
// OS/K is free software: you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation, either version 3 of the License, or //
// any later version. //
// //
// OS/K is distributed in the hope that it will be useful, //
// but WITHOUT ANY WARRANTY//without even the implied warranty of //
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
// GNU General Public License for more details. //
// //
// You should have received a copy of the GNU General Public License //
// along with OS/K. If not, see <https://www.gnu.org/licenses/>. //
//----------------------------------------------------------------------------//
2019-05-13 23:22:27 +02:00
#include <init/mboot.h>
2019-05-14 11:48:07 +02:00
#include <lib/buf.h>
2019-05-13 23:22:27 +02:00
#include <ke/time.h>
2019-05-14 11:48:07 +02:00
#include <ke/idt.h>
2019-05-13 23:22:27 +02:00
#include <io/spkr.h>
2019-05-14 11:48:07 +02:00
#include <io/keyb.h>
#include <io/cursor.h>
2019-05-13 23:22:27 +02:00
#include <po/shtdwn.h>
2019-05-14 11:48:07 +02:00
#include <mm/heap.h>
#include <mm/mm.h>
2019-05-19 00:07:01 +02:00
#include <io/vga.h>
2019-05-22 19:41:00 +02:00
#include <ke/cpuid.h>
2019-05-08 00:28:42 +02:00
// info.c
extern void BtDoSanityChecks(uint mbMagic);
extern void BtInitBootInfo(multiboot_info_t *mbi, void *codeSeg);
// io/vga.c
extern error_t IoInitVGABuffer(void);
// ke/shell.c
extern void KeStartShell(void);
// ps/proc.c test function
extern void pstest(void);
// interrupts tests
extern void divideByZero(void);