Begin Implementing Kernel Param loader oh and add some documentation for it
This commit is contained in:
parent
7df8c3f830
commit
aaf65ff931
10
doc/Kernel Params.md
Normal file
10
doc/Kernel Params.md
Normal file
@ -0,0 +1,10 @@
|
||||
# Kernel Parameters
|
||||
|
||||
Kernel Parameters are edited via editing the `kernelparams` file in the root of the git tree/hdd.
|
||||
They should be seperated via commas **WITHOUT ANY SPACES!**
|
||||
|
||||
## List of Parameters
|
||||
|
||||
- `quietkb` : Makes Keyboard Driver NOT Auto Output pressed keys to Video
|
||||
|
||||
## NOTE: THIS IS NOT CURRENTLY FULLY IMPLEMENTED!
|
||||
0
kernelparams
Normal file
0
kernelparams
Normal file
@ -11,6 +11,7 @@
|
||||
#include <arch/i686/irq.h>
|
||||
#include <arch/i686/basicfunc.h>
|
||||
#include <dri/keyboard.h>
|
||||
#include <util/param.h>
|
||||
#include "../libs/version.h"
|
||||
#include "../libs/boot/bootparams.h"
|
||||
|
||||
|
||||
14
src/kernel/util/param.c
Normal file
14
src/kernel/util/param.c
Normal file
@ -0,0 +1,14 @@
|
||||
/*----------------*\
|
||||
|Nanite OS |
|
||||
|Copyright (C) 2024|
|
||||
|Tyler McGurrin |
|
||||
\*----------------*/
|
||||
#include "param.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
int paramloader(char filename) {
|
||||
printf("Sorry! This is not currently implemented, Need to Make disk calls and kinda uhm... forgot? i didn't before soooooo YEP!");
|
||||
printf("And heres yer filename: %s", filename);
|
||||
return 0;
|
||||
}
|
||||
8
src/kernel/util/param.h
Normal file
8
src/kernel/util/param.h
Normal file
@ -0,0 +1,8 @@
|
||||
/*----------------*\
|
||||
|Nanite OS |
|
||||
|Copyright (C) 2024|
|
||||
|Tyler McGurrin |
|
||||
\*----------------*/
|
||||
#pragma once
|
||||
|
||||
int paramloader(char filename);
|
||||
Loading…
x
Reference in New Issue
Block a user