Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.76 KB | None | 0 0
  1. /*
  2. * Lv-1 call definitions
  3. *
  4. * Copyright (C) 2004, 2005, 2006 Sony Computer Entertainment Inc.
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License as published
  8. * by the Free Software Foundation; version 2 of the License.
  9. *
  10. * This program is distributed in the hope that it will be useful, but
  11. * WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License along
  16. * with this program; if not, write to the Free Software Foundation, Inc.,
  17. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  18. */
  19.  
  20. /*
  21. * LV1_CALL(name in out number)
  22. */
  23. LV1_CALL(allocate_memory, 4, 2, 0 )
  24. LV1_CALL(write_htab_entry, 4, 0, 1 )
  25. LV1_CALL(construct_virtual_address_space, 3, 2, 2 )
  26. LV1_CALL(invalidate_htab_entries, 5, 0, 3 )
  27. LV1_CALL(get_virtual_address_space_id_of_pu, 1, 1, 4 )
  28. LV1_CALL(query_logical_partition_address_region_info, 1, 5, 6 )
  29. LV1_CALL(select_virtual_address_space, 1, 0, 7 )
  30. LV1_CALL(pause, 1, 0, 9 )
  31. LV1_CALL(destruct_virtual_address_space, 1, 0, 10 )
  32. LV1_CALL(configure_irq_state_bitmap, 3, 0, 11 )
  33. LV1_CALL(connect_irq_plug, 5, 0, 12 )
  34. LV1_CALL(release_memory, 1, 0, 13 )
  35. LV1_CALL(put_iopte, 5, 0, 15 )
  36. LV1_CALL(disconnect_irq_plug, 3, 0, 17 )
  37. LV1_CALL(construct_event_receive_port, 0, 1, 18 )
  38. LV1_CALL(destruct_event_receive_port, 1, 0, 19 )
  39. LV1_CALL(send_event_locally, 1, 0, 24 )
  40. LV1_CALL(detect_pending_interrupts, 1, 4, 26 )
  41. LV1_CALL(end_of_interrupt, 1, 0, 27 )
  42. LV1_CALL(construct_and_connect_irq_plug, 2, 0, 28 )
  43. LV1_CALL(destruct_irq_plug, 1, 0, 29 )
  44. LV1_CALL(end_of_interrupt_ext, 3, 0, 30 )
  45. LV1_CALL(did_update_interrupt_mask, 2, 0, 31 )
  46. LV1_CALL(shutdown_logical_partition, 1, 0, 44 )
  47. LV1_CALL(destruct_logical_spu, 1, 0, 54 )
  48. LV1_CALL(construct_logical_spu, 7, 6, 57 )
  49. LV1_CALL(set_spu_interrupt_mask, 3, 0, 61 )
  50. LV1_CALL(set_spu_transition_notifier, 3, 0, 64 )
  51. LV1_CALL(disable_logical_spu, 2, 0, 65 )
  52. LV1_CALL(clear_spu_interrupt_status, 4, 0, 66 )
  53. LV1_CALL(get_spu_interrupt_status, 2, 1, 67 )
  54. LV1_CALL(get_logical_pu_id, 0, 1, 69 )
  55. LV1_CALL(set_interrupt_mask, 5, 0, 73 )
  56. LV1_CALL(get_logical_partition_id, 0, 1, 74 )
  57. LV1_CALL(configure_execution_time_variable, 1, 0, 77 )
  58. LV1_CALL(get_spu_irq_outlet, 2, 1, 78 )
  59. LV1_CALL(set_spu_privilege_state_area_1_register, 3, 0, 79 )
  60. LV1_CALL(create_repository_node, 6, 0, 90 )
  61. LV1_CALL(get_repository_node_value, 5, 2, 91 )
  62. LV1_CALL(modify_repository_node_value, 6, 0, 92 )
  63. LV1_CALL(remove_repository_node, 4, 0, 93 )
  64. LV1_CALL(read_htab_entries, 2, 5, 95 )
  65. LV1_CALL(set_dabr, 2, 0, 96 )
  66. LV1_CALL(set_vmx_graphics_mode, 1, 0, 97 )
  67. LV1_CALL(set_thread_switch_control_register, 1, 0, 98 )
  68. LV1_CALL(get_total_execution_time, 2, 1, 103 )
  69. LV1_CALL(allocate_io_segment, 3, 1, 116 )
  70. LV1_CALL(release_io_segment, 2, 0, 117 )
  71. LV1_CALL(allocate_ioid, 1, 1, 118 )
  72. LV1_CALL(release_ioid, 2, 0, 119 )
  73. LV1_CALL(construct_io_irq_outlet, 1, 1, 120 )
  74. LV1_CALL(destruct_io_irq_outlet, 1, 0, 121 )
  75. LV1_CALL(map_htab, 1, 1, 122 )
  76. LV1_CALL(unmap_htab, 1, 0, 123 )
  77. LV1_CALL(get_version_info, 0, 1, 127 )
  78. LV1_CALL(insert_htab_entry, 6, 3, 158 )
  79. LV1_CALL(read_virtual_uart, 3, 1, 162 )
  80. LV1_CALL(write_virtual_uart, 3, 1, 163 )
  81. LV1_CALL(set_virtual_uart_param, 3, 0, 164 )
  82. LV1_CALL(get_virtual_uart_param, 2, 1, 165 )
  83. LV1_CALL(configure_virtual_uart_irq, 1, 1, 166 )
  84. LV1_CALL(open_device, 3, 0, 170 )
  85. LV1_CALL(close_device, 2, 0, 171 )
  86. LV1_CALL(map_device_mmio_region, 5, 1, 172 )
  87. LV1_CALL(unmap_device_mmio_region, 3, 0, 173 )
  88. LV1_CALL(allocate_device_dma_region, 5, 1, 174 )
  89. LV1_CALL(free_device_dma_region, 3, 0, 175 )
  90. LV1_CALL(map_device_dma_region, 6, 0, 176 )
  91. LV1_CALL(unmap_device_dma_region, 4, 0, 177 )
  92. LV1_CALL(read_pci_config, 6, 1, 178 )
  93. LV1_CALL(write_pci_config, 7, 0, 179 )
  94. LV1_CALL(read_pci_io, 4, 1, 180 )
  95. LV1_CALL(write_pci_io, 5, 0, 181 )
  96. LV1_CALL(net_add_multicast_address, 4, 0, 185 )
  97. LV1_CALL(net_remove_multicast_address, 4, 0, 186 )
  98. LV1_CALL(net_start_tx_dma, 4, 0, 187 )
  99. LV1_CALL(net_stop_tx_dma, 3, 0, 188 )
  100. LV1_CALL(net_start_rx_dma, 4, 0, 189 )
  101. LV1_CALL(net_stop_rx_dma, 3, 0, 190 )
  102. LV1_CALL(net_set_interrupt_status_indicator, 4, 0, 191 )
  103. LV1_CALL(net_set_interrupt_mask, 4, 0, 193 )
  104. LV1_CALL(net_control, 6, 2, 194 )
  105. LV1_CALL(connect_interrupt_event_receive_port, 4, 0, 197 )
  106. LV1_CALL(disconnect_interrupt_event_receive_port, 4, 0, 198 )
  107. LV1_CALL(get_spu_all_interrupt_statuses, 1, 1, 199 )
  108. LV1_CALL(deconfigure_virtual_uart_irq, 0, 0, 202 )
  109. LV1_CALL(enable_logical_spu, 2, 0, 207 )
  110. LV1_CALL(gpu_open, 1, 0, 210 )
  111. LV1_CALL(gpu_close, 0, 0, 211 )
  112. LV1_CALL(gpu_device_map, 1, 2, 212 )
  113. LV1_CALL(gpu_device_unmap, 1, 0, 213 )
  114. LV1_CALL(gpu_memory_allocate, 5, 2, 214 )
  115. LV1_CALL(gpu_memory_free, 1, 0, 216 )
  116. LV1_CALL(gpu_context_allocate, 2, 5, 217 )
  117. LV1_CALL(gpu_context_free, 1, 0, 218 )
  118. LV1_CALL(gpu_context_iomap, 5, 0, 221 )
  119. LV1_CALL(gpu_context_attribute, 6, 0, 225 )
  120. LV1_CALL(gpu_context_intr, 1, 1, 227 )
  121. LV1_CALL(gpu_attribute, 5, 0, 228 )
  122. LV1_CALL(get_rtc, 0, 2, 232 )
  123. LV1_CALL(set_ppu_periodic_tracer_frequency, 1, 0, 240 )
  124. LV1_CALL(start_ppu_periodic_tracer, 5, 0, 241 )
  125. LV1_CALL(stop_ppu_periodic_tracer, 1, 1, 242 )
  126. LV1_CALL(storage_read, 6, 1, 245 )
  127. LV1_CALL(storage_write, 6, 1, 246 )
  128. LV1_CALL(storage_send_device_command, 6, 1, 248 )
  129. LV1_CALL(storage_get_async_status, 1, 2, 249 )
  130. LV1_CALL(storage_check_async_status, 2, 1, 254 )
  131. LV1_CALL(panic, 1, 0, 255 )
  132.  
  133. LV1_CALL(construct_lpm, 6, 3, 140 )
  134. LV1_CALL(destruct_lpm, 1, 0, 141 )
  135. LV1_CALL(start_lpm, 1, 0, 142 )
  136. LV1_CALL(stop_lpm, 1, 1, 143 )
  137. LV1_CALL(copy_lpm_trace_buffer, 3, 1, 144 )
  138. LV1_CALL(add_lpm_event_bookmark, 5, 0, 145 )
  139. LV1_CALL(delete_lpm_event_bookmark, 3, 0, 146 )
  140. LV1_CALL(set_lpm_interrupt_mask, 3, 1, 147 )
  141. LV1_CALL(get_lpm_interrupt_status, 1, 1, 148 )
  142. LV1_CALL(set_lpm_general_control, 5, 2, 149 )
  143. LV1_CALL(set_lpm_interval, 3, 1, 150 )
  144. LV1_CALL(set_lpm_trigger_control, 3, 1, 151 )
  145. LV1_CALL(set_lpm_counter_control, 4, 1, 152 )
  146. LV1_CALL(set_lpm_group_control, 3, 1, 153 )
  147. LV1_CALL(set_lpm_debug_bus_control, 3, 1, 154 )
  148. LV1_CALL(set_lpm_counter, 5, 2, 155 )
  149. LV1_CALL(set_lpm_signal, 7, 0, 156 )
  150. LV1_CALL(set_lpm_spr_trigger, 2, 0, 157 )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement