Changeset 611 for trunk/libs
- Timestamp:
- Jan 9, 2019, 3:02:51 PM (6 years ago)
- Location:
- trunk/libs
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libs/libalmosmkh/almosmkh.c
r597 r611 276 276 return hal_user_syscall( SYS_DISPLAY, 277 277 DISPLAY_DQDT, 0, 0, 0 ); 278 } 279 280 /////////////////////////////////////// 281 int display_mapper( char * path, 282 unsigned int page_id, 283 unsigned int nbytes) 284 { 285 return hal_user_syscall( SYS_DISPLAY, 286 DISPLAY_MAPPER, 287 (reg_t)path, 288 (reg_t)page_id, 289 (reg_t)nbytes ); 278 290 } 279 291 -
trunk/libs/libalmosmkh/almosmkh.h
r610 r611 213 213 int display_dqdt( void ); 214 214 215 /*************************************************************************************** 216 * This debug syscall displays on the kernel terminal TXT0 the content of a given 217 * page of a given VFS mapper. 218 * It can be called by any thread running in any cluster. 219 *************************************************************************************** 220 * @ path : pathname identifying the file/directory in VFS. 221 * @ page_id : page index in file. 222 * @ nbytes : number of bytes to display. 223 * @ return 0 if success / return -1 if file or page not found. 224 **************************************************************************************/ 225 int display_mapper( char * path, 226 unsigned int page_id, 227 unsigned int nbytes); 228 215 229 /***************************************************************************************** 216 230 * This debug syscall is used to activate / desactivate the context switches trace -
trunk/libs/mini-libc/dirent.h
r449 r611 25 25 #define _DIRENT_H_ 26 26 27 #include <shared_dirent.h> 28 27 29 /***************************************************************************************** 28 * This file defines the user level, directory entr yrelated library.30 * This file defines the user level, directory entries related library. 29 31 * All these functions make a system call to access the kernel VFS. 30 * The user/kernel shared structures and mnemonics are defined in31 * the <syscalls/shared_include/shared_dirent.h> file.32 32 ****************************************************************************************/ 33 34 #include <shared_dirent.h>35 33 36 34 /*****************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.