system.c 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. #include <stdlib.h>
  2. #include <sys/system.h>
  3. #include "wonx.h"
  4. #include "WonxDisplay.h"
  5. void sys_interrupt_set_hook(int type, intvector_t * intvector,
  6. intvector_t * last_intvector)
  7. {}
  8. void sys_interrupt_reset_hook(int type, intvector_t * last_intvector)
  9. {}
  10. void sys_wait(unsigned int time)
  11. {
  12. }
  13. unsigned long int sys_get_tick_count(void)
  14. {
  15. return (0);
  16. }
  17. void sys_sleep(void)
  18. {
  19. }
  20. void sys_set_sleep_time(int sleep_time)
  21. {
  22. }
  23. int sys_get_sleep_time(void)
  24. {
  25. return (0);
  26. }
  27. void sys_set_awake_key(int awake_key_pattern)
  28. {
  29. }
  30. int sys_get_awake_key(void)
  31. {
  32. return (0);
  33. }
  34. void sys_set_keepalive_int(int keepalive_pattern)
  35. {
  36. }
  37. void sys_get_ownerinfo(int size, char *buffer)
  38. {
  39. }
  40. int sys_suspend(int core)
  41. {
  42. return (0);
  43. }
  44. void sys_resume(int core)
  45. {
  46. }
  47. void sys_set_remote(int remote_enable)
  48. {
  49. }
  50. unsigned int sys_get_remote(void)
  51. {
  52. return (0);
  53. }
  54. void * sys_alloc_iram(void *pointer, unsigned size)
  55. {}
  56. void sys_free_iram(void * p)
  57. {}
  58. void * sys_get_my_iram(void)
  59. {
  60. }
  61. unsigned int sys_get_version(void)
  62. {
  63. return (0);
  64. }
  65. int sys_swap(int core)
  66. {
  67. return (0);
  68. }
  69. void sys_set_resume(unsigned int flags)
  70. {
  71. }
  72. unsigned int sys_get_resume(void)
  73. {
  74. return (0);
  75. }