From 4e522873f0d49f13fbc2e65288cc2dfd6b811df4 Mon Sep 17 00:00:00 2001 From: bunnie Date: Sun, 26 Oct 2025 13:38:28 +0800 Subject: [PATCH] add preemptionstate opcode to the hal api --- libs/bao1x-api/src/api.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/bao1x-api/src/api.rs b/libs/bao1x-api/src/api.rs index 1d7e17bad..a3b4edb3b 100644 --- a/libs/bao1x-api/src/api.rs +++ b/libs/bao1x-api/src/api.rs @@ -51,6 +51,9 @@ pub enum HalOpcode { ConfigureIoxIrq = 11, IrqLocalHandler = 12, + /// Manipulate the OS timer + SetPreemptionState = 64, + /// Exit server Quit = 255,