2022-11-17 22:37:30 +01:00
|
|
|
/*
|
|
|
|
Copyright 2022 Mattia Giambirtone & Contributors
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
2022-11-18 01:20:51 +01:00
|
|
|
#include "kernel/types.h"
|
2022-11-16 21:12:19 +01:00
|
|
|
#include "kernel/drivers/vga/screen.h"
|
2022-11-18 01:20:51 +01:00
|
|
|
#include "kernel/util.h"
|
2022-11-16 15:37:01 +01:00
|
|
|
|
|
|
|
|
2022-11-18 01:51:07 +01:00
|
|
|
i32 kmain(void) {
|
2022-11-18 01:20:51 +01:00
|
|
|
/*
|
2022-11-19 18:20:25 +01:00
|
|
|
The kernel entry point of TSKL: The
|
|
|
|
Simple Kernel
|
2022-11-18 01:20:51 +01:00
|
|
|
*/
|
|
|
|
|
2022-11-18 22:19:40 +01:00
|
|
|
|
2022-11-20 14:13:52 +01:00
|
|
|
clearScreen();
|
|
|
|
kprint("0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000");
|
|
|
|
kprint("X");
|
2022-11-18 01:51:07 +01:00
|
|
|
// TODO...
|
2022-11-19 18:20:25 +01:00
|
|
|
return 0x202172; // :D
|
2022-11-16 15:37:01 +01:00
|
|
|
}
|