Mercurial > hg > Members > kono > nitros9-code
annotate defs/rbsuper.d @ 2910:87f2133301b0
Remove execute permissions from files that should not have it
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sat, 11 Jan 2014 21:52:42 +0100 |
parents | 6bd6e348665d |
children |
rev | line source |
---|---|
2624 | 1 IFNE RBSUPER.D-1 |
2 RBSUPER.D SET 1 | |
3 | |
2590 | 4 ******************************************************************** |
5 * rbsuper.d - rbsuper definitions | |
6 * | |
7 * $Id$ | |
8 * | |
9 * (C) 2004 Boisy G. Pitre - Licensed to Cloud-9 | |
10 * | |
11 * These definitions make up the static storage environment for the | |
12 * rbsuper driver. Low level drivers share these variables with | |
13 * rbsuper, and also have an area reserved exclusively for their use. | |
14 * | |
15 * Edt/Rev YYYY/MM/DD Modified by | |
16 * Comment | |
17 * ------------------------------------------------------------------ | |
18 * 2004/04/10 Boisy G. Pitre | |
19 * Created. | |
20 * | |
21 * 2005/11/27 Boisy G. Pitre | |
22 * Moved SCSI base addresses and I/O offsets to here. | |
23 * | |
24 * 2005/12/13 Boisy G. Pitre | |
25 * Employed a "trick" whereby driver's U is pointed UOFFSET bytes | |
26 * into the static storage for faster, smaller code generation. | |
27 * | |
28 * 2005/12/13 Boisy G. Pitre | |
29 * Rearranged order of driver statics for smaller code size | |
30 | |
31 * Interface Address | |
32 SDAddr SET $FF00 | |
33 SDMPI SET $FF | |
34 | |
35 * | |
36 * IT.DNS Definitions for all Low Level Drivers | |
37 * | |
38 DNS.HDB EQU %00001000 | |
39 | |
40 * | |
41 * IT.DNS Definitions for Low Level SCSI Driver | |
42 * | |
43 DNS.TURBO EQU %00010000 | |
44 | |
45 maxcache SET 2048 | |
46 DrvCount EQU 8 | |
47 llreserve EQU 64 | |
48 | |
49 UOFFSET EQU DRVBEG+(DRVMEM*DrvCount) | |
50 | |
51 ORG 0 | |
52 V.LLSema RMB 1 low-level semaphore variable | |
53 V.LastDrv RMB 1 last drive to access cache | |
54 V.PhysSect RMB 3 physical (HW) sector | |
55 V.LogSect RMB 3 logical (256 byte) sector | |
56 V.SectSize RMB 1 sector size | |
57 V.SectCnt RMB 1 number of hw sectors to read from interface | |
58 V.Log2Phys RMB 1 number of logical (256) byte sectors to 1 physical sector | |
59 V.CchAddr RMB 2 address of cache in system memory | |
60 V.CchSize RMB 2 size of cache in bytes | |
61 V.CchPSpot RMB 2 pointer to target physical sector in cache | |
62 V.CchLSpot RMB 2 pointer to target logical sector in cache | |
63 V.CchDirty RMB 1 cache dirty flag (0 = cache is stable, !0 = cache is dirty) | |
64 V.CchBase RMB 3 logical sector at start of cache | |
65 V.HDBDrive RMB 1 IT.STP (used as HDB-DOS drive number if HDB-DOS partition) | |
66 V.HDBPart RMB 1 HDB-DOS partition flag (0 = not HDB-DOS partition, !0 = is) | |
67 V.SSCache RMB DrvCount sector size cache table for each drive | |
68 V.LLAddr RMB 2 low level module address | |
69 V.LLInit RMB 2 low level init entry point | |
70 V.LLRead RMB 2 low level read entry point | |
71 V.LLWrite RMB 2 low level write entry point | |
72 V.LLGtSt RMB 2 low level getstat entry point | |
73 V.LLStSt RMB 2 low level setstat entry point | |
74 V.LLTerm RMB 2 low level term entry point | |
75 * Low Level Driver Memory starts here | |
76 V.LLMem EQU . start of low level driver memory | |
77 RMB llreserve reserved area... low level driver uses this as it wants | |
78 V.LLMemSz EQU .-V.LLMem | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2624
diff
changeset
|
79 * Note: we trick rbsuper too so that it thinks its static storage starts at |
2590 | 80 * zero when it really starts beyond DRVBEG+(DRVMEM*DrvCount). |
81 RMB UOFFSET | |
82 V.RBSuper EQU . end of RBSuper's (and ll driver's) memory requirements | |
2624 | 83 |
84 ENDC | |
85 |