Changeset 382 for soft/giet_vm/giet_libs/stdio.h
- Timestamp:
- Aug 7, 2014, 12:23:12 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_libs/stdio.h
r368 r382 112 112 113 113 ////////////////////////////////////////////////////////////////////////// 114 // This function returns the processor identifier. 115 ////////////////////////////////////////////////////////////////////////// 116 extern int giet_procid(); 117 118 ////////////////////////////////////////////////////////////////////////// 119 // This function returns the local processor time. 120 ////////////////////////////////////////////////////////////////////////// 121 extern int giet_proctime(); 122 123 ////////////////////////////////////////////////////////////////////////// 124 // This function returns a pseudo-random value derived from the processor 125 // cycle count. This value is comprised between 0 & 65535. 126 ///////////////////////////////////////////////////////////////////////// 127 extern int giet_rand(); 128 129 ////////////////////////////////////////////////////////////////////////// 114 130 ////////////////////////////////////////////////////////////////////////// 115 131 // TTY device related system calls … … 352 368 ////////////////////////////////////////////////////////////////////////// 353 369 ////////////////////////////////////////////////////////////////////////// 354 // Miscelaneous system calls 355 ////////////////////////////////////////////////////////////////////////// 356 ////////////////////////////////////////////////////////////////////////// 357 358 ////////////////////////////////////////////////////////////////////////// 359 // This function returns the processor identifier. 360 ////////////////////////////////////////////////////////////////////////// 361 extern int giet_procid(); 362 363 ////////////////////////////////////////////////////////////////////////// 364 // This function returns the local processor time. 365 ////////////////////////////////////////////////////////////////////////// 366 extern int giet_proctime(); 370 // Task context system calls 371 ////////////////////////////////////////////////////////////////////////// 372 ////////////////////////////////////////////////////////////////////////// 367 373 368 374 ////////////////////////////////////////////////////////////////////////// … … 383 389 384 390 ////////////////////////////////////////////////////////////////////////// 385 // This function returns a pseudo-random value derived from the processor386 // cycle count. This value is comprised between 0 & 65535.387 ///////////////////////////////////////////////////////////////////////// 388 extern int giet_rand(); 391 ////////////////////////////////////////////////////////////////////////// 392 // Miscelaneous system calls 393 ////////////////////////////////////////////////////////////////////////// 394 ////////////////////////////////////////////////////////////////////////// 389 395 390 396 ////////////////////////////////////////////////////////////////////////// … … 393 399 // It does not consume processor cycles anymore. 394 400 ////////////////////////////////////////////////////////////////////////// 395 extern void giet_exit( );401 extern void giet_exit( char* string ); 396 402 397 403 //////////////////////////////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.