feat(userspace): add demo ring-3 programs

This commit is contained in:
dualfroz committed 2026-08-27 23:08:21 +02:00
1 parent b15dfc048a
commit d4bc2a209f
4 files changed
+135

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
#include "ulib.h"
int main(void)
{
print("hello: greetings from ring 3, pid=");
printDec(userGetpid());
print("\n");
userYield();
print("hello: resumed after yield, exiting cleanly\n");
return 7;
}