• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Generated Code - DO NOT EDIT !!
2 // generated by 'emugen'
3 #ifndef __magma_server_proc_t_h
4 #define __magma_server_proc_t_h
5 
6 
7 
8 #include "magma_types.h"
9 #ifdef _MSC_VER
10 #include <stdint.h>
11 #endif
12 #ifndef magma_APIENTRY
13 #define magma_APIENTRY
14 #endif
15 typedef magma_status_t (magma_APIENTRY *magma_device_import_server_proc_t) (magma_handle_t, magma_device_t*);
16 typedef void (magma_APIENTRY *magma_device_release_server_proc_t) (magma_device_t);
17 typedef magma_status_t (magma_APIENTRY *magma_device_query_server_proc_t) (magma_device_t, uint64_t, magma_handle_t*, uint64_t*);
18 typedef magma_status_t (magma_APIENTRY *magma_device_query_fudge_server_proc_t) (magma_device_t, uint64_t, magma_bool_t, uint64_t*, uint64_t*, uint64_t*);
19 typedef magma_status_t (magma_APIENTRY *magma_device_create_connection_server_proc_t) (magma_device_t, magma_connection_t*);
20 typedef void (magma_APIENTRY *magma_connection_release_server_proc_t) (magma_connection_t);
21 typedef magma_status_t (magma_APIENTRY *magma_connection_get_error_server_proc_t) (magma_connection_t);
22 typedef magma_status_t (magma_APIENTRY *magma_connection_create_context_server_proc_t) (magma_connection_t, uint32_t*);
23 typedef void (magma_APIENTRY *magma_connection_release_context_server_proc_t) (magma_connection_t, uint32_t);
24 typedef magma_status_t (magma_APIENTRY *magma_connection_create_buffer_server_proc_t) (magma_connection_t, uint64_t, uint64_t*, magma_buffer_t*, magma_buffer_id_t*);
25 typedef void (magma_APIENTRY *magma_connection_release_buffer_server_proc_t) (magma_connection_t, magma_buffer_t);
26 typedef magma_status_t (magma_APIENTRY *magma_connection_import_buffer_server_proc_t) (magma_connection_t, magma_handle_t, uint64_t*, magma_buffer_t*, magma_buffer_id_t*);
27 typedef magma_status_t (magma_APIENTRY *magma_connection_create_semaphore_server_proc_t) (magma_connection_t, magma_semaphore_t*, magma_semaphore_id_t*);
28 typedef void (magma_APIENTRY *magma_connection_release_semaphore_server_proc_t) (magma_connection_t, magma_semaphore_t);
29 typedef magma_status_t (magma_APIENTRY *magma_connection_import_semaphore_server_proc_t) (magma_connection_t, magma_handle_t, magma_semaphore_t*, magma_semaphore_id_t*);
30 typedef magma_status_t (magma_APIENTRY *magma_connection_perform_buffer_op_server_proc_t) (magma_connection_t, magma_buffer_t, uint32_t, uint64_t, uint64_t);
31 typedef magma_status_t (magma_APIENTRY *magma_connection_map_buffer_server_proc_t) (magma_connection_t, uint64_t, magma_buffer_t, uint64_t, uint64_t, uint64_t);
32 typedef void (magma_APIENTRY *magma_connection_unmap_buffer_server_proc_t) (magma_connection_t, uint64_t, magma_buffer_t);
33 typedef magma_status_t (magma_APIENTRY *magma_connection_execute_command_server_proc_t) (magma_connection_t, uint32_t, magma_command_descriptor_t*);
34 typedef magma_status_t (magma_APIENTRY *magma_connection_execute_command_fudge_server_proc_t) (magma_connection_t, uint32_t, void*, uint64_t);
35 typedef magma_status_t (magma_APIENTRY *magma_connection_execute_immediate_commands_server_proc_t) (magma_connection_t, uint32_t, uint64_t, magma_inline_command_buffer_t*);
36 typedef magma_status_t (magma_APIENTRY *magma_connection_execute_immediate_commands_fudge_server_proc_t) (magma_connection_t, uint32_t, uint64_t, void*, uint64_t, uint64_t*);
37 typedef magma_status_t (magma_APIENTRY *magma_connection_flush_server_proc_t) (magma_connection_t);
38 typedef magma_handle_t (magma_APIENTRY *magma_connection_get_notification_channel_handle_server_proc_t) (magma_connection_t);
39 typedef magma_status_t (magma_APIENTRY *magma_connection_read_notification_channel_server_proc_t) (magma_connection_t, void*, uint64_t, uint64_t*, magma_bool_t*);
40 typedef magma_status_t (magma_APIENTRY *magma_buffer_clean_cache_server_proc_t) (magma_buffer_t, uint64_t, uint64_t, magma_cache_operation_t);
41 typedef magma_status_t (magma_APIENTRY *magma_buffer_set_cache_policy_server_proc_t) (magma_buffer_t, magma_cache_policy_t);
42 typedef magma_status_t (magma_APIENTRY *magma_buffer_get_cache_policy_server_proc_t) (magma_buffer_t, magma_cache_policy_t*);
43 typedef magma_status_t (magma_APIENTRY *magma_buffer_set_name_server_proc_t) (magma_buffer_t, const char*);
44 typedef magma_status_t (magma_APIENTRY *magma_buffer_set_name_fudge_server_proc_t) (magma_buffer_t, void*, uint64_t);
45 typedef magma_status_t (magma_APIENTRY *magma_buffer_get_info_server_proc_t) (magma_buffer_t, magma_buffer_info_t*);
46 typedef magma_status_t (magma_APIENTRY *magma_buffer_get_handle_server_proc_t) (magma_buffer_t, magma_handle_t*);
47 typedef magma_status_t (magma_APIENTRY *magma_buffer_export_server_proc_t) (magma_buffer_t, magma_handle_t*);
48 typedef void (magma_APIENTRY *magma_semaphore_signal_server_proc_t) (magma_semaphore_t);
49 typedef void (magma_APIENTRY *magma_semaphore_reset_server_proc_t) (magma_semaphore_t);
50 typedef magma_status_t (magma_APIENTRY *magma_semaphore_export_server_proc_t) (magma_semaphore_t, magma_handle_t*);
51 typedef magma_status_t (magma_APIENTRY *magma_poll_server_proc_t) (magma_poll_item_t*, uint32_t, uint64_t);
52 typedef magma_status_t (magma_APIENTRY *magma_initialize_tracing_server_proc_t) (magma_handle_t);
53 typedef magma_status_t (magma_APIENTRY *magma_initialize_logging_server_proc_t) (magma_handle_t);
54 typedef magma_status_t (magma_APIENTRY *magma_connection_enable_performance_counter_access_server_proc_t) (magma_connection_t, magma_handle_t);
55 typedef magma_status_t (magma_APIENTRY *magma_connection_enable_performance_counters_server_proc_t) (magma_connection_t, uint64_t*, uint64_t);
56 typedef magma_status_t (magma_APIENTRY *magma_connection_create_performance_counter_buffer_pool_server_proc_t) (magma_connection_t, magma_perf_count_pool_t*, magma_handle_t*);
57 typedef magma_status_t (magma_APIENTRY *magma_connection_release_performance_counter_buffer_pool_server_proc_t) (magma_connection_t, magma_perf_count_pool_t);
58 typedef magma_status_t (magma_APIENTRY *magma_connection_add_performance_counter_buffer_offsets_to_pool_server_proc_t) (magma_connection_t, magma_perf_count_pool_t, const magma_buffer_offset_t*, uint64_t);
59 typedef magma_status_t (magma_APIENTRY *magma_connection_remove_performance_counter_buffer_from_pool_server_proc_t) (magma_connection_t, magma_perf_count_pool_t, magma_buffer_t);
60 typedef magma_status_t (magma_APIENTRY *magma_connection_dump_performance_counters_server_proc_t) (magma_connection_t, magma_perf_count_pool_t, uint32_t);
61 typedef magma_status_t (magma_APIENTRY *magma_connection_clear_performance_counters_server_proc_t) (magma_connection_t, uint64_t*, uint64_t);
62 typedef magma_status_t (magma_APIENTRY *magma_connection_read_performance_counter_completion_server_proc_t) (magma_connection_t, magma_perf_count_pool_t, uint32_t*, uint64_t*, uint32_t*, uint64_t*, uint32_t*);
63 typedef magma_status_t (magma_APIENTRY *magma_virt_connection_create_image_server_proc_t) (magma_connection_t, magma_image_create_info_t*, uint64_t*, magma_buffer_t*, magma_buffer_id_t*);
64 typedef magma_status_t (magma_APIENTRY *magma_virt_connection_get_image_info_server_proc_t) (magma_connection_t, magma_buffer_t, magma_image_info_t*);
65 
66 
67 #endif
68