GitLab has been upgraded to 13.7.4 If you encounter any issues mail code@riscosopen.org

Commit 82d26003 authored by John Ballance's avatar John Ballance

Initial import of stub for BCMSupport module

parents
s/** gitlab-language=armasm linguist-language=armasm linguist-detectable=true
Copyright (c) 2016, RISC OS Open Ltd
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of RISC OS Open Ltd nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
# Makefile for BCMSupport
COMPONENT = BCMSupport
# By default, the shared makefiles do a lot of the work of installing a
# Mesages file in ResourceFS. This is how to overrides it:
RES_OBJ =
# By default, the shared makefiles assume you want to use CMHG to create
# your module header. This is how to override it:
CMHGFILE =
# CModule is equally useful for assembler modules. Its advantages over the
# AAmModule makefile are that you can use multiple source files (permitting
# more encapsulation, which is good programing practice) and it allows you
# to use non-postion-independent code, provided you do BL __RelocCode early
# in module initialisation.
include CModule
# Dynamic dependencies:
Dir <Obey$Dir>
amu clean
stripdepnd
Dir <Obey$Dir>
amu debug THROWBACK=-throwback
Dir <Obey$Dir>
amu standalone THROWBACK=-throwback
Dir <Obey$Dir>
amu_machine rom _debug linked.BCM2835 THROWBACK=-throwback
# By default, the shared makefiles assume any module has a Messages file.
# If you don't want this, set RES_OBJ to an empty string in the Makefile.
;
; This file is automatically maintained by srccommit, do not edit manually.
; Last processed by srccommit version: 1.1.
;
GBLS Module_MajorVersion
GBLA Module_Version
GBLS Module_MinorVersion
GBLS Module_Date
GBLS Module_FullVersion
GBLS Module_ApplicationDate
GBLS Module_HelpVersion
GBLS Module_ComponentName
GBLS Module_ComponentPath
Module_MajorVersion SETS "0.01"
Module_Version SETA 01
Module_MinorVersion SETS ""
Module_Date SETS "19 Jul 2012"
Module_ApplicationDate SETS "19-Jul-12"
Module_ComponentName SETS "BCMSupport"
Module_ComponentPath SETS "mixed/RiscOS/Sources/HWSupport/BCMSupport"
Module_FullVersion SETS "0.01"
Module_HelpVersion SETS "0.10 (19 Jul 2012)"
END
/* (0.01)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.01
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 19 Jul 2012
#define Module_MajorVersion "0.01"
#define Module_Version 01
#define Module_MinorVersion ""
#define Module_Date "19 Jul 2012"
#define Module_ApplicationDate "19-Jul-12"
#define Module_ComponentName "BCMSupport"
#define Module_ComponentPath "mixed/RiscOS/Sources/HWSupport/BCMSupport"
#define Module_FullVersion "0.01"
#define Module_HelpVersion "0.01 (19 Jul 2012)"
#define Module_LibraryVersionInfo "0:01"
; You'll often see these prefixed with Hdr: for historic reasons.
; This is no longer necessary, and in fact omitting them makes it
; possible to cross-compile your source code.
GET ListOpts
GET Macros
GET System
GET ModHand
; Assembler modules are conventionally, but not necessarily,
; position-independent code. Area name |!| is guaranteed to appear
; first in link order, whatever your other areas are named.
AREA |!|, CODE, READONLY, PIC
ENTRY
DCD 0 ; Start
DCD Init - |!|
DCD Final - |!|
DCD 0; Service call handler
DCD Title - |!|
DCD Help - |!|
DCD 0 ; Keyword table
DCD 0 ; SWI chunk
DCD 0 ; SWI handler
DCD 0 ; SWI table
DCD 0 ; SWI decoder
DCD 0 ; Messages
DCD Flags - |!|
Title = "BCMSupport", 0
Help = "BCMSupport", 9, 9, "0.00 (01 Jan 2000)", 0
ALIGN
Flags & ModuleFlag_32bit
Init ROUT
Push "lr"
; SWI XOS_WriteI+7
Pull "pc"
Final ROUT
MOV pc, lr
END
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