Changeset 390 for soft/giet_vm/giet_libs/stdio.h
- Timestamp:
- Aug 7, 2014, 4:57:07 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_libs/stdio.h
r389 r390 4 4 // Author : alain greiner & Joel Porquet 5 5 // Copyright (c) UPMC-LIP6 6 /////////////////////////////////////////////////////////////////////////////////// 7 // The stdio.c and stdio.h files are part of the GIET_VM nano-kernel. 8 // This library contains all user-level functions that contain a system call 9 // to access protected or shared ressources. 6 10 /////////////////////////////////////////////////////////////////////////////////// 7 11 … … 40 44 #define SYSCALL_CTX_SWITCH 0x19 41 45 #define SYSCALL_VOBJ_GET_VBASE 0x1A 42 #define SYSCALL_ FREE_1B0x1B46 #define SYSCALL_GET_XY 0x1B 43 47 #define SYSCALL_NIC_CMA_START 0x1C 44 48 #define SYSCALL_NIC_CMA_STOP 0x1D … … 446 450 unsigned int y ); 447 451 452 ////////////////////////////////////////////////////////////////////////// 453 // This function takes as input a virtual address (ptr argument), 454 // and returns through the (px,py) arguments the coordinates of 455 // the cluster containing the physical address associated to ptr. 456 // In case of error (unmapped virtual address), it makes a giet_exit(). 457 ////////////////////////////////////////////////////////////////////////// 458 extern void giet_get_xy( void* ptr, 459 unsigned int* px, 460 unsigned int* py ); 461 448 462 #endif 449 463
Note: See TracChangeset
for help on using the changeset viewer.