system.c 1.2 KB

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