Changeset 457 for trunk/libs/libalmosmkh/almosmkh.c
- Timestamp:
- Aug 2, 2018, 11:47:13 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libs/libalmosmkh/almosmkh.c
r445 r457 24 24 #include <almosmkh.h> 25 25 #include <hal_user.h> 26 #include <hal_ types.h>26 #include <hal_shared_types.h> 27 27 #include <syscalls_numbers.h> 28 28 #include <string.h> … … 39 39 return hal_user_syscall( SYS_FG, 40 40 (reg_t)pid, 0, 0, 0 ); 41 } 42 43 ////////////////////////////// 44 int is_fg( unsigned int pid, 45 unsigned int * owner ) 46 { 47 return hal_user_syscall( SYS_IS_FG, 48 (reg_t)pid, 49 (reg_t)owner, 0, 0 ); 41 50 } 42 51 … … 224 233 ////////////////////////////////// 225 234 int trace( unsigned int active, 226 unsigned int pid,235 unsigned int cxy, 227 236 unsigned int lid ) 228 237 { 229 238 return hal_user_syscall( SYS_TRACE, 230 239 (reg_t)active, 231 (reg_t) pid,240 (reg_t)cxy, 232 241 (reg_t)lid, 0 ); 233 242 } … … 316 325 317 326 318 /////////////// non standard debugfunctions //////////////////////////327 /////////////// non standard malloc functions ////////////////////////// 319 328 320 329 #define MALLOC_DEBUG 0
Note: See TracChangeset
for help on using the changeset viewer.