Commit dd550494 authored by Jeffrey Lee's avatar Jeffrey Lee
Browse files

Remove obsolete stub HAL video API implementation

Detail:
  s/Top, s/Video - Removed obsolete HAL video API implementation. A stub implementation is no longer required for systems that have a GraphicsV driver in a module, and can even cause problems if the OS decides to use the HAL implementation instead of the module one.
Admin:
  Tested in BCM2835 ROM
  Requires Kernel-5_35-4_79_2_203


Version 0.30. Tagged as 'BCM2835-0_30'
parent 495018ca
......@@ -11,13 +11,13 @@
GBLS Module_HelpVersion
GBLS Module_ComponentName
GBLS Module_ComponentPath
Module_MajorVersion SETS "0.29"
Module_Version SETA 29
Module_MajorVersion SETS "0.30"
Module_Version SETA 30
Module_MinorVersion SETS ""
Module_Date SETS "22 Jan 2013"
Module_ApplicationDate SETS "22-Jan-13"
Module_Date SETS "15 Dec 2013"
Module_ApplicationDate SETS "15-Dec-13"
Module_ComponentName SETS "BCM2835"
Module_ComponentPath SETS "mixed/RiscOS/Sources/HAL/BCM2835"
Module_FullVersion SETS "0.29"
Module_HelpVersion SETS "0.29 (22 Jan 2013)"
Module_FullVersion SETS "0.30"
Module_HelpVersion SETS "0.30 (15 Dec 2013)"
END
/* (0.29)
/* (0.30)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.29
#define Module_MajorVersion_CMHG 0.30
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 22 Jan 2013
#define Module_Date_CMHG 15 Dec 2013
#define Module_MajorVersion "0.29"
#define Module_Version 29
#define Module_MajorVersion "0.30"
#define Module_Version 30
#define Module_MinorVersion ""
#define Module_Date "22 Jan 2013"
#define Module_Date "15 Dec 2013"
#define Module_ApplicationDate "22-Jan-13"
#define Module_ApplicationDate "15-Dec-13"
#define Module_ComponentName "BCM2835"
#define Module_ComponentPath "mixed/RiscOS/Sources/HAL/BCM2835"
#define Module_FullVersion "0.29"
#define Module_HelpVersion "0.29 (22 Jan 2013)"
#define Module_LibraryVersionInfo "0:29"
#define Module_FullVersion "0.30"
#define Module_HelpVersion "0.30 (15 Dec 2013)"
#define Module_LibraryVersionInfo "0:30"
......@@ -88,24 +88,6 @@
IMPORT HAL_NVMemoryRead
IMPORT HAL_NVMemoryWrite
IMPORT HAL_VideoFlybackDevice
IMPORT HAL_VideoSetMode
IMPORT HAL_VideoWritePaletteEntry
IMPORT HAL_VideoWritePaletteEntries
IMPORT HAL_VideoReadPaletteEntry
IMPORT HAL_VideoSetInterlace
IMPORT HAL_VideoSetBlank
IMPORT HAL_VideoSetPowerSave
IMPORT HAL_VideoUpdatePointer
IMPORT HAL_VideoSetDAG
IMPORT HAL_VideoVetMode
IMPORT HAL_VideoPixelFormats
IMPORT HAL_VideoFeatures
IMPORT HAL_VideoBufferAlignment
IMPORT HAL_VideoOutputFormat
IMPORT HAL_VideoRender
IMPORT HAL_VideoIICOp
IMPORT HAL_UARTPorts
IMPORT HAL_UARTStartUp
IMPORT HAL_UARTShutdown
......@@ -141,9 +123,6 @@
IMPORT HAL_USBPortStatus
IMPORT HAL_USBPortIRQ
IMPORT HAL_VideoFramestoreAddress
IMPORT HAL_VideoStartupMode
IMPORT SDIO_InitDevices
IMPORT DMA_InitDevices
......@@ -439,21 +418,21 @@ HAL_EntryTable DATA
HALEntry HAL_IICTransfer
HALEntry HAL_IICMonitorTransfer
HALEntry HAL_VideoFlybackDevice
HALEntry HAL_VideoSetMode
HALEntry HAL_VideoWritePaletteEntry
HALEntry HAL_VideoWritePaletteEntries
HALEntry HAL_VideoReadPaletteEntry
HALEntry HAL_VideoSetInterlace
HALEntry HAL_VideoSetBlank
HALEntry HAL_VideoSetPowerSave
HALEntry HAL_VideoUpdatePointer
HALEntry HAL_VideoSetDAG
HALEntry HAL_VideoVetMode
HALEntry HAL_VideoPixelFormats
HALEntry HAL_VideoFeatures
HALEntry HAL_VideoBufferAlignment
HALEntry HAL_VideoOutputFormat
NullEntry ; HAL_VideoFlybackDevice
NullEntry ; HAL_VideoSetMode
NullEntry ; HAL_VideoWritePaletteEntry
NullEntry ; HAL_VideoWritePaletteEntries
NullEntry ; HAL_VideoReadPaletteEntry
NullEntry ; HAL_VideoSetInterlace
NullEntry ; HAL_VideoSetBlank
NullEntry ; HAL_VideoSetPowerSave
NullEntry ; HAL_VideoUpdatePointer
NullEntry ; HAL_VideoSetDAG
NullEntry ; HAL_VideoVetMode
NullEntry ; HAL_VideoPixelFormats
NullEntry ; HAL_VideoFeatures
NullEntry ; HAL_VideoBufferAlignment
NullEntry ; HAL_VideoOutputFormat
NullEntry ; HALEntry HAL_MatrixColumns
NullEntry ; HALEntry HAL_MatrixScan
......@@ -524,24 +503,24 @@ HAL_EntryTable DATA
HALEntry HAL_IRQMax
HALEntry HAL_VideoRender
NullEntry ; HALEntry HAL_VideoRender
HALEntry HAL_USBPortPower
HALEntry HAL_USBPortStatus
HALEntry HAL_USBPortIRQ
HALEntry HAL_VideoIICOp
NullEntry ; HALEntry HAL_VideoIICOp
HALEntry HAL_TimerIRQClear
NullEntry ; HAL_TimerIRQStatus
HALEntry HAL_ExtMachineID
HALEntry HAL_VideoFramestoreAddress
NullEntry ; HALEntry HAL_VideoFramestoreAddress
NullEntry ; HALEntry HAL_UARTDefault
HALEntry HAL_VideoStartupMode
NullEntry ; HALEntry HAL_VideoStartupMode
HAL_Entries * (.-HAL_EntryTable)/4
......
......@@ -44,25 +44,6 @@
IMPORT HAL_DebugHexTX4
IMPORT HAL_DebugTXStrInline
]
EXPORT HAL_VideoFlybackDevice
EXPORT HAL_VideoSetMode
EXPORT HAL_VideoWritePaletteEntry
EXPORT HAL_VideoWritePaletteEntries
EXPORT HAL_VideoReadPaletteEntry
EXPORT HAL_VideoSetInterlace
EXPORT HAL_VideoSetBlank
EXPORT HAL_VideoSetPowerSave
EXPORT HAL_VideoUpdatePointer
EXPORT HAL_VideoSetDAG
EXPORT HAL_VideoVetMode
EXPORT HAL_VideoPixelFormats
EXPORT HAL_VideoFeatures
EXPORT HAL_VideoBufferAlignment
EXPORT HAL_VideoOutputFormat
EXPORT HAL_VideoRender
EXPORT HAL_VideoIICOp
EXPORT HAL_VideoFramestoreAddress
EXPORT HAL_VideoStartupMode
EXPORT Video_InitDevices
IMPORT memcpy
......@@ -85,54 +66,6 @@ myvalue SETS "$value"
]
MEND
HAL_VideoFramestoreAddress
MOV r1, #0
HAL_VideoOutputFormat
HAL_VideoVetMode
HAL_VideoIICOp
MOV r0, #0
HAL_VideoSetMode
HAL_VideoWritePaletteEntry
HAL_VideoWritePaletteEntries
HAL_VideoSetInterlace
HAL_VideoSetBlank
HAL_VideoSetPowerSave
HAL_VideoUpdatePointer
HAL_VideoSetDAG
HAL_VideoReadPaletteEntry
HAL_VideoRender
MOV pc, lr
HAL_VideoFlybackDevice
MOV a1, #-1
MOV pc, lr
HAL_VideoPixelFormats
MOV a1, #2_111111
MOV pc, lr
HAL_VideoFeatures
MOV a1, #2_10010 ; hw pointer, no VSyncs
MOV pc, lr
HAL_VideoBufferAlignment
MOV a1, #4
MOV pc, lr
; returns a1 -> mode specifier for startup mode or unchanged if none
; HACK - should be in BCMVideo!
HAL_VideoStartupMode
adr a1, DefaultModeList
MOV pc,lr
DefaultModeList
DCD 1
DCD 1920
DCD 1080
DCD 5
DCD -1
DCD -1
; Template for video device
VDU_Dev
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment