This repository has been archived on 2025-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
csce410pine64backup/MP1/MP1_Sources/kernel.C

47 lines
1.1 KiB
C

/*
File: kernel.C
Author: R. Bettati
Department of Computer Science
Texas A&M University
Date : 2017/05/25
The "main()" function is the entry point for the kernel.
*/
/*--------------------------------------------------------------------------*/
/* INCLUDES */
/*--------------------------------------------------------------------------*/
#include "console.H"
using namespace std;
/* ======================================================================= */
/* MAIN -- THIS IS WHERE THE OS KERNEL WILL BE STARTED UP */
/* ======================================================================= */
int main()
{
/* -- INITIALIZE CONSOLE */
Console::init();
Console::puts("Initialized console.\n");
Console::puts("\n");
Console::puts("Replace the following <NAME> field with your name.\n");
Console::puts("After your are done admiring your output, you can shutdown this 'machine'.\n");
Console::puts("\n");
Console::puts("WELCOME TO MY KERNEL!\n");
Console::puts(" ");
Console::set_TextColor(GREEN, RED);
Console::puts("<Alex>\n");
/* -- LOOP FOREVER! */
for(;;);
}