Age | Commit message (Collapse) | Author |
|
Introduce a 'board_info' structure as well as an md_get_board() routine
to get information about the host
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Add 'show_curs' feat flag to enable/disable whether or not the cursor
should be drawn
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Introduce a ctlfs entry for configuring various console features such as
the ability to parse ANSI escape codes.
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
This commit cleans up the read routine by creating a helper that fetches
common fields from the ctlfs entry while checking things such as its
magic number.
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Introduce a 'feat' field in the cons_screen structure to allow certain
console features to be turned on or off.
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
The 'len' field within the tmpfs node stores the buffer length which is
relative to the tmpfs block size. Introduce a real size which returns
the amount of data actually present within those buffers.
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
This commit allows the end-user to supply a path (e.g., /usr/bin/mrow)
straight to the shell to be interpreted as a binary executable path.
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
The SYS_inject syscall will allow the user to inject Kernel Runtime Quantums
(KRQs) into the running kernel. As of now, set paths are not supported and the
initial implementation includes a NULL path used to load all deferrable drivers.
Previously during kernel startup, all deferrable drivers were loaded
automatically. This commit makes it so that they are only loaded when
sys_inject() is called with a NULL path.
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
This commit prepares for Hyra Kernel Runtime Quantums (KRQs) which
allows one to make the kernel more modular
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Clear the screen and tweak console foreground/background to urgent
looking colors during a system panic
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
- Rename regdump() to trap_fatal()
- Use panic() rather than kprintf()
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
This commit introduces the global libc '__libc_auxv' containing
auxiliary vector entries as per the System V Application Binary
Interface
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Implement logic to go through the section header table and explicitly
zero fill all entries of type SHT_NOBITS
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Implement line-by-line reading with fgets() instead of relying on
read()
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Having the same amount of idle threads per core allow the CPU to always
have a thread assigned to one of its cores even when there are currently
no other threads for it to take.
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Ensure file I/O operations match the seal that their respective file
descriptors were set with.
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Introduce the initial support for tmpfs, a readable and writable in-memory
filesystem.
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Add support for the O_CREAT flag which allows file creation upon an
open() call.
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
In some lookup cases, we may only be interested in the parent component.
For example, the parent of "/foo/bar/mrow" is "/foo/bar/". The NAMEI_WANTPARENT
asks namei to only look for the parent rather than the full path.
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Remove logic to reboot machine by simply pressing a key.
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Implement logic to update the date returned by the MC1468XX/RTC chip.
This can be used to later implement some sort of time synchronization
protocol or manual setting of the date.
Signed-off-by: Ian Moffett <ian@osmora.org>
|