Subversion Repositories Spectranet

[/] [branches/] [gnubinutils/] [include/] [moduledefs.inc] - Blame information for rev 384

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 211 winston
;The MIT License
2
;
3
;Copyright (c) 2009 Dylan Smith
4
;
5
;Permission is hereby granted, free of charge, to any person obtaining a copy
6
;of this software and associated documentation files (the "Software"), to deal
7
;in the Software without restriction, including without limitation the rights
8
;to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
;copies of the Software, and to permit persons to whom the Software is
10
;furnished to do so, subject to the following conditions:
11
;
12
;The above copyright notice and this permission notice shall be included in
13
;all copies or substantial portions of the Software.
14
;
15
;THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
;IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
;FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
;AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
;LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
;OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
;THE SOFTWARE.
22
 
23
; This just defines vector table addresses and jump tables for ROM modules.
24
MOD_SIGNATURE           equ 0x2000
25
MOD_ROMID               equ 0x2001
26
MOD_VEC_RESET           equ 0x2002
27
MOD_VEC_MOUNT           equ 0x2004
28
MOD_VEC_RESERVED0       equ 0x2006
29
MOD_VEC_RESERVED1       equ 0x2008
30
MOD_VEC_RESERVED2       equ 0x200A
31
MOD_VEC_RESERVED3       equ 0x200C
32
MOD_VEC_IDENT           equ 0x200E
33
 
34
MOD_JP_MODCALL          equ 0x2010
35
 
36
VFSJUMPOFFSET           equ 0x9B        ; 0xAE - 0x13
37
MOD_VFS_UMOUNT          equ 0x2013
38
MOD_VFS_OPENDIR         equ 0x2016
39
MOD_VFS_OPEN            equ 0x2019
40
MOD_VFS_UNLINK          equ 0x201C
41
MOD_VFS_MKDIR           equ 0x201F
42
MOD_VFS_RMDIR           equ 0x2022
43
MOD_VFS_SIZE            equ 0x2025
44
MOD_VFS_FREE            equ 0x2028
45
MOD_VFS_STAT            equ 0x202B
46
MOD_VFS_CHMOD           equ 0x202E
47
MOD_VFS_READ            equ 0x2031
48
MOD_VFS_WRITE           equ 0x2034
49
MOD_VFS_LSEEK           equ 0x2037
50
MOD_VFS_CLOSE           equ 0x203A
51
MOD_VFS_POLL            equ 0x203D
52
MOD_VFS_READDIR         equ 0x2040
53
MOD_VFS_CLOSEDIR        equ 0x2043
54