Subversion Repositories Spectranet

[/] [trunk/] [modules/] [messages/] [messages_en.asm] - Blame information for rev 570

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 255 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
; String table
24 399 winston
.data
25
.globl STRING_TABLE
26
STRING_TABLE:
27
STR_SUCCESS:    defb    "Success",0                             ; 0x00
28
STR_EPERM:      defb    "Operation not permitted",0             ; 0x01
29
STR_ENOENT:     defb    "No such file or directory",0           ; 0x02
30
STR_EIO:        defb    "I/O error",0                           ; 0x03
31
STR_ENXIO:      defb    "No such device or address",0           ; 0x04
32
STR_E2BIG:      defb    "Too many arguments",0                  ; 0x05
33
STR_EBADF:      defb    "Bad file descriptor",0                 ; 0x06
34
STR_EAGAIN:     defb    "Operation would block",0               ; 0x07
35
STR_ENOMEM:     defb    "Out of memory",0                       ; 0x08
36
STR_EACCES:     defb    "Permission denied",0                   ; 0x09
37
STR_EBUSY:       defb    "Device or resource busy",0             ; 0x0A
38
STR_EEXIST:      defb    "File exists",0                         ; 0x0B
39
STR_ENOTDIR:     defb    "Not a directory",0                     ; 0x0C
40
STR_EISDIR:      defb    "Is a directory",0                      ; 0x0D
41
STR_EINVAL:      defb    "Invalid argument",0                    ; 0x0E
42
STR_ENFILE:      defb    "File table overflow",0                 ; 0x0F
43
STR_EMFILE:      defb    "Too many open files",0                 ; 0x10
44
STR_EFBIG:       defb    "File too large",0                      ; 0x11
45
STR_ENOSPC:      defb    "Filesystem full",0                     ; 0x12
46
STR_ESPIPE:      defb    "Attempt to seek on a pipe",0           ; 0x13
47
STR_EROFS:       defb    "Read only filesystem",0                ; 0x14
48
STR_ENAMETOOLONG: defb   "Filename too long",0                   ; 0x15
49
STR_ENOSYS:      defb    "Not implemented",0                     ; 0x16
50
STR_ENOTEMPTY:   defb    "Directory not empty",0                 ; 0x17
51
STR_ELOOP:       defb    "Too many links",0                      ; 0x18
52
STR_ENODATA:     defb    "No data available",0                   ; 0x19
53
STR_ENOSTR:      defb    "Out of streams",0                      ; 0x1A
54
STR_EPROTO:      defb    "Protocol error",0                      ; 0x1B
55
STR_EBADFD:      defb    "File descriptor state bad",0           ; 0x1C
56
STR_EUSERS:      defb    "Too many users",0                      ; 0x1D
57
STR_ENOBUFS:     defb    "No buffer space available",0           ; 0x1E
58
STR_EALREADY:    defb    "Operation already running",0           ; 0x1F
59
STR_ESTALE:      defb    "Stale TNFS handle",0                   ; 0x20
60
STR_EOF:         defb    "End of file",0                         ; 0x21
61 255 winston
 
62
; Non-protocol error messages
63 399 winston
STR_TIMEOUT:     defb    "Operation timed out",0                 ; 0x22
64
STR_NOTMOUNTED:  defb    "Filesystem not mounted",0              ; 0x23
65
STR_BADLENGTH:   defb    "Incorrect header length",0             ; 0x24
66
STR_BADTYPE:     defb    "Incorrect block type",0                ; 0x25
67
STR_UNKTYPE:     defb    "Unknown file type",0                   ; 0x26
68
STR_MISMCHLEN:   defb    "Data block length mismatch",0          ; 0x27
69
STR_EBADURL:     defb    "Bad URL",0                             ; 0x28
70
STR_EBADFS:      defb    "Bad filesystem number",0               ; 0x29
71 570 winston
STR_EMPBUSY:     defb    "Mount point already used",0            ; 0x2A
72
STR_EUNKPROTO:   defb    "Unknown filesystem type",0             ; 0x2B
73 255 winston
 
74 399 winston
ERR_TABLE_END:
75
STR_UNKNOWN:     defb    "Unknown error",0
76 255 winston
 
77 399 winston
.globl ERR_TABLE_LEN
78
ERR_TABLE_LEN   equ ERR_TABLE_END - STRING_TABLE
79
 
80 320 winston
; Base rom messages
81 399 winston
.globl STR_HITABLE
82
.globl HITABLE_LOWEST
83
STR_HITABLE:
84 320 winston
HITABLE_LOWEST  equ 0xEC
85 399 winston
STR_DNS_TIMEOUT:        defb    "DNS timeout",0                         ; 0xEC
86
STR_NO_ADDRESS: defb    "No address",0                          ; 0xED
87
STR_NO_RECOVERY:        defb    "No recovery",0                         ; 0xEE
88
STR_HOST_NOT_FOUND: defb        "Host not found",0                      ; 0xEF
89 320 winston
                defb 0,0,0,0,0,0,0,0,0,0                        ; 0xF0-0xF9
90 399 winston
STR_ECONNREFUSED: defb  "Connection refused",0                  ; 0xFA
91
STR_ETIMEDOUT:  defb    "Socket timeout",0                      ; 0xFB
92
STR_ECONNRESET: defb    "Connection reset by peer",0            ; 0xFC
93
STR_ESBADF:     defb    "Bad socket descriptor",0               ; 0xFD
94
STR_ESNFILE:    defb    "Invalid socket descriptor",0           ; 0xFE
95
STR_EUNK:       defb    "General socket error",0                ; 0xFF
96
HITABLE_END:
97 320 winston
 
98 399 winston
.globl HITABLE_LEN
99
HITABLE_LEN     equ HITABLE_END - STR_HITABLE
100