Skip to main content

Module usertest

Module usertest 

Source
Expand description

Minimal Ring 3 test task for Strat9-OS.

Creates a user address space with a tiny machine code blob that:

  1. Calls SYS_DEBUG_LOG to print “Hello Ring 3!” to serial
  2. Calls SYS_PROC_EXIT to cleanly exit

This tests the full SYSCALL/SYSRET pipeline without needing an ELF loader.

Functions§

create_user_test_task
Create and schedule a minimal Ring 3 test task.