pvr_ricommon.h 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /*************************************************************************/ /*!
  2. @File
  3. @Title Services Resource Information (RI) common types and definitions
  4. @Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
  5. @Description Resource Information (RI) common types and definitions included
  6. in both user mode and kernel mode source.
  7. @License Dual MIT/GPLv2
  8. The contents of this file are subject to the MIT license as set out below.
  9. Permission is hereby granted, free of charge, to any person obtaining a copy
  10. of this software and associated documentation files (the "Software"), to deal
  11. in the Software without restriction, including without limitation the rights
  12. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  13. copies of the Software, and to permit persons to whom the Software is
  14. furnished to do so, subject to the following conditions:
  15. The above copyright notice and this permission notice shall be included in
  16. all copies or substantial portions of the Software.
  17. Alternatively, the contents of this file may be used under the terms of
  18. the GNU General Public License Version 2 ("GPL") in which case the provisions
  19. of GPL are applicable instead of those above.
  20. If you wish to allow use of your version of this file only under the terms of
  21. GPL, and not to allow others to use your version of this file under the terms
  22. of the MIT license, indicate your decision by deleting the provisions above
  23. and replace them with the notice and other provisions required by GPL as set
  24. out in the file called "GPL-COPYING" included in this distribution. If you do
  25. not delete the provisions above, a recipient may use your version of this file
  26. under the terms of either the MIT license or GPL.
  27. This License is also included in this distribution in the file called
  28. "MIT-COPYING".
  29. EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS
  30. PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
  31. BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
  32. PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR
  33. COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
  34. IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  35. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  36. */ /**************************************************************************/
  37. #ifndef PVR_RICOMMON_H
  38. #define PVR_RICOMMON_H
  39. #if defined(__cplusplus)
  40. extern "C" {
  41. #endif
  42. #include "img_defs.h"
  43. /*! Maximum text string length including the null byte */
  44. #define PRVSRVRI_MAX_TEXT_LENGTH 20U
  45. /* PID used to hold PMR allocations which are driver-wide (i.e. have a lifetime
  46. * longer than an application process)
  47. */
  48. #define PVR_SYS_ALLOC_PID 1
  49. #if defined(__cplusplus)
  50. }
  51. #endif
  52. #endif /* PVR_RICOMMON_H */
  53. /******************************************************************************
  54. End of file (pvr_ricommon.h)
  55. ******************************************************************************/