UpCall 3.09 KB
Newer Older
Ben Avison's avatar
Ben Avison committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
; Copyright 2008 Castle Technology Ltd
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
;     http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
;
; This header file is autogenerated from the files maintained by the
; RISC OS allocations manager and should not be edited by anyone else.

        SUBT    => &.Hdr.UpCall

OldOpt  SETA    {OPT}
        OPT     OptNoList + OptNoP1List

; SYSTEM (and System extension) UPCALLS

UpCall_Invalid          * -1    ; reason -1 is UpCall broken
UpCall_Claimed          * 0     ; reason 0 is UpCall already claimed/dealt with

; Filing System UpCalls

                        ^ 1
UpCall_MediaNotPresent  # 1     ;1
UpCall_MediaNotKnown    # 1     ;2
UpCall_ModifyingFile    # 1     ;3

upfsfile_Save           * 0     ; sub-rc for UpCall_ModifyingFile (r9)
upfsfile_WriteInfo      * 1
upfsfile_WriteLoad      * 2
upfsfile_WriteExec      * 3
upfsfile_WriteAttr      * 4
upfsfile_Delete         * 6
upfsfile_Create         * 7
upfsfile_CreateDir      * 8
upfsopen_CreateUpdate   * &101
upfsopen_Update         * &102
upfsclose               * &103
upfsargs_EnsureSize     * &200
upfsfunc_Rename         * &208
upfsfunc_Access         * &209

UpCall_MediaSearchEnd   # 1      ;4
UpCall_Password         # 1      ;5
UpCall_Sleep            # 1      ;6       ; for PipeFS etc.
UpCall_SleepNoMore      # 1      ;7       ; a poll word is disappearing
UpCall_BufferFilling    # 1      ;8       ; insert to buffer has passed threshold
UpCall_BufferEmptying   # 1      ;9       ; remove from buffer has increased free space behind threshold
UpCall_StreamCreated    # 1      ;10      ; stream created
UpCall_StreamClosed     # 1      ;11      ; stream has been removed
UpCall_Freeway          # 1      ;12      ; Freeway object created / modified.
UpCall_Online           # 1      ;13      ; Online Media Set-Top Box
UpCall_Standby          # 1      ;14      ; Online Media Set-Top Box
UpCall_DeviceRxDataPresent # 1   ;15      ; Acorn NC
UpCall_DeviceThresAbove    # 1   ;16      ; Acorn NC
UpCall_DeviceThresBelow    # 1   ;17      ; Acorn NC
UpCall_ProgressUI       # 1      ;18      ; ANC OLove
UpCall_MediaSearchEndMessage # 1 ;19      ; Acorn Alastair Rodger
UpCall_KeyboardStatus   # 1      ; 20     ; Acorn Kevin Bracey
UpCall_MPEG             # 1      ; 21     ; Acorn Ben Avison
UpCall_PMonitor		# 1	; 22	  ; Acorn
UpCall_PDumperAction	# 1	; 23	  ; Castle
UpCall_DriveAdded          # 1   ;24      ; Alert the filer of hot plugging = Castle
UpCall_DriveRemoved        # 1   ;25      ; drive hardware = Castle
; MOS UpCalls
                        ^ 256
UpCall_NewApplication   # 1             ; cf. Service_NewApplication
UpCall_MovingMemory     # 1

        OPT     OldOpt

        END