Changeset f35749e in mainline for uspace/lib/system/include
- Timestamp:
- 2025-02-28T23:38:26Z (10 months ago)
- Branches:
- master
- Children:
- 8300c72
- Parents:
- 4285f384
- Location:
- uspace/lib/system/include
- Files:
-
- 3 edited
-
ipc/system.h (modified) (2 diffs)
-
system.h (modified) (2 diffs)
-
system_srv.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/system/include/ipc/system.h
r4285f384 rf35749e 1 1 /* 2 * Copyright (c) 202 4Jiri Svoboda2 * Copyright (c) 2025 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 45 45 typedef enum { 46 46 SYSTEM_CALLBACK_CREATE = IPC_FIRST_USER_METHOD, 47 SYSTEM_SHUTDOWN 47 SYSTEM_POWEROFF, 48 SYSTEM_RESTART 48 49 } system_request_t; 49 50 -
uspace/lib/system/include/system.h
r4285f384 rf35749e 1 1 /* 2 * Copyright (c) 202 4Jiri Svoboda2 * Copyright (c) 2025 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 43 43 extern errno_t system_open(const char *, system_cb_t *, void *, system_t **); 44 44 extern void system_close(system_t *); 45 extern errno_t system_shutdown(system_t *); 45 extern errno_t system_poweroff(system_t *); 46 extern errno_t system_restart(system_t *); 46 47 47 48 #endif -
uspace/lib/system/include/system_srv.h
r4285f384 rf35749e 1 1 /* 2 * Copyright (c) 202 4Jiri Svoboda2 * Copyright (c) 2025 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 49 49 50 50 struct system_ops { 51 errno_t (*shutdown)(void *); 51 errno_t (*poweroff)(void *); 52 errno_t (*restart)(void *); 52 53 }; 53 54
Note:
See TracChangeset
for help on using the changeset viewer.
