compare_ether_addr was removed in 3.14
[ps3linux_kernel_patches_314.git] / 0180-lv1call-add-undocumented-spe-hvcalls.patch
blob2cf35d06f3c085464a32a046b54e05dd2f9f7f92
1 --- a/arch/powerpc/include/asm/lv1call.h 2012-07-19 22:27:03.699665219 +0200
2 +++ b/arch/powerpc/include/asm/lv1call.h 2012-07-19 22:27:32.146333542 +0200
3 @@ -53,6 +53,7 @@
4 #define LV1_5_IN_0_OUT_ARG_DECL LV1_5_IN_ARG_DECL
5 #define LV1_6_IN_0_OUT_ARG_DECL LV1_6_IN_ARG_DECL
6 #define LV1_7_IN_0_OUT_ARG_DECL LV1_7_IN_ARG_DECL
7 +#define LV1_8_IN_0_OUT_ARG_DECL LV1_8_IN_ARG_DECL
9 #define LV1_0_IN_1_OUT_ARG_DECL LV1_1_OUT_ARG_DECL
10 #define LV1_1_IN_1_OUT_ARG_DECL LV1_1_IN_ARG_DECL, LV1_1_OUT_ARG_DECL
11 @@ -143,6 +144,7 @@
12 #define LV1_5_IN_0_OUT_ARGS LV1_5_IN_ARGS
13 #define LV1_6_IN_0_OUT_ARGS LV1_6_IN_ARGS
14 #define LV1_7_IN_0_OUT_ARGS LV1_7_IN_ARGS
15 +#define LV1_8_IN_0_OUT_ARGS LV1_8_IN_ARGS
17 #define LV1_0_IN_1_OUT_ARGS LV1_1_OUT_ARGS
18 #define LV1_1_IN_1_OUT_ARGS LV1_1_IN_ARGS, LV1_1_OUT_ARGS
19 @@ -253,6 +255,7 @@
20 LV1_CALL(destruct_logical_spe, 1, 0, 54 )
21 LV1_CALL(construct_logical_spe, 7, 6, 57 )
22 LV1_CALL(set_spe_interrupt_mask, 3, 0, 61 )
23 +LV1_CALL(undocumented_function_62, 5, 0, 62 )
24 LV1_CALL(set_spe_transition_notifier, 3, 0, 64 )
25 LV1_CALL(disable_logical_spe, 2, 0, 65 )
26 LV1_CALL(clear_spe_interrupt_status, 4, 0, 66 )
27 @@ -269,6 +272,7 @@
28 LV1_CALL(remove_repository_node, 5, 0, 93 )
29 LV1_CALL(read_htab_entries, 2, 5, 95 )
30 LV1_CALL(set_dabr, 2, 0, 96 )
31 +LV1_CALL(undocumented_function_99, 2, 0, 99 )
32 LV1_CALL(get_total_execution_time, 2, 1, 103 )
33 LV1_CALL(undocumented_function_114, 3, 1, 114 )
34 LV1_CALL(undocumented_function_115, 1, 0, 115 )
35 @@ -279,12 +283,15 @@
36 LV1_CALL(map_htab, 1, 1, 122 )
37 LV1_CALL(unmap_htab, 1, 0, 123 )
38 LV1_CALL(get_version_info, 0, 2, 127 )
39 +LV1_CALL(undocumented_function_138, 2, 0, 138 )
40 LV1_CALL(insert_htab_entry, 6, 3, 158 )
41 LV1_CALL(read_virtual_uart, 3, 1, 162 )
42 LV1_CALL(write_virtual_uart, 3, 1, 163 )
43 LV1_CALL(set_virtual_uart_param, 3, 0, 164 )
44 LV1_CALL(get_virtual_uart_param, 2, 1, 165 )
45 LV1_CALL(configure_virtual_uart_irq, 1, 1, 166 )
46 +LV1_CALL(undocumented_function_167, 2, 1, 167 )
47 +LV1_CALL(undocumented_function_168, 3, 0, 168 )
48 LV1_CALL(open_device, 3, 0, 170 )
49 LV1_CALL(close_device, 2, 0, 171 )
50 LV1_CALL(map_device_mmio_region, 5, 1, 172 )
51 @@ -305,8 +312,11 @@
52 LV1_CALL(connect_interrupt_event_receive_port, 4, 0, 197 )
53 LV1_CALL(disconnect_interrupt_event_receive_port, 4, 0, 198 )
54 LV1_CALL(get_spe_all_interrupt_statuses, 1, 1, 199 )
55 +LV1_CALL(undocumented_function_200, 1, 0, 200 )
56 +LV1_CALL(undocumented_function_201, 1, 0, 201 )
57 LV1_CALL(deconfigure_virtual_uart_irq, 0, 0, 202 )
58 LV1_CALL(enable_logical_spe, 2, 0, 207 )
59 +LV1_CALL(undocumented_function_209, 8, 0, 209 )
60 LV1_CALL(gpu_open, 1, 0, 210 )
61 LV1_CALL(gpu_close, 0, 0, 211 )
62 LV1_CALL(gpu_device_map, 1, 2, 212 )
63 --- a/arch/powerpc/platforms/ps3/hvcall.S 2012-07-19 22:27:10.499665615 +0200
64 +++ b/arch/powerpc/platforms/ps3/hvcall.S 2012-07-19 22:27:12.892999087 +0200
65 @@ -45,6 +45,7 @@
66 #define LV1_5_IN_0_OUT LV1_N_IN_0_OUT
67 #define LV1_6_IN_0_OUT LV1_N_IN_0_OUT
68 #define LV1_7_IN_0_OUT LV1_N_IN_0_OUT
69 +#define LV1_8_IN_0_OUT LV1_N_IN_0_OUT
71 #define LV1_0_IN_1_OUT(API_NAME, API_NUMBER) \
72 _GLOBAL(_##API_NAME) \