Skip to content

Interfaces Reference EN

Z User edited this page Nov 3, 2026 · 6 revisions

Language: English | Interfaces-Reference

 Do not hand-edit the tables; edit the generator or the
 surface headers instead. -->

Open Cube OS Interface Reference (3.0.0-WP06c)

Every entry below is extracted from the real tree at generation time: the L0 command declarations straight from the OC_SHELL_CMD call sites, the ring-3 surface from the embedded program registry capture (--l1-registry, one command = one app = one src/L1/ folder) and src/L0/services/sysapi/l1svc_defs.h, the kernel-side declarations from the service headers. Regenerate with make api-docs.

  • v1.0.0 commands (compatibility baseline): 233 - all mapped below, none dropped
  • 3.0.0-WP06c command homes: 285 total = 0 in the L0 recovery shell + 274 ring-3 registry apps (src/L1/) + 11 ush built-ins
  • L1SVC service surface: 20 categories / 190 numbered ops
  • Kernel-side declarations across the service headers: 76
  • Syscalls: 54 (grep -c '#define SYS_' src/L0/services/sysapi/core_syscall.h, SYS_L1SVC(110) added in 2.0.0)
  • Source lines: 128,890 across 624 files (README verification command; .c/.h/.S, generated data blobs excluded)

2.0.0 is a breaking re-architecture, stated precisely (2.1.0 correction of the over-general 2.0.0 phrasing): the three driver-family register hooks (driver_block_register, driver_nic_register, driver_snd_register) moved from the public v1 L1 headers into the per-family internal headers (services/*/drv_internal.h, 'internal since 2.0.0'); drivers and services now declare their identity in-file via OC_DRIVER_DECL / OC_SERVICE_DECL; every operational command class moved to the ring-3 service surface; and the only true deletions on the v1 numbered surface are the two entries in the deletion register (Part 2d). Other register-class declarations (tui_ext.h menus/pages/widgets/..., watchdog_register, signal_register, shell_register_builtin) are STILL PUBLIC in the v2 tree - the per-entry truth is Part 2c. What deliberately stays in L0: the kernel self-tests, the watchdog, the crash policy controls, the kernel log readers (dmesg/logcat/logctl/crashlog/dumpinfo/crashtest), the chipset diagnostics, the recovery-environment file commands, and the interactive session commands (ssh/sshd).

Part 1 - Command surface by home

1a - L0 recovery shell (oc>, 0 commands)

File-local OC_SHELL_CMD declarations; the oc> prompt is the fallback environment after the ring-3 shell exits (or fails to start).

Command One-line help Category

1b - Ring-3 service commands (ush, 0 SVC rows + 11 built-ins)

The default boot entry (ush, ring 3) routes these through SYS_L1SVC(110) to the owning L0 service; the built-ins run entirely in ring 3 (classic file/process syscalls) or through the SYS_NETCMD bridge ().

Counting caliber (2.1.0, P-14): the ush SVC_CMDS table itself carries 0 rows. The 0 rows below are the unique names attributed to their first home: the 0 dual-homed names () are registered BOTH as L0 recovery-shell commands and as ush SVC rows; the first-home rule counts them as L0 here, and they stay callable from both shells. 133 + 9 = 142 ush rows; the unique-name ledger (99 L0 + 133 SVC + 19 built-ins = 251) is unchanged by dual-homing.

Command Service

Dual-homed with L0 (listed in Part 1a, reachable from ush too): .

Built-ins: alias, bg, cd, env, exit, export, fg, history, jobs, set, unalias.

Part 1c - v1.0.0 -> 3.0.0-WP06c command mapping (233 rows)

The compatibility contract: every 1.0.0 command and where it lives now. L0 = recovery shell (same name), SVC = ring-3 service surface (same body, captured output), builtin = ush built-in, bridge = ush built-in reaching the L0 body through SYS_NETCMD, L0-only = recovery-environment command kept out of the ring-3 surface by design (kernel self-test / watchdog / crash policy / log reader / chipset diagnostic / interactive session classes).

v1.0.0 command v2.0.0 home
ab_partition_test builtin (ush)
abcfg builtin (ush)
abdisk builtin (ush)
ac97 builtin (ush)
ac97_test builtin (ush)
acpi builtin (ush)
acpidev builtin (ush)
acpipow builtin (ush)
acpitest builtin (ush)
ahci builtin (ush)
ahci_test builtin (ush)
alias builtin (ush)
arp builtin (ush)
ata builtin (ush)
ata_dma_test builtin (ush)
audio_rw_test builtin (ush)
bcm57xx builtin (ush)
bcm57xx_test builtin (ush)
bt builtin (ush)
cat builtin (ush)
cd builtin (ush)
checkupdate builtin (ush)
checkupdate_test builtin (ush)
chinese builtin (ush)
chinesetest builtin (ush)
clear builtin (ush)
config builtin (ush)
config_test builtin (ush)
cp builtin (ush)
cr3test builtin (ush)
crashlog builtin (ush)
crashtest builtin (ush)
cryptotest builtin (ush)
df builtin (ush)
dhcp builtin (ush)
dhtest builtin (ush)
disk_rw_test builtin (ush)
dmesg builtin (ush)
dns builtin (ush)
dnstest builtin (ush)
dskstat builtin (ush)
du builtin (ush)
dumpinfo builtin (ush)
e1000e builtin (ush)
e1000e_test builtin (ush)
echo builtin (ush)
edit builtin (ush)
encoding builtin (ush)
encoding-test builtin (ush)
es1370 builtin (ush)
es1370_test builtin (ush)
exc builtin (ush)
export builtin (ush)
fatmount builtin (ush)
fatstat builtin (ush)
firewall builtin (ush)
font builtin (ush)
font-test builtin (ush)
frag builtin (ush)
fs_mount_test builtin (ush)
fsck builtin (ush)
fstest builtin (ush)
gameport builtin (ush)
gameporttest builtin (ush)
grep builtin (ush)
grub-install builtin (ush)
halt builtin (ush)
halt_test builtin (ush)
hda builtin (ush)
hda_test builtin (ush)
health builtin (ush)
health export MISSING
health watch MISSING
heap builtin (ush)
heapbounds builtin (ush)
heaptest builtin (ush)
help builtin (ush)
help_a_test builtin (ush)
help_default_test builtin (ush)
help_wp_test builtin (ush)
hpet builtin (ush)
i2cdetect builtin (ush)
i2cget builtin (ush)
i2cset builtin (ush)
i2ctest builtin (ush)
ifconfig builtin (ush)
igb builtin (ush)
igb_test builtin (ush)
ime builtin (ush)
ime-test builtin (ush)
install builtin (ush)
ip builtin (ush)
ir builtin (ush)
irqabitest builtin (ush)
irtest builtin (ush)
ixgbe builtin (ush)
ixgbe_test builtin (ush)
kill builtin (ush)
l1test builtin (ush)
lang builtin (ush)
ldd builtin (ush)
logcat builtin (ush)
logctl builtin (ush)
ls builtin (ush)
lsblk builtin (ush)
lspci builtin (ush)
mem builtin (ush)
memtest builtin (ush)
mkdir builtin (ush)
mkfs.exfat builtin (ush)
mkfs.ext4 builtin (ush)
mkfs.fat32 builtin (ush)
mount builtin (ush)
mounts builtin (ush)
msitest builtin (ush)
multi builtin (ush)
mv builtin (ush)
nano builtin (ush)
netstat builtin (ush)
nf_test builtin (ush)
nic_rw_test builtin (ush)
nice builtin (ush)
nvme builtin (ush)
nvme_test builtin (ush)
other_nic_test builtin (ush)
parallel builtin (ush)
paralleltest builtin (ush)
parted builtin (ush)
partition_test builtin (ush)
pcibars builtin (ush)
pcidump builtin (ush)
pcie builtin (ush)
pftest builtin (ush)
ping builtin (ush)
play builtin (ush)
pmmrace builtin (ush)
pmtimer builtin (ush)
poweroff builtin (ush)
poweroff_test builtin (ush)
ps builtin (ush)
pwd builtin (ush)
real_hw_test builtin (ush)
real_update_test builtin (ush)
reboot builtin (ush)
reboot_test builtin (ush)
rm builtin (ush)
rmdir builtin (ush)
rollback builtin (ush)
route builtin (ush)
rtc builtin (ush)
rtl810x builtin (ush)
rtl810x_test builtin (ush)
rtl8125 builtin (ush)
rtl8125_test builtin (ush)
rtl8139 builtin (ush)
rtl8139_test builtin (ush)
rtl8168 builtin (ush)
rtl8168_test builtin (ush)
run builtin (ush)
sample_rate_test builtin (ush)
sb16 builtin (ush)
sb16_test builtin (ush)
sched builtin (ush)
scsi builtin (ush)
scsitest builtin (ush)
set builtin (ush)
shutdown builtin (ush)
sleep builtin (ush)
smbus builtin (ush)
smbustest builtin (ush)
sound builtin (ush)
spawn builtin (ush)
ssh builtin (ush)
sshd builtin (ush)
stats builtin (ush)
sync builtin (ush)
syncstat builtin (ush)
synctest builtin (ush)
tcpcc_test builtin (ush)
tcpstats builtin (ush)
tcptest builtin (ush)
timer builtin (ush)
touch builtin (ush)
touchpad builtin (ush)
touchtest builtin (ush)
tree builtin (ush)
tsc builtin (ush)
tui builtin (ush)
tui-drv builtin (ush)
tui-ext builtin (ush)
tui-hw builtin (ush)
tui-net builtin (ush)
tui-sys builtin (ush)
tui-sysinfo builtin (ush)
tui-test builtin (ush)
tui-time builtin (ush)
umount builtin (ush)
unalias builtin (ush)
uname builtin (ush)
update builtin (ush)
update_check_test builtin (ush)
update_download_test builtin (ush)
update_install_test builtin (ush)
update_local_test builtin (ush)
update_pkg_test builtin (ush)
update_rollback_test builtin (ush)
update_status_test builtin (ush)
update_verify_test builtin (ush)
usb builtin (ush)
usb_audio_test builtin (ush)
usb_core_test builtin (ush)
usb_hotplug_test builtin (ush)
usb_hub_test builtin (ush)
usb_kbd_test builtin (ush)
usb_mouse_test builtin (ush)
usb_serial_test builtin (ush)
usb_storage_test builtin (ush)
usbaudio builtin (ush)
usbdev builtin (ush)
uvc builtin (ush)
uvctest builtin (ush)
vi builtin (ush)
virtio_blk_test builtin (ush)
virtio_snd_test builtin (ush)
virtiosnd builtin (ush)
vmkernelpt builtin (ush)
vmmap builtin (ush)
vmtest builtin (ush)
volume builtin (ush)
watchdog builtin (ush)
wget builtin (ush)
wifi builtin (ush)
write builtin (ush)

Part 2 - L1SVC service surface

The numbered ring-3 call surface (SYS_L1SVC): category number selects the services/<category>/ folder, op selects the command. Renumber only by appending (see src/L0/services/sysapi/l1svc_defs.h).

Cat Folder Categories with an L1 dispatch table
1 services/time/ yes
2 services/block/ yes
3 services/nic/ yes
4 services/snd/ yes
5 services/power/ yes
6 services/ota/ yes
7 services/fs/ yes
8 services/net/ yes
9 services/health/ yes
10 services/klog/ yes
11 services/watchdog/ yes
12 services/crypto/ yes
13 services/l1/ yes
14 services/display/ yes
15 services/input/ yes
16 services/camera/ yes
17 services/usb/ yes
18 services/ocembed/ -
19 services/diag/ yes
20 services/tui/ yes

services/block (23 ops)

Op Command Constant
1 ahci L1SVC_BLK_AHCI
2 nvme L1SVC_BLK_NVME
3 ata L1SVC_BLK_ATA
4 dskstat L1SVC_BLK_DSKSTAT
5 lsblk L1SVC_BLK_LSBLK
6 parted [dev] L1SVC_BLK_PARTED
7 mkfs.fat32 <dev> L1SVC_BLK_MKFS_FAT32
8 mkfs.exfat <dev> L1SVC_BLK_MKFS_EXFAT
9 mkfs.ext4 <dev> L1SVC_BLK_MKFS_EXT4
10 fsck L1SVC_BLK_FSCK
11 sync L1SVC_BLK_SYNC
12 ahci_test L1SVC_BLK_AHCI_TEST
13 nvme_test L1SVC_BLK_NVME_TEST
14 ata_dma_test L1SVC_BLK_ATA_DMA_TEST
15 virtio_blk_test L1SVC_BLK_VIRTIO_TEST
16 disk_rw_test <dev> L1SVC_BLK_RW_TEST
17 partition_test [dev] L1SVC_BLK_PART_TEST
18 fs_mount_test <dev> L1SVC_BLK_FS_MOUNT_TEST
19 real_hw_test L1SVC_BLK_REAL_HW_TEST
20 abdisk <dev> L1SVC_BLK_ABDISK
21 install <dev> L1SVC_BLK_INSTALL
22 grub-install <dev> L1SVC_BLK_GRUB_INSTALL
23 abcfg L1SVC_BLK_ABCFG

services/camera (10 ops)

Op Command Constant
1 uvc L1SVC_CAM_UVC
2 uvctest L1SVC_CAM_UVCTEST
3 scsi L1SVC_CAM_SCSI
4 scsitest L1SVC_CAM_SCSITEST
5 gameport L1SVC_CAM_GAMEPORT
6 gameporttest L1SVC_CAM_GAMEPORTTEST
7 parallel L1SVC_CAM_PARALLEL
8 paralleltest L1SVC_CAM_PARALLELTEST
9 ir L1SVC_CAM_IR
10 irtest L1SVC_CAM_IRTEST

services/crypto (2 ops)

Op Command Constant
1 cryptotest L1SVC_CRYPTO_CRYPTOTEST
2 dhtest L1SVC_CRYPTO_DHTEST

services/diag (9 ops)

Op Command Constant
1 mem : PMM stats L1SVC_DIAG_MEM
2 frag : PMM fragments L1SVC_DIAG_FRAG
3 heap : kernel heap stats L1SVC_DIAG_HEAP
4 sched : scheduler stats L1SVC_DIAG_SCHED
5 syncstat : sync primitive stats L1SVC_DIAG_SYNCSTAT
6 crashlog [flush] L1SVC_DIAG_CRASHLOG
7 `crashtest panic exc
8 dumpinfo : core dump status L1SVC_DIAG_DUMPINFO
26 G10 range (chipset) - reserved, bodies land with the group L1SVC_DIAG_FSTEST

services/display (12 ops)

Op Command Constant
1 stats L1SVC_DISP_STATS
2 `uname [-a -s
3 clear L1SVC_DISP_CLEAR
4 `lang [en zh]`
5 chinese L1SVC_DISP_CHINESE
6 chinesetest L1SVC_DISP_CHINESETEST
7 font L1SVC_DISP_FONT
8 font-test L1SVC_DISP_FONT_TEST
9 encoding L1SVC_DISP_ENCODING
10 encoding-test L1SVC_DISP_ENC_TEST
11 ime [-i] L1SVC_DISP_IME
12 ime-test L1SVC_DISP_IME_TEST

services/fs (6 ops)

Op Command Constant
1 mount [type dev p] : list or mount L1SVC_FS_MOUNT
2 mounts : list (alias) L1SVC_FS_MOUNTS
3 umount <path> : unmount L1SVC_FS_UMOUNT
4 fatmount [dev p] : mount FAT32 L1SVC_FS_FATMOUNT
5 fatstat : FAT32 stats L1SVC_FS_FATSTAT
6 tree [path] : directory tree L1SVC_FS_TREE

services/health (3 ops)

Op Command Constant
1 health L1SVC_HEALTH_SNAPSHOT
2 health export [path] L1SVC_HEALTH_EXPORT
3 health watch (loop, ENTER exits) L1SVC_HEALTH_WATCH

services/input (2 ops)

Op Command Constant
1 touchpad L1SVC_INP_TOUCHPAD
2 touchtest L1SVC_INP_TOUCHTEST

services/klog (3 ops)

Op Command Constant
1 dmesg [N] L1SVC_KLOG_DMESG
2 logcat -l lvl -m mod -k key -t sec -n N [-f] L1SVC_KLOG_LOGCAT
3 `logctl status level

services/l1 (2 ops)

Op Command Constant
2 l1test (job + wp8b + CPL0 smoke) L1SVC_L1_L1TEST
3 ldd <program> L1SVC_L1_LDD

services/net (14 ops)

Op Command Constant
1 arp L1SVC_NET_ARP
2 dhcp L1SVC_NET_DHCP
3 dns <host> L1SVC_NET_DNS
4 dnstest L1SVC_NET_DNSTEST
5 firewall [...] L1SVC_NET_FIREWALL
6 ip L1SVC_NET_IP
7 lspci L1SVC_NET_LSPCI
8 nf_test L1SVC_NET_NF_TEST
9 route L1SVC_NET_ROUTE
10 tcpcc_test L1SVC_NET_TCPCC_TEST
11 tcpstats L1SVC_NET_TCPSTATS
12 tcptest L1SVC_NET_TCPTEST
13 ssh <ip> [port] [user] [pass] L1SVC_NET_SSH
14 sshd [port] [user] [pass] L1SVC_NET_SSHD

services/nic (20 ops)

Op Command Constant
1 e1000e L1SVC_NIC_E1000E
2 igb L1SVC_NIC_IGB
3 ixgbe L1SVC_NIC_IXGBE
4 rtl8139 L1SVC_NIC_RTL8139
5 rtl8168 L1SVC_NIC_RTL8168
6 rtl8125 L1SVC_NIC_RTL8125
7 rtl810x L1SVC_NIC_RTL810X
8 bcm57xx L1SVC_NIC_BCM57XX
9 e1000e_test L1SVC_NIC_E1000E_TEST
10 igb_test L1SVC_NIC_IGB_TEST
11 ixgbe_test L1SVC_NIC_IXGBE_TEST
12 rtl8139_test L1SVC_NIC_RTL8139_TEST
13 rtl8168_test L1SVC_NIC_RTL8168_TEST
14 rtl8125_test L1SVC_NIC_RTL8125_TEST
15 rtl810x_test L1SVC_NIC_RTL810X_TEST
16 bcm57xx_test L1SVC_NIC_BCM57XX_TEST
17 other_nic_test L1SVC_NIC_OTHER_TEST
18 nic_rw_test L1SVC_NIC_RW_TEST
19 `wifi [status scan
20 `bt [status usb

services/ota (16 ops)

Op Command Constant
1 checkupdate L1SVC_OTA_CHECKUPDATE
2 `config list get
3 config_test L1SVC_OTA_CONFIG_TEST
4 checkupdate_test L1SVC_OTA_CHECKUPDATE_TEST
5 update [...] L1SVC_OTA_UPDATE
6 rollback L1SVC_OTA_ROLLBACK
7 update_pkg_test L1SVC_OTA_PKG_TEST
8 ab_partition_test L1SVC_OTA_AB_TEST
9 update_check_test L1SVC_OTA_CHECK_TEST
10 update_download_test L1SVC_OTA_DOWNLOAD_TEST
11 update_verify_test L1SVC_OTA_VERIFY_TEST
12 update_install_test L1SVC_OTA_INSTALL_TEST
13 update_rollback_test L1SVC_OTA_ROLLBACK_TEST
14 update_local_test L1SVC_OTA_LOCAL_TEST
15 update_status_test L1SVC_OTA_STATUS_TEST
16 real_update_test L1SVC_OTA_REAL_TEST

services/power (8 ops)

Op Command Constant
1 shutdown / poweroff L1SVC_PWR_SHUTDOWN
2 reboot L1SVC_PWR_REBOOT
3 halt L1SVC_PWR_HALT
4 sleep <sec> L1SVC_PWR_SLEEP
5 poweroff_test L1SVC_PWR_POWEROFF_TEST
6 suspend_test L1SVC_PWR_SUSPEND_TEST
7 halt_test L1SVC_PWR_HALT_TEST
8 reboot_test L1SVC_PWR_REBOOT_TEST

services/snd (17 ops)

Op Command Constant
1 sound L1SVC_SND_SOUND
2 hda L1SVC_SND_HDA
3 ac97 L1SVC_SND_AC97
4 sb16 L1SVC_SND_SB16
5 es1370 L1SVC_SND_ES1370
6 virtiosnd L1SVC_SND_VIRTIOSND
7 usbaudio L1SVC_SND_USBAUDIO
8 play <file> L1SVC_SND_PLAY
9 volume [0-100] L1SVC_SND_VOLUME
10 hda_test L1SVC_SND_HDA_TEST
11 ac97_test L1SVC_SND_AC97_TEST
12 sb16_test L1SVC_SND_SB16_TEST
13 es1370_test L1SVC_SND_ES1370_TEST
14 virtio_snd_test L1SVC_SND_VIRTIO_TEST
15 usb_audio_test L1SVC_SND_USB_TEST
16 audio_rw_test L1SVC_SND_RW_TEST
17 sample_rate_test L1SVC_SND_RATE_TEST

services/time (4 ops)

Op Command Constant
1 rtc [uie N] : CMOS RTC status L1SVC_TIME_RTC
2 hpet : HPET status L1SVC_TIME_HPET
3 pmtimer : PM timer status L1SVC_TIME_PMTIMER
4 tsc : TSC status L1SVC_TIME_TSC

services/tui (9 ops)

Op Command Constant
1 tui (desktop) L1SVC_TUI_TUI
2 tui-test (selftests) L1SVC_TUI_TEST
3 tui-hw [page] L1SVC_TUI_HW
4 tui-net L1SVC_TUI_NET
5 tui-sysinfo [page] L1SVC_TUI_SYSINFO
6 tui-time L1SVC_TUI_TIME
7 tui-drv [page] L1SVC_TUI_DRV
8 tui-sys [page] L1SVC_TUI_SYS
9 tui-ext L1SVC_TUI_EXT

services/usb (9 ops)

Op Command Constant
1 usb L1SVC_USB_STATUS
2 usbdev [slot] L1SVC_USB_DEV
3 usb_core_test L1SVC_USB_CORE_TEST
4 usb_kbd_test L1SVC_USB_KBD_TEST
5 usb_mouse_test L1SVC_USB_MOUSE_TEST
6 usb_storage_test L1SVC_USB_STORAGE_TEST
7 usb_serial_test L1SVC_USB_SERIAL_TEST
8 usb_hotplug_test [...] L1SVC_USB_HOTPLUG_TEST
9 usb_hub_test L1SVC_USB_HUB_TEST

services/watchdog (1 ops)

Op Command Constant
1 watchdog [subcommand ...] L1SVC_WDT_CMD

Kernel-side service header declarations

Every callable declaration in the service surface headers, in file and declaration order.

src/L0/services/crypto/crypto_l1_cmds.h

Line Declaration
15 int crypto_cmd_cryptotest(const char *args);
16 int crypto_cmd_dhtest(const char *args);

src/L0/services/display/disp_cmds.h

Line Declaration
21 int disp_cmd_stats(const char *args);
22 int disp_cmd_uname(const char *args);
23 int disp_cmd_clear(const char *args);
25 int disp_cmd_lang(const char *args);
27 int disp_cmd_chinese(const char *args);
28 int disp_cmd_chinesetest(const char *args);
29 int disp_cmd_font(const char *args);
30 int disp_cmd_font_test(const char *args);
31 int disp_cmd_encoding(const char *args);
32 int disp_cmd_encoding_test(const char *args);
34 int disp_cmd_ime(const char *args);
35 int disp_cmd_ime_test(const char *args);
39 int ime_console_compose(u8 *out, int cap);
43 int inp_cmd_touchpad(const char *args);
44 int inp_cmd_touchtest(const char *args);

src/L0/services/net/net_l1_cmds.h

Line Declaration
19 int net_cmd_arp(const char *args);
20 int net_cmd_dhcp(const char *args);
21 int net_cmd_dns(const char *args);
22 int net_cmd_dnstest(const char *args);
23 int net_cmd_firewall(const char *args);
24 int net_cmd_ip(const char *args);
25 int net_cmd_lspci(const char *args);
26 int net_cmd_nf_test(const char *args);
27 int net_cmd_route(const char *args);
28 int net_cmd_tcpcc_test(const char *args);
29 int net_cmd_tcpstats(const char *args);
30 int net_cmd_ssh(const char *args);
31 int net_cmd_sshd(const char *args);
32 int net_cmd_tcptest(const char *args);
36 int net_cmd_ifconfig(const char *args);
37 int net_cmd_ping(const char *args);
38 int net_cmd_netstat(const char *args);
39 int net_cmd_wget(const char *args);

src/L0/services/selfhost/ota_ab.h

Line Declaration
114 int ota_ab_init(void);
119 int ota_ab_rescan(void);
123 void ota_ab_set_boot_slot_arg(const char *cmdline);
129 void ota_ab_boot_early(void);
133 void ota_update_confirm_boot(void);
138 int ota_ab_current_slot(void);
141 const char *ota_ab_slot_name(int slot);
144 const char *ota_ab_slot_path(int slot);
148 const char *ota_ab_disk_name(void);
151 int ota_ab_flags_ready(void);
155 int ota_ab_read_flags(int *next_boot, int *ok_b, int *bootfail_b);
162 int ota_update_set_boot(const char *slot);
166 int ota_update_rollback(void);
169 int ota_update_get_status(ota_update_status_t *out);
173 int ota_update_download(const char *url, const char *path);
177 int ota_update_verify(const char *path, const char *crypto_sha256_hex);
183 int ota_update_install(const char *pkg_path, const char *slot);
186 const char *ota_update_strerror(int rc);
190 int ota_cmd_update(const char *args);
191 int ota_cmd_rollback(const char *args);

src/L0/services/selfhost/ota_update.h

Line Declaration
112 int ota_update_check(ota_update_info_t *out);
118 int ota_update_check_async(void);
121 const char *ota_update_check_strerror(int rc);
124 int ota_cmd_checkupdate(const char *args);
125 int ota_cmd_checkupdate_test(const char *args);
153 int ota_update_check_pkg(ota_update_pkg_info_t *out);
164 int ota_update_url_parse(const char *url, ota_update_url_t *out);
169 int ota_update_json_string(const char *json, const char *key, char *out, int outlen);
171 int ota_update_json_uint(const char *json, const char *key, u64 *out);
187 int ota_update_changes_v2_url(const char *body, char *url, int cap);
188 int ota_update_fetch_changes_v2(const char *v2url, char *out, int outcap);
192 void ota_update_cache_check(int rc, const char *version);

src/L0/services/usb/usb_cmds.h

Line Declaration
16 int usb_cmd_usb(const char *args);
17 int usb_cmd_usbdev(const char *args);
18 int usb_cmd_usb_core_test(const char *args);
19 int usb_cmd_usb_kbd_test(const char *args);
20 int usb_cmd_usb_mouse_test(const char *args);
21 int usb_cmd_usb_storage_test(const char *args);
22 int usb_cmd_usb_serial_test(const char *args);
23 int usb_cmd_usb_hotplug_test(const char *args);
24 int usb_cmd_usb_hub_test(const char *args);

Part 2c - v1.0.0 -> 3.0.0-WP06c interface-surface comparison (278 entries)

2.1.0 (P-04): the per-entry truth behind 'the register class is gone'. The v1 README formula counted 162 numbered L1 extension interfaces; the v1 Part 2 tables are the complete unfiltered declaration truth of the 13 L1 surface headers - 278 callable rows - and this comparison covers every one of them (a superset of any numbered subset; the 2.0.0 postcheck's 163-row parse was itself incomplete and missed three of the deletions below). Their fate in the current tree: 263 public + 0 internalized + 15 gone = 278.

v1.0.0 entry v1 header v2 status v2 home
driver_block_init drivers/block/driver_block_blk.h public ocse/drivers/block/driver_block_blk.h
driver_block_register_device drivers/block/driver_block_blk.h public ocse/drivers/block/driver_block_blk.h
driver_block_unregister_device drivers/block/driver_block_blk.h public ocse/drivers/block/driver_block_blk.h
driver_block_find_device drivers/block/driver_block_blk.h public ocse/drivers/block/driver_block_blk.h, src/L0/drivers/block/block_svc.h
driver_block_get_device drivers/block/driver_block_blk.h public ocse/drivers/block/driver_block_blk.h, src/L0/drivers/block/block_svc.h
driver_block_read_sectors drivers/block/driver_block_blk.h public ocse/drivers/block/driver_block_blk.h, src/L0/drivers/block/block_svc.h
driver_block_write_sectors drivers/block/driver_block_blk.h public ocse/drivers/block/driver_block_blk.h, src/L0/drivers/block/block_svc.h
driver_block_read_sectors_raw drivers/block/driver_block_blk.h public ocse/drivers/block/driver_block_blk.h, src/L0/drivers/block/block_svc.h
driver_block_write_sectors_raw drivers/block/driver_block_blk.h public ocse/drivers/block/driver_block_blk.h, src/L0/drivers/block/block_svc.h
driver_block_register drivers/block/driver_block_blk.h public ocse/drivers/block/driver_block_blk.h
driver_block_read drivers/block/driver_block_blk.h public ocse/drivers/block/driver_block_blk.h, src/L0/drivers/block/block_svc.h
driver_block_write drivers/block/driver_block_blk.h public ocse/drivers/block/driver_block_blk.h, src/L0/drivers/block/block_svc.h
driver_block_flush drivers/block/driver_block_blk.h public ocse/drivers/block/driver_block_blk.h, src/L0/drivers/block/block_svc.h
driver_block_set_ops drivers/block/driver_block_blk.h public ocse/drivers/block/driver_block_blk.h
driver_block_list_devices drivers/block/driver_block_blk.h public ocse/drivers/block/driver_block_blk.h, src/L0/drivers/block/block_svc.h
driver_block_get_stats drivers/block/driver_block_blk.h public ocse/drivers/block/driver_block_blk.h, src/L0/drivers/block/block_svc.h
driver_block_num_devices drivers/block/driver_block_blk.h public ocse/drivers/block/driver_block_blk.h, src/L0/drivers/block/block_svc.h
driver_nic_init drivers/nic/driver_nic.h gone (deleted - Part 2d) -
driver_nic_register drivers/nic/driver_nic.h gone (deleted - Part 2d) -
driver_nic_send drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
driver_nic_recv drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
driver_nic_link_status drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
driver_nic_get_mac drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
driver_nic_num_devices drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
driver_nic_get_device drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
driver_nic_find_by_type drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
driver_nic_find_first_present drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
driver_nic_list_devices drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
driver_nic_probe_all drivers/nic/driver_nic.h gone (deleted - Part 2d) -
driver_nic_active drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
driver_nic_e1000e_init drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
driver_nic_e1000e_resume drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
driver_nic_igb_init drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
driver_nic_ixgbe_init drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
driver_nic_rtl8139_init drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
rtl8168_init drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
rtl8125_init drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
rtl810x_init drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
bcm57xx_init drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
other_nics_init drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
other_nics_print_state drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
shell_cmds_nic_test_register drivers/nic/driver_nic.h gone (deleted - Part 2d) -
driver_nic_e1000e_print_state drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
driver_nic_igb_print_state drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
driver_nic_ixgbe_print_state drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
driver_nic_rtl8139_print_state drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
rtl8168_print_state drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
rtl8125_print_state drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
rtl810x_print_state drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
bcm57xx_print_state drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
driver_nic_resume drivers/nic/driver_nic.h public src/L0/drivers/nic/nic_svc.h
driver_snd_init drivers/snd/driver_snd.h gone (deleted - Part 2d) -
driver_snd_register drivers/snd/driver_snd.h gone (deleted - Part 2d) -
driver_snd_play drivers/snd/driver_snd.h public src/L0/drivers/snd/snd_svc.h
driver_snd_stop drivers/snd/driver_snd.h public src/L0/drivers/snd/snd_svc.h
driver_snd_set_rate drivers/snd/driver_snd.h public src/L0/drivers/snd/snd_svc.h
driver_snd_set_volume drivers/snd/driver_snd.h public src/L0/drivers/snd/snd_svc.h
driver_snd_get_caps drivers/snd/driver_snd.h public src/L0/drivers/snd/snd_svc.h
driver_snd_num_devices drivers/snd/driver_snd.h public src/L0/drivers/snd/snd_svc.h
driver_snd_get_device drivers/snd/driver_snd.h public src/L0/drivers/snd/snd_svc.h
driver_snd_find_by_type drivers/snd/driver_snd.h public src/L0/drivers/snd/snd_svc.h
driver_snd_find_first_present drivers/snd/driver_snd.h public src/L0/drivers/snd/snd_svc.h
driver_snd_list_devices drivers/snd/driver_snd.h public src/L0/drivers/snd/snd_svc.h
driver_snd_type_name drivers/snd/driver_snd.h public src/L0/drivers/snd/snd_svc.h
driver_snd_probe_all drivers/snd/driver_snd.h gone (deleted - Part 2d) -
driver_snd_hda_init drivers/snd/driver_snd.h public src/L0/drivers/snd/driver_snd_hda.h, src/L0/drivers/snd/snd_svc.h
driver_snd_ac97_init drivers/snd/driver_snd.h public src/L0/drivers/snd/driver_snd_ac97.h, src/L0/drivers/snd/snd_svc.h
driver_snd_sb16_init drivers/snd/driver_snd.h public src/L0/drivers/snd/driver_snd_sb16.h, src/L0/drivers/snd/snd_svc.h
driver_snd_es1370_init drivers/snd/driver_snd.h public src/L0/drivers/snd/driver_snd_es1370.h, src/L0/drivers/snd/snd_svc.h
driver_snd_virtio_init drivers/snd/driver_snd.h public src/L0/drivers/snd/driver_snd_virtio.h, src/L0/drivers/snd/snd_svc.h
driver_usb_audio_init drivers/snd/driver_snd.h public src/L0/drivers/snd/snd_svc.h, src/L0/drivers/usb/driver_usb_audio.h
driver_snd_hda_print_state drivers/snd/driver_snd.h public src/L0/drivers/snd/driver_snd_hda.h, src/L0/drivers/snd/snd_svc.h
driver_snd_ac97_print_state drivers/snd/driver_snd.h public src/L0/drivers/snd/driver_snd_ac97.h, src/L0/drivers/snd/snd_svc.h
driver_snd_sb16_print_state drivers/snd/driver_snd.h public src/L0/drivers/snd/driver_snd_sb16.h, src/L0/drivers/snd/snd_svc.h
driver_snd_es1370_print_state drivers/snd/driver_snd.h public src/L0/drivers/snd/driver_snd_es1370.h, src/L0/drivers/snd/snd_svc.h
driver_snd_virtio_print_state drivers/snd/driver_snd.h public src/L0/drivers/snd/driver_snd_virtio.h, src/L0/drivers/snd/snd_svc.h
driver_usb_audio_print_state drivers/snd/driver_snd.h public src/L0/drivers/snd/snd_svc.h, src/L0/drivers/usb/driver_usb_audio.h
shell_cmds_snd_test_register drivers/snd/driver_snd.h gone (deleted - Part 2d) -
driver_snd_make_tone drivers/snd/driver_snd.h public src/L0/drivers/snd/snd_svc.h
health_get_cpu kernel/core/core_health.h public ocse/kernel/core/core_health.h, src/L0/services/health/core_health.h
health_get_mem kernel/core/core_health.h public ocse/kernel/core/core_health.h, src/L0/services/health/core_health.h
health_get_tasks kernel/core/core_health.h public ocse/kernel/core/core_health.h, src/L0/services/health/core_health.h
health_get_io kernel/core/core_health.h public ocse/kernel/core/core_health.h, src/L0/services/health/core_health.h
health_export kernel/core/core_health.h public ocse/kernel/core/core_health.h, src/L0/services/health/core_health.h
health_init kernel/core/core_health.h public ocse/kernel/core/core_health.h, src/L0/services/health/core_health.h
health_last kernel/core/core_health.h public ocse/kernel/core/core_health.h, src/L0/services/health/core_health.h
health_sample_count kernel/core/core_health.h public ocse/kernel/core/core_health.h, src/L0/services/health/core_health.h
watchdog_register kernel/core/core_watchdog.h public ocse/kernel/core/core_watchdog.h, src/L0/services/crash/core_watchdog.h
watchdog_start kernel/core/core_watchdog.h public ocse/kernel/core/core_watchdog.h, src/L0/services/crash/core_watchdog.h
watchdog_feed kernel/core/core_watchdog.h public ocse/kernel/core/core_watchdog.h, src/L0/services/crash/core_watchdog.h
watchdog_stop kernel/core/core_watchdog.h public ocse/kernel/core/core_watchdog.h, src/L0/services/crash/core_watchdog.h
watchdog_set_timeout kernel/core/core_watchdog.h public ocse/kernel/core/core_watchdog.h, src/L0/services/crash/core_watchdog.h
watchdog_init kernel/core/core_watchdog.h public ocse/kernel/core/core_watchdog.h, src/L0/services/crash/core_watchdog.h
watchdog_count kernel/core/core_watchdog.h public ocse/kernel/core/core_watchdog.h, src/L0/services/crash/core_watchdog.h
watchdog_get_info kernel/core/core_watchdog.h public ocse/kernel/core/core_watchdog.h, src/L0/services/crash/core_watchdog.h
watchdog_hw_present kernel/core/core_watchdog.h public ocse/kernel/core/core_watchdog.h, src/L0/services/crash/core_watchdog.h
watchdog_hw_name kernel/core/core_watchdog.h public ocse/kernel/core/core_watchdog.h, src/L0/services/crash/core_watchdog.h
watchdog_hw_start kernel/core/core_watchdog.h public ocse/kernel/core/core_watchdog.h, src/L0/services/crash/core_watchdog.h
watchdog_hw_feed kernel/core/core_watchdog.h public ocse/kernel/core/core_watchdog.h, src/L0/services/crash/core_watchdog.h
watchdog_hw_stop kernel/core/core_watchdog.h public ocse/kernel/core/core_watchdog.h, src/L0/services/crash/core_watchdog.h
watchdog_hw_set_timeout kernel/core/core_watchdog.h public ocse/kernel/core/core_watchdog.h, src/L0/services/crash/core_watchdog.h
watchdog_hw_timeout kernel/core/core_watchdog.h public ocse/kernel/core/core_watchdog.h, src/L0/services/crash/core_watchdog.h
watchdog_hw_base kernel/core/core_watchdog.h public ocse/kernel/core/core_watchdog.h, src/L0/services/crash/core_watchdog.h
watchdog_hw_armed kernel/core/core_watchdog.h public ocse/kernel/core/core_watchdog.h, src/L0/services/crash/core_watchdog.h
watchdog_hw_gcs_noreboot kernel/core/core_watchdog.h public ocse/kernel/core/core_watchdog.h, src/L0/services/crash/core_watchdog.h
klog_write kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/core/lib/lib_klog.h
klog_set_level kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/core/lib/lib_klog.h
klog_get_level kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/core/lib/lib_klog.h
klog_set_level_enabled kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/core/lib/lib_klog.h
klog_get_level_enabled kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/core/lib/lib_klog.h
klog_flush kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/core/lib/lib_klog.h, src/L0/services/klog/klog_file.h
klog_flush_panic kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/core/lib/lib_klog.h, src/L0/services/klog/klog_file.h
klog_rotate kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/core/lib/lib_klog.h, src/L0/services/klog/klog_file.h
klog_filter_set kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/core/lib/lib_klog.h
klog_filter_clear kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/core/lib/lib_klog.h
klog_init kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/core/lib/lib_klog.h
klog_grow kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/core/lib/lib_klog.h
klog_on_mount kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/services/klog/klog_file.h
klog_ring_count kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/core/lib/lib_klog.h
klog_ring_get kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/core/lib/lib_klog.h
klog_clear kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/core/lib/lib_klog.h
klog_record kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/core/lib/lib_klog.h
klog_filter_active kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/core/lib/lib_klog.h
klog_filter_level kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/core/lib/lib_klog.h
klog_filter_module kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/core/lib/lib_klog.h
klog_filter_keyword kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/core/lib/lib_klog.h
klog_file_bytes kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/services/klog/klog_file.h
klog_file_open kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/services/klog/klog_file.h
klog_dropped kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/core/lib/lib_klog.h
klog_set_rotate_bytes kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/services/klog/klog_file.h
klog_set_rotate_keep kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/services/klog/klog_file.h
klog_get_rotate_bytes kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/services/klog/klog_file.h
klog_get_rotate_keep kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/services/klog/klog_file.h
klog_level_name kernel/lib/lib_klog.h public ocse/kernel/lib/lib_klog.h, src/L0/core/lib/lib_klog.h
ota_ab_init kernel/ota/ota_ab.h public src/L0/services/selfhost/ota_ab.h
ota_ab_rescan kernel/ota/ota_ab.h public src/L0/services/selfhost/ota_ab.h
ota_ab_set_boot_slot_arg kernel/ota/ota_ab.h public src/L0/services/selfhost/ota_ab.h
ota_ab_boot_early kernel/ota/ota_ab.h public src/L0/services/selfhost/ota_ab.h
ota_update_confirm_boot kernel/ota/ota_ab.h public src/L0/services/selfhost/ota_ab.h
ota_ab_current_slot kernel/ota/ota_ab.h public src/L0/services/selfhost/ota_ab.h
ota_ab_slot_name kernel/ota/ota_ab.h public src/L0/services/selfhost/ota_ab.h
ota_ab_slot_path kernel/ota/ota_ab.h public src/L0/services/selfhost/ota_ab.h
ota_ab_disk_name kernel/ota/ota_ab.h public src/L0/services/selfhost/ota_ab.h
ota_ab_flags_ready kernel/ota/ota_ab.h public src/L0/services/selfhost/ota_ab.h
ota_ab_read_flags kernel/ota/ota_ab.h public src/L0/services/selfhost/ota_ab.h
ota_update_set_boot kernel/ota/ota_ab.h public src/L0/services/selfhost/ota_ab.h
ota_update_rollback kernel/ota/ota_ab.h public src/L0/services/selfhost/ota_ab.h
ota_update_get_status kernel/ota/ota_ab.h public src/L0/services/selfhost/ota_ab.h
ota_update_download kernel/ota/ota_ab.h public src/L0/services/selfhost/ota_ab.h
ota_update_verify kernel/ota/ota_ab.h public src/L0/services/selfhost/ota_ab.h
ota_update_install kernel/ota/ota_ab.h public src/L0/services/selfhost/ota_ab.h
ota_update_strerror kernel/ota/ota_ab.h public src/L0/services/selfhost/ota_ab.h
shell_cmd_update kernel/ota/ota_ab.h gone (deleted - Part 2d) -
shell_cmd_rollback kernel/ota/ota_ab.h gone (deleted - Part 2d) -
shell_cmd_reboot kernel/ota/ota_ab.h public ocse/kernel/core/core_power.h
ota_update_check kernel/ota/ota_update.h public src/L0/services/selfhost/ota_update.h
ota_update_check_async kernel/ota/ota_update.h public src/L0/services/selfhost/ota_update.h
ota_update_check_strerror kernel/ota/ota_update.h public src/L0/services/selfhost/ota_update.h
shell_cmd_checkupdate kernel/ota/ota_update.h gone (deleted - Part 2d) -
shell_cmd_checkupdate_test kernel/ota/ota_update.h gone (deleted - Part 2d) -
ota_update_check_pkg kernel/ota/ota_update.h public src/L0/services/selfhost/ota_update.h
ota_update_url_parse kernel/ota/ota_update.h public src/L0/services/selfhost/ota_update.h
ota_update_json_string kernel/ota/ota_update.h public src/L0/services/selfhost/ota_update.h
ota_update_json_uint kernel/ota/ota_update.h public src/L0/services/selfhost/ota_update.h
ota_update_changes_v2_url kernel/ota/ota_update.h public src/L0/services/selfhost/ota_update.h
ota_update_fetch_changes_v2 kernel/ota/ota_update.h public src/L0/services/selfhost/ota_update.h
ota_update_cache_check kernel/ota/ota_update.h public src/L0/services/selfhost/ota_update.h
l1_ext_fb_get_info l1/l1_ext.h public ocse/l1/l1_ext.h, src/L0/services/display/disp_ext.h
l1_ext_set_renderer l1/l1_ext.h public ocse/l1/l1_ext.h, src/L0/services/display/disp_ext.h
l1_ext_register_font_engine l1/l1_ext.h public ocse/l1/l1_ext.h, src/L0/services/font/font_engine.h
l1_ext_font_engine_by_name l1/l1_ext.h public ocse/l1/l1_ext.h, src/L0/services/font/font_engine.h
l1_ext_default_font_engine l1/l1_ext.h public ocse/l1/l1_ext.h, src/L0/services/font/font_engine.h
l1_ext_set_console_hook l1/l1_ext.h public ocse/l1/l1_ext.h
l1_ext_console_hook l1/l1_ext.h public ocse/l1/l1_ext.h
l1_ext_config_read l1/l1_ext.h public ocse/l1/l1_ext.h, src/L0/core/lib/lib_config.h
l1_ext_config_write l1/l1_ext.h public ocse/l1/l1_ext.h, src/L0/core/lib/lib_config.h
l1_ext_config_get_all l1/l1_ext.h public ocse/l1/l1_ext.h, src/L0/core/lib/lib_config.h
l1_ext_check_update l1/l1_ext.h public src/L0/services/selfhost/ota_ext.h
l1_ext_check_update_async l1/l1_ext.h public src/L0/services/selfhost/ota_ext.h
l1_ext_update_check_pkg l1/l1_ext.h public src/L0/services/selfhost/ota_ext.h
l1_ext_update_download l1/l1_ext.h public src/L0/services/selfhost/ota_ext.h
l1_ext_update_verify l1/l1_ext.h public src/L0/services/selfhost/ota_ext.h
l1_ext_update_install l1/l1_ext.h public src/L0/services/selfhost/ota_ext.h
l1_ext_update_rollback l1/l1_ext.h public src/L0/services/selfhost/ota_ext.h
l1_ext_update_set_boot l1/l1_ext.h public src/L0/services/selfhost/ota_ext.h
l1_ext_update_get_status l1/l1_ext.h public src/L0/services/selfhost/ota_ext.h
l1_ext_power_shutdown l1/l1_ext.h public ocse/l1/l1_ext.h, src/L0/services/power/core_power.h
l1_ext_power_suspend l1/l1_ext.h public ocse/l1/l1_ext.h, src/L0/services/power/core_power.h
l1_ext_power_halt l1/l1_ext.h public ocse/l1/l1_ext.h, src/L0/services/power/core_power.h
l1_ext_power_reboot l1/l1_ext.h public ocse/l1/l1_ext.h, src/L0/services/power/core_power.h
l1_ext_shell_register_command_ex l1/l1_ext.h public ocse/l1/l1_ext.h
l1_ext_shell_list_commands_a_z l1/l1_ext.h public ocse/l1/l1_ext.h
l1_ext_shell_list_commands_by_wp l1/l1_ext.h public ocse/l1/l1_ext.h
l1_ext_self_test l1/l1_ext.h public ocse/l1/l1_ext.h
sys_proc_fork l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
sys_proc_exec l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
sys_proc_wait l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
sys_proc_exit l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
sys_proc_getpid l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
sys_proc_getppid l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
pipe_create l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
fd_dup l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
fd_dup2 l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
signal_register l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
signal_send l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
signal_return l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
sys_mem_mmap l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
sys_mem_munmap l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
sys_mem_mprotect l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
sys_mem_brk l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
sys_chdir l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
sys_getcwd l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h, src/L1/_shared/l1_lib.h
sys_ioctl l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
sys_select l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
sys_poll l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
l1_socket l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
l1_net_bind l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
l1_net_connect l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
l1_net_accept l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
l1_net_send l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
l1_net_recv l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
l1_net_close l1/l1_wp8a.h public src/L0/services/ipc/l1_wp8a.h
elf_load_dynamic l1/l1_wp8b.h public src/L0/services/loader/l1_wp8b.h
ldso_run l1/l1_wp8b.h public src/L0/services/loader/l1_wp8b.h
so_load l1/l1_wp8b.h public src/L0/services/loader/l1_wp8b.h
so_unload l1/l1_wp8b.h public src/L0/services/loader/l1_wp8b.h
symbol_resolve l1/l1_wp8b.h public src/L0/services/loader/l1_wp8b.h
dlsym_impl l1/l1_wp8b.h public src/L0/services/loader/l1_wp8b.h
dlopen_impl l1/l1_wp8b.h public src/L0/services/loader/l1_wp8b.h
dlclose_impl l1/l1_wp8b.h public src/L0/services/loader/l1_wp8b.h
reloc_apply l1/l1_wp8b.h public src/L0/services/loader/l1_wp8b.h
elf_get_needed l1/l1_wp8b.h public src/L0/services/loader/l1_wp8b.h
ext_wp8b_selftest l1/l1_wp8b.h public src/L0/services/loader/l1_wp8b.h
shell_run l1/l1_wp8cd.h gone (deleted - Part 2d) -
shell_register_builtin l1/l1_wp8cd.h gone (deleted - Part 2d) -
shell_unregister_builtin l1/l1_wp8cd.h gone (deleted - Part 2d) -
tool_register l1/l1_wp8cd.h public src/L0/services/ipc/l1_wp8cd.h
tool_list l1/l1_wp8cd.h public src/L0/services/ipc/l1_wp8cd.h
job_create l1/l1_wp8cd.h public src/L0/services/ipc/l1_wp8cd.h
job_list l1/l1_wp8cd.h public src/L0/services/ipc/l1_wp8cd.h
job_control l1/l1_wp8cd.h public src/L0/services/ipc/l1_wp8cd.h
tui_menu_register tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_menu_unregister tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_menu_list tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_menu_sort tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_page_register tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_page_unregister tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_page_list tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_page_render tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_page_input tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_ext_page_main tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_widget_register tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_widget_unregister tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_widget_list tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_widget_render tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_widget_event tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_cmd_register tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_cmd_unregister tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_cmd_list tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_cmd_execute tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_theme_register tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_theme_unregister tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_theme_list tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_theme_set tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_theme_current tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_key_register tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_key_unregister tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_key_list tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_key_conflict tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_key_dispatch tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_event_register tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_event_unregister tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_event_list tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_event_dispatch tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_ext_init tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_ext_register_ext_page tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_ext_reset tui/tui_ext.h public src/L0/services/tui/tui_ext.h
tui_ext_selftest tui/tui_ext.h public src/L0/services/tui/tui_ext.h

Part 2d - Deletion register (declared, complete)

Every v1.0.0 surface-header declaration with NO counterpart anywhere in the current tree - the complete declared deletion list. There are exactly 15; nothing else on the v1 surface was removed (the remaining 263 entries are public or internalized per Part 2c). All deletions are init/probe plumbing, not user-visible capability: the functionality was rebuilt inside the v2 service model - each row names where.

v1 entry v1 header What it did Why removed Rebuilt where
void driver_block_init(void); drivers/block/driver_block_blk.h hardcoded per-driver block-layer init walk v2 drivers self-register via OC_DRIVER_DECL and services self-initialize from the collected OC_SERVICE_DECL linker sections - a hardcoded walk contradicts the model block_svc_init() in services/block/block_svc.c (OC_SERVICE_DECL_L1 in services/block/block_l1.c)
int driver_nic_init(void); drivers/nic/driver_nic.h hardcoded per-family NIC init walk same self-declaration model nic_svc_init() in services/nic/nic_svc.c (services/nic/nic_svc.h)
int driver_nic_probe_all(void); drivers/nic/driver_nic.h hardcoded probe list over all NIC families the probe list is COLLECTED from per-driver OC_DRIVER_DECL identities instead of hardcoded nic_svc_probe_all() in services/nic/nic_svc.c (services/nic/nic_svc.h)
void driver_snd_init(void); drivers/snd/driver_snd.h hardcoded sound-driver init walk same self-declaration model snd_svc_init() in services/snd/snd_svc.c (services/snd/snd_svc.h)
int driver_snd_probe_all(void); drivers/snd/driver_snd.h hardcoded probe list over all sound drivers same collection model (see services/snd/snd_svc.c) snd_svc_probe_all() in services/snd/snd_svc.c (OC_SERVICE_DECL_L1 late probe, services/snd/snd_l1.c)

'Register class gone' - the exact statement (2.1.0 correction):

  • The register-class hooks of the three driver families were NOT deleted - they moved from the public v1 L1 headers into the per-family internal headers 'internal since 2.0.0' (driver_block_register AND the block family's driver_block_register_device / _unregister_device / driver_block_set_ops -> services/block/drv_internal.h; driver_nic_register -> services/nic/drv_internal.h; driver_snd_register -> services/snd/drv_internal.h - 6 entries in Part 2c marked internalized). They are driver-private plumbing now, not an L1 extension surface.
  • Still-public register-class declarations in the current tree: the tui_*_register families (tui/tui_ext.h), watchdog_register (services/watchdog/core_watchdog.h), signal_register (services/l1/l1_wp8a.h), shell_register_builtin (services/l1/l1_wp8cd.h) and l1_ext_shell_register_command_ex (services/l1/l1_ext.h).
  • The only true deletions on the v1 surface are the 15 rows above.

Part 3 - Syscall surface (54)

Defined in src/L0/services/sysapi/core_syscall.h (#define SYS_*). ABI: rax = number, rdi/rsi/rdx/r10 = arguments (r8 = 5th for SYS_L1SVC), rax = result (>= 0 success, < 0 error). SYS_L1SVC(110) and SYS_NETCMD(101) are the 2.0.0 ring-3 service bridges.

Clone this wiki locally