Commit Graph

9 Commits

Author SHA1 Message Date
Ry
012511bf5f kernel: Add launch_fxf_from_open_file 2023-07-10 17:59:21 -07:00
Ry
8bea7c39b4 kernel + sh: Another stream overhaul
Certain streams can now be opened by name by prefixing the name
with a colon (':'). The only supported named stream at the moment
is :fb, which streams to/from the background framebuffer.

A new syscall called `get_size` was also added, which should be used
instead of `ryfs_get_size`. This new syscall supports getting the size
of streams.
2023-03-30 22:18:23 -07:00
Ry
fa693c71a7 all: Increase file struct size to 32 bytes for both files and streams 2023-03-30 21:46:24 -07:00
Ry
f67dfbff23 kernel/fxf/launch: Remove unneeded push 2023-03-23 00:38:22 -07:00
Ry
e0b53d5454 kernel/fxf/launch: Tell the caller if an error occurred 2023-03-23 00:20:11 -07:00
Ry
a484da1526 kernel/fxf/launch: Don't always show error message (oops) 2023-03-23 00:16:53 -07:00
Ry
7d877618a1 kernel/fxf/launch: Show an error message if memory allocation fails
```
You are fucked.
[ OK ]
```
2023-03-22 22:44:14 -07:00
Ry
59c688fc87 kernel/fxf/launch: Specify disk ID, and fix issue with argument passing 2023-03-22 22:25:55 -07:00
Ry
8103ec8bcd kernel/fxf and launcher: Add and use launch_fxf_from_disk syscall 2023-03-22 22:18:33 -07:00