Commit b86682cd authored by Stewart Brodie's avatar Stewart Brodie
Browse files

NFS free space handler knows about new NFS_FreeSpace64 SWI.

Detail:
  Large discs and/or quotas cannot be handled via the old interface.  A
    new SWI in the NFS module can be used to obtain the 64-bit free space
    instead.
Admin:
  Requires NFS 3.19 (or 3.18.4.22.2.3) or later for NFS_FreeSpace64 SWI


Version 0.37. Tagged as 'Free-0_37'
parent ba010d65
......@@ -11,14 +11,14 @@
GBLS Module_HelpVersion
GBLS Module_ComponentName
GBLS Module_ComponentPath
Module_MajorVersion SETS "0.36"
Module_Version SETA 36
Module_MajorVersion SETS "0.37"
Module_Version SETA 37
Module_MinorVersion SETS ""
Module_Date SETS "16 Mar 2001"
Module_ApplicationDate2 SETS "16-Mar-01"
Module_ApplicationDate4 SETS "16-Mar-2001"
Module_Date SETS "18 Jun 2001"
Module_ApplicationDate2 SETS "18-Jun-01"
Module_ApplicationDate4 SETS "18-Jun-2001"
Module_ComponentName SETS "Free"
Module_ComponentPath SETS "RiscOS/Sources/Desktop/Free"
Module_FullVersion SETS "0.36"
Module_HelpVersion SETS "0.36 (16 Mar 2001)"
Module_FullVersion SETS "0.37"
Module_HelpVersion SETS "0.37 (18 Jun 2001)"
END
/* (0.36)
/* (0.37)
*
* This file is automatically maintained by srccommit, do not edit manually.
*
*/
#define Module_MajorVersion_CMHG 0.36
#define Module_MajorVersion_CMHG 0.37
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 16 Mar 2001
#define Module_Date_CMHG 18 Jun 2001
#define Module_MajorVersion "0.36"
#define Module_Version 36
#define Module_MajorVersion "0.37"
#define Module_Version 37
#define Module_MinorVersion ""
#define Module_Date "16 Mar 2001"
#define Module_Date "18 Jun 2001"
#define Module_ApplicationDate2 "16-Mar-01"
#define Module_ApplicationDate4 "16-Mar-2001"
#define Module_ApplicationDate2 "18-Jun-01"
#define Module_ApplicationDate4 "18-Jun-2001"
#define Module_ComponentName "Free"
#define Module_ComponentPath "RiscOS/Sources/Desktop/Free"
#define Module_FullVersion "0.36"
#define Module_HelpVersion "0.36 (16 Mar 2001)"
#define Module_FullVersion "0.37"
#define Module_HelpVersion "0.37 (18 Jun 2001)"
......@@ -14,7 +14,9 @@
;
NFS_FreeSpace * &410c5
NFS_FreeSpace64 * &410c6
XNFS_FreeSpace * NFS_FreeSpace :OR: Auto_Error_SWI_bit
XNFS_FreeSpace64 * NFS_FreeSpace64 :OR: Auto_Error_SWI_bit
;-------------------------------------------------------------------------
;
......@@ -29,6 +31,8 @@ NFS_entry
BEQ NFS_GetSpace
TEQ r0,#FreeReason_ComparePath
BEQ NFS_ComparePath
TEQ r0,#FreeReason_GetSpace64
BEQ NFS_GetSpace64
Pull "PC"
......@@ -83,6 +87,17 @@ NFS_GetSpace
Pull "r1-r3,PC"
;-----------------------------------------------------------------------
; NFS_GetSpace64
;
; Put the free space on the drive specified in r3 into the buffer at r2
;
NFS_GetSpace64
Debug xx,"NFS Get space 64"
SWI XNFS_FreeSpace64
Pull "pc"
;-------------------------------------------------------------------------
; NFS_ComparePath
;
......@@ -112,4 +127,4 @@ NFS_ComparePath
Pull "r0-r9,PC"
LNK s.PCCardFS
LNK PCCardFS.s
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