Commit 4f12bd07 authored by Ben Avison's avatar Ben Avison
Browse files

Changes to header file handling

Detail:
  Filing system handler reason codes moved into Hdr:Free so they can be used
  from other modules. Also created a C version of the header, Interface/Free.h
Admin:
  Shouldn't be any functional change to the Free module itself.
  Worth noting that the PRM and the updated docs herein are wrong: the handler
  can be entered in either USR mode or SVC mode, depending upon the reason
  code (1 and 3 SVC mode, 2 and 4 USR mode). This makes implementing the
  handler in C "interesting"...

Version 0.41. Tagged as 'Free-0_41'
parent 50a2e6c9
...@@ -24,8 +24,11 @@ ...@@ -24,8 +24,11 @@
COMPONENT = Free COMPONENT = Free
HEADER1 = Free HEADER1 = Free
ASMCHEADER1 = Free
RESOURCEEXTRA = resources_templates RESOURCEEXTRA = resources_templates
EXPORTS = ${C_EXP_HDR}.Free
include StdTools include StdTools
include AAsmModule include AAsmModule
......
| Copyright 2012 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.
|
Dir <Obey$Dir>
amu_machine export
...@@ -11,13 +11,13 @@ ...@@ -11,13 +11,13 @@
GBLS Module_HelpVersion GBLS Module_HelpVersion
GBLS Module_ComponentName GBLS Module_ComponentName
GBLS Module_ComponentPath GBLS Module_ComponentPath
Module_MajorVersion SETS "0.40" Module_MajorVersion SETS "0.41"
Module_Version SETA 40 Module_Version SETA 41
Module_MinorVersion SETS "" Module_MinorVersion SETS ""
Module_Date SETS "28 Nov 2011" Module_Date SETS "13 Apr 2012"
Module_ApplicationDate SETS "28-Nov-11" Module_ApplicationDate SETS "13-Apr-12"
Module_ComponentName SETS "Free" Module_ComponentName SETS "Free"
Module_ComponentPath SETS "castle/RiscOS/Sources/Desktop/Free" Module_ComponentPath SETS "castle/RiscOS/Sources/Desktop/Free"
Module_FullVersion SETS "0.40" Module_FullVersion SETS "0.41"
Module_HelpVersion SETS "0.40 (28 Nov 2011)" Module_HelpVersion SETS "0.41 (13 Apr 2012)"
END END
/* (0.40) /* (0.41)
* *
* This file is automatically maintained by srccommit, do not edit manually. * This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1. * Last processed by srccommit version: 1.1.
* *
*/ */
#define Module_MajorVersion_CMHG 0.40 #define Module_MajorVersion_CMHG 0.41
#define Module_MinorVersion_CMHG #define Module_MinorVersion_CMHG
#define Module_Date_CMHG 28 Nov 2011 #define Module_Date_CMHG 13 Apr 2012
#define Module_MajorVersion "0.40" #define Module_MajorVersion "0.41"
#define Module_Version 40 #define Module_Version 41
#define Module_MinorVersion "" #define Module_MinorVersion ""
#define Module_Date "28 Nov 2011" #define Module_Date "13 Apr 2012"
#define Module_ApplicationDate "28-Nov-11" #define Module_ApplicationDate "13-Apr-12"
#define Module_ComponentName "Free" #define Module_ComponentName "Free"
#define Module_ComponentPath "castle/RiscOS/Sources/Desktop/Free" #define Module_ComponentPath "castle/RiscOS/Sources/Desktop/Free"
#define Module_FullVersion "0.40" #define Module_FullVersion "0.41"
#define Module_HelpVersion "0.40 (28 Nov 2011)" #define Module_HelpVersion "0.41 (13 Apr 2012)"
#define Module_LibraryVersionInfo "0:40" #define Module_LibraryVersionInfo "0:41"
...@@ -32,5 +32,11 @@ SWIClass SETS FreeSWI_Name ...@@ -32,5 +32,11 @@ SWIClass SETS FreeSWI_Name
AddSWI Register ; &444C0 AddSWI Register ; &444C0
AddSWI DeRegister ; &444C1 AddSWI DeRegister ; &444C1
FreeReason_Noop * 0
FreeReason_GetName * 1
FreeReason_GetSpace * 2
FreeReason_ComparePath * 3
FreeReason_GetSpace64 * 4
OPT OldOpt OPT OldOpt
END END
...@@ -78,6 +78,7 @@ Module_BaseAddr ...@@ -78,6 +78,7 @@ Module_BaseAddr
GET Hdr:HostFS GET Hdr:HostFS
GET Hdr:NdrDebug GET Hdr:NdrDebug
GET Hdr:ExtraLong GET Hdr:ExtraLong
GET Hdr:Free
GET VersionASM GET VersionASM
......
...@@ -246,11 +246,6 @@ int_close_window ...@@ -246,11 +246,6 @@ int_close_window
; This is called when the poll word is non-zero, it scans the window list ; This is called when the poll word is non-zero, it scans the window list
; to find out which windows are to be updated, and updates them. ; to find out which windows are to be updated, and updates them.
; ;
FreeReason_Noop * 0
FreeReason_GetName * 1
FreeReason_GetSpace * 2
FreeReason_ComparePath * 3
FreeReason_GetSpace64 * 4
icon_shift * 5 icon_shift * 5
......
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