The BIOS manages the basic computer state. These system calls are considered "general" system calls, since they do not relate to any specific aspect of the BIOS.
System Call | Description |
---|---|
BIOS_GEN_POWER_REQUEST | Requests the BIOS to send BIOS_GEN_POWER. |
BIOS_GEN_USER_REQUEST | Requests the BIOS to send BIOS_GEN_USER. |
System Call | Description |
---|---|
BIOS_GEN_POWER | Broadcasts power state of the system. |
BIOS_GEN_USER | Broadcasts current user's UUID. |
BIOS_GEN_USER_PERM_REQUEST | Signals that user's control permissions should be requested by the keyboard driver. |
The below documentation is outdated and is here only for historical reasons. Do not rely on this information.
The BIOS has some general system calls for basic functionality of the computer.
General BIOS calls are run under the BIOS in the _bios
script.
Input Message String | Integer | Key | LE-BIOS rev. | Script |
---|---|---|---|---|
BIOS_GETUSER |
[request_num] |
(n/a) | 1000 | _bios |
Requests the current user's UUID. The BIOS will respond with a BIOS_USER
call with the same [request_num]
in the num field.
Input Message String | Integer | Key | LE-BIOS rev. | Script |
---|---|---|---|---|
BIOS_PERM |
(n/a) | (n/a) | 1000 | _bios |
Signals to the keyboard that the user's permissions should be requested.
Input Message String | Integer | Key | LE-BIOS rev. | Script |
---|---|---|---|---|
BIOS_POWER |
[power_state] |
(n/a) | 1000 | _bios |
Signals the current power state of the computer. Sent only when the power state changes. [power_state]
is 0 when off, 1 when on but the display is disabled, 2 when on and the display is enabled. The state will be 1 when the user is not sitting at the computer.
Input Message String | Integer | Key | LE-BIOS rev. | Script |
---|---|---|---|---|
BIOS_USER |
[request_num] |
[user_uuid] |
1000 | _bios |
States the current user's UUID. Sent when requested by BIOS_GETUSER
, on boot, and when the user changes.
[request_num]
will be the same num sent in BIOS_GETUSER
if a response to that call; otherwise, it will be 0.
[user_uuid]
will be the current user's UUID, or NULL_KEY (00000000-0000-0000-0000-000000000000
) if no user is seated at the computer.