Changeset 611 for trunk/libs/libalmosmkh
- Timestamp:
- Jan 9, 2019, 3:02:51 PM (6 years ago)
- Location:
- trunk/libs/libalmosmkh
- Files:
-
- 2 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
Note: See TracChangeset
for help on using the changeset viewer.