Changeset 68769 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Sep 14, 2017 6:37:25 PM (7 years ago)
- Location:
- trunk/src/VBox/Additions/linux/drm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/files_vboxvideo_drv
r68306 r68769 21 21 ${PATH_OUT}/revision-generated.h=>revision-generated.h \ 22 22 ${PATH_OUT}/product-generated.h=>product-generated.h \ 23 ${PATH_ROOT}/include/VBox/Graphics/VBoxVideo.h=> VBoxVideo.h \24 ${PATH_ROOT}/include/VBox/Graphics/VBoxVideoGuest.h=> VBoxVideoGuest.h \25 ${PATH_ROOT}/include/VBox/Graphics/HGSMIChannels.h=> HGSMIChannels.h \26 ${PATH_ROOT}/include/VBox/Graphics/HGSMIChSetup.h=> HGSMIChSetup.h \27 ${PATH_ROOT}/include/VBox/Graphics/HGSMIContext.h=> HGSMIContext.h \28 ${PATH_ROOT}/include/VBox/Graphics/HGSMIDefs.h=> HGSMIDefs.h \29 ${PATH_ROOT}/include/VBox/Graphics/VBoxVideoVBE.h=> VBoxVideoVBE.h \23 ${PATH_ROOT}/include/VBox/Graphics/VBoxVideo.h=>vboxvideo.h \ 24 ${PATH_ROOT}/include/VBox/Graphics/VBoxVideoGuest.h=>vboxvideo_guest.h \ 25 ${PATH_ROOT}/include/VBox/Graphics/HGSMIChannels.h=>hgsmi_channels.h \ 26 ${PATH_ROOT}/include/VBox/Graphics/HGSMIChSetup.h=>hgsmi_ch_setup.h \ 27 ${PATH_ROOT}/include/VBox/Graphics/HGSMIContext.h=>hgsmi_context.h \ 28 ${PATH_ROOT}/include/VBox/Graphics/HGSMIDefs.h=>hgsmi_defs.h \ 29 ${PATH_ROOT}/include/VBox/Graphics/VBoxVideoVBE.h=>vboxvideo_vbe.h \ 30 30 ${PATH_ROOT}/src/VBox/Additions/common/VBoxVideo/HGSMIBase.cpp=>hgsmi_base.c \ 31 31 ${PATH_ROOT}/src/VBox/Additions/common/VBoxVideo/Modesetting.cpp=>modesetting.c \ 32 32 ${PATH_ROOT}/src/VBox/Additions/common/VBoxVideo/VBVABase.cpp=>vbva_base.c \ 33 ${PATH_ROOT}/src/VBox/Additions/linux/drm/HGSMIBase.h=> include/HGSMIBase.h \34 ${PATH_ROOT}/src/VBox/Additions/linux/drm/VBoxVideoIPRT.h=> include/VBoxVideoIPRT.h \33 ${PATH_ROOT}/src/VBox/Additions/linux/drm/HGSMIBase.h=>hgsmi_base.h \ 34 ${PATH_ROOT}/src/VBox/Additions/linux/drm/VBoxVideoIPRT.h=>vboxvideo_iprt.h \ 35 35 ${PATH_ROOT}/src/VBox/Additions/linux/drm/vbox_drv.c=>vbox_drv.c \ 36 36 ${PATH_ROOT}/src/VBox/Additions/linux/drm/vbox_drv.h=>vbox_drv.h \ -
trunk/src/VBox/Additions/linux/drm/indent.sed
r68308 r68769 31 31 # Remove any spaces left after the tabs. This also limits maximum indentation. 32 32 s/^\(\t\t*\) */\1/g 33 34 # Change various symbols and file names to fit kernel conventions. 35 36 # File names: 37 s/\bHGSMIBase\.h\b/hgsmi_base.h/g 38 s/\bHGSMIChannels\.h\b/hgsmi_channels.h/g 39 s/\bHGSMIChSetup\.h\b/hgsmi_ch_setup.h/g 40 s/\bHGSMIContext\.h\b/hgsmi_context.h/g 41 s/\bHGSMIDefs\.h\b/hgsmi_defs.h/g 42 s/\bVBoxVideoGuest\.h\b/vboxvideo_guest.h/g 43 s/\bVBoxVideo\.h\b/vboxvideo.h/g 44 s/\bVBoxVideoIPRT\.h\b/vboxvideo_iprt.h/g 45 s/\bVBoxVideoVBE\.h\b/vboxvideo_vbe.h/g 46 47 # Function names: 48 s/\btestQueryConf\b/hgsmi_test_query_conf/g 49 s/\bVBoxHGSMIBufferAlloc\b/hgsmi_buffer_alloc/g 50 s/\bVBoxHGSMIBufferFree\b/hgsmi_buffer_free/g 51 s/\bVBoxHGSMIBufferSubmit\b/hgsmi_buffer_submit/g 52 s/\bVBoxHGSMICursorPosition\b/hgsmi_cursor_position/g 53 s/\bVBoxHGSMIGetModeHints\b/hgsmi_get_mode_hints/g 54 s/\bVBoxHGSMIProcessDisplayInfo\b/hgsmi_process_display_info/g 55 s/\bVBoxHGSMIReportFlagsLocation\b/hgsmi_report_flags_location/g 56 s/\bVBoxHGSMISendCapsInfo\b/hgsmi_send_caps_info/g 57 s/\bVBoxHGSMIUpdateInputMapping\b/hgsmi_update_input_mapping/g 58 s/\bVBoxHGSMIUpdatePointerShape\b/hgsmi_update_pointer_shape/g 59 s/\bvboxHwBufferAvail\b/vbva_buffer_available/g 60 s/\bvboxHwBufferEndUpdate\b/vbva_buffer_end_update/g 61 s/\bvboxHwBufferFlush\b/vbva_buffer_flush/g 62 s/\bvboxHwBufferPlaceDataAt\b/vbva_buffer_place_data_at/g 63 s/\bvboxHwBufferWrite\b/vbva_write/g 64 s/\bVBoxQueryConfHGSMI\b/hgsmi_query_conf/g 65 s/\bVBoxVBVABufferBeginUpdate\b/vbva_buffer_begin_update/g 66 s/\bVBoxVBVABufferEndUpdate\b/vbva_buffer_end_update/g 67 s/\bVBoxVBVADisable\b/vbva_disable/g 68 s/\bVBoxVBVAEnable\b/vbva_enable/g 69 s/\bvboxVBVAInformHost\b/vbva_inform_host/g 70 s/\bvboxVBVASetupBufferContext\b/vbva_setup_buffer_context/g 71 72 # Macros: 73 s/!VALID_PTR(/WARN_ON(!/g 74 75 # Type names: 76 s/\bint32_t\b/s32/g 77 s/\buint16_t\b/u16/g 78 s/\buint32_t\b/u32/g 79 s/struct HGSMIBUFFERLOCATION/struct hgsmi_buffer_location/g 80 s/} HGSMIBUFFERLOCATION/} hgsmi_buffer_location/g 81 s/\bHGSMIBUFFERLOCATION\b/struct hgsmi_buffer_location/g 82 s/struct VBVABUFFERCONTEXT/struct vbva_buf_context/g 83 s/} VBVABUFFERCONTEXT/} vbva_buf_context/g 84 s/\bVBVABUFFERCONTEXT\b/struct vbva_buf_context/g 85 s/\([^*] *\)\bPVBVABUFFERCONTEXT\b/\1struct vbva_buf_context */g 86 s/struct VBVACONF32/struct vbva_conf32/g 87 s/} VBVACONF32/} vbva_conf32/g 88 s/\bVBVACONF32\b/struct vbva_conf32/g 89 s/struct VBVACURSORPOSITION/struct vbva_cursor_position/g 90 s/} VBVACURSORPOSITION/} vbva_cursor_position/g 91 s/\bVBVACURSORPOSITION\b/struct vbva_cursor_position/g 92 s/struct VBVAENABLE_EX/struct vbva_enable_ex/g 93 s/} VBVAENABLE_EX/} vbva_enable_ex/g 94 s/\bVBVAENABLE_EX\b/struct vbva_enable_ex/g 95 s/struct VBVAMOUSEPOINTERSHAPE/struct vbva_mouse_pointer_shape/g 96 s/} VBVAMOUSEPOINTERSHAPE/} vbva_mouse_pointer_shape/g 97 s/\bVBVAMOUSEPOINTERSHAPE\b/struct vbva_mouse_pointer_shape/g 98 s/struct VBVAMODEHINT/struct vbva_modehint/g 99 s/} VBVAMODEHINT/} vbva_modehint/g 100 s/\bVBVAMODEHINT\b/struct vbva_modehint/g 101 s/struct VBVAQUERYMODEHINTS/struct vbva_query_mode_hints/g 102 s/} VBVAQUERYMODEHINTS/} vbva_query_mode_hints/g 103 s/\bVBVAQUERYMODEHINTS\b/struct vbva_query_mode_hints/g 104 s/struct VBVAREPORTINPUTMAPPING/struct vbva_report_input_mapping/g 105 s/} VBVAREPORTINPUTMAPPING/} vbva_report_input_mapping/g 106 s/\bVBVAREPORTINPUTMAPPING\b/struct vbva_report_input_mapping/g 107 108 # Variable and parameter names: 109 s/\baRecords\b/records/g 110 s/\bau8Data\b/data/g 111 s/\bBase\b/base/g 112 s/\bbEnable\b/enable/g 113 s/\bbRc\b/ret/g 114 s/\bcb\b/len/g 115 s/\bcbBuffer\b/buffer_length/g 116 s/\bcbChunk\b/chunk/g 117 s/\bcbData\b/data_len/g 118 s/\bcbHintsStructureGuest\b/hints_structure_guest_size/g 119 s/\bcbHwBufferAvail\b/available/g 120 s/\bcbLength\b/len/g 121 s/\bcbPartialWriteThreshold\b/partial_write_tresh/g ## @todo fix this? 122 s/\bcbPitch\b/pitch/g 123 s/\bcBPP\b/bpp/g 124 s/\bcbRecord\b/len_and_flags/g ## @todo fix this? 125 s/\bcDisplay\b/display/g 126 s/\bcHeight\b/height/g 127 s/\bcHintsQueried\b/hints_queried_count/g 128 s/\bcHotX\b/hot_x/g 129 s/\bcHotY\b/hot_y/g 130 s/\bcOriginX\b/origin_x/g 131 s/\bcOriginY\b/origin_y/g 132 s/\bcScreen\b/screen/g 133 s/\bcScreens\b/screens/g 134 s/\bcWidth\b/width/g 135 s/\bfCaps\b/caps/g 136 s/\bfFlags\b/flags/g 137 s/\bfHwBufferOverflow\b/buffer_overflow/g 138 s/\bfReportPosition\b/report_position/g 139 s/\bfu32Flags\b/flags/g 140 s/\bhostFlags\b/host_flags/g 141 s/\bi32Diff\b/diff/g 142 s/\bi32OriginX\b/origin_x/g 143 s/\bi32OriginY\b/origin_y/g 144 s/\bi32Result\b/result/g 145 s/\bindexRecordFirst\b/first_record_index/g 146 s/\bindexRecordFree\b/free_record_index/g 147 s/\bindexRecordNext\b/next/g 148 s/\boff32Data\b/data_offset/g 149 s/\boff32Free\b/free_offset/g 150 s/\boffLocation\b/location/g 151 s/\boffStart\b/start_offset/g 152 s/\boffVRAMBuffer\b/buffer_offset/g 153 s/\bpaHints\b/hints/g 154 s/\bpCtx\b/ctx/g 155 s/\bpPixels\b/pixels/g 156 s/\bpRecord\b/record/g 157 s/\bpulValue\b/value_ret/g 158 s/\bpVBVA\b/vbva/g 159 s/\bpxHost\b/x_host/g 160 s/\bpyHost\b/y_host/g 161 s/\bu16BitsPerPixel\b/bits_per_pixel/g 162 s/\bu16Flags\b/flags/g 163 s/\bu32BytesTillBoundary\b/bytes_till_boundary/g 164 s/\bu32Flags\b/flags/g 165 s/\bu32Height\b/height/g 166 s/\bu32HostEvents\b/host_events/g 167 s/\bu32HotX\b/hot_x/g 168 s/\bu32HotY\b/hot_y/g 169 s/\bu32Index\b/index/g 170 s/\bu32LineSize\b/line_size/g 171 s/\bu32Offset\b/offset/g 172 s/\bu32Reserved\b/reserved/g 173 s/\bu32ScreenId\b/screen_id/g 174 s/\bu32StartOffset\b/start_offset/g 175 s/\bu32SupportedOrders\b/supported_orders/g 176 s/\bu32Value\b/value/g 177 s/\bu32ViewIndex\b/view_index/g 178 s/\bu32Width\b/width/g 179 s/\bulValue\b/value/g 180 33 181 # And move braces. This must be the last expression as it jumps to the next 34 182 # line.
Note:
See TracChangeset
for help on using the changeset viewer.