Update for Limine rc10
This commit is contained in:
parent
57166fddad
commit
a2e3186bda
1 changed files with 3 additions and 2 deletions
|
@ -20,13 +20,14 @@ static void done(void) {
|
||||||
// The following will be our kernel's entry point.
|
// The following will be our kernel's entry point.
|
||||||
void _start(void) {
|
void _start(void) {
|
||||||
// Ensure we got a terminal
|
// Ensure we got a terminal
|
||||||
if (terminal_request.response == NULL) {
|
if (terminal_request.response == NULL
|
||||||
|
|| terminal_request.response->terminal_count < 1) {
|
||||||
done();
|
done();
|
||||||
}
|
}
|
||||||
|
|
||||||
// We should now be able to call the Limine terminal to print out
|
// We should now be able to call the Limine terminal to print out
|
||||||
// a simple "Hello World" to screen.
|
// a simple "Hello World" to screen.
|
||||||
terminal_request.response->write("Hello World", 11);
|
terminal_request.response->terminals[0]->write("Hello World", 11);
|
||||||
|
|
||||||
// We're done, just hang...
|
// We're done, just hang...
|
||||||
done();
|
done();
|
||||||
|
|
Loading…
Add table
Reference in a new issue