1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
1 ;--------------------------------------------------------
2 ; File Created by SDCC : free open source ANSI-C Compiler
3 ; Version 3.5.0 #9253 (Mar 24 2016) (Linux)
4 ; This file was generated Wed Aug 23 21:44:59 2017
5 ;--------------------------------------------------------
6 .module filesystem
7 .optsdcc -mz80
8
9 ;--------------------------------------------------------
10 ; Public variables in this module
11 ;--------------------------------------------------------
12 .globl _fs_parse_superblock
13 .globl _fs_parse_path
14 .globl _fs_get_inode
15 .globl _fs_new_inode
16 .globl _fs_free_inode
17 .globl _fs_chmod
18 .globl _fs_chown
19 .globl _fs_rename
20 ;--------------------------------------------------------
21 ; special function registers
22 ;--------------------------------------------------------
23 ;--------------------------------------------------------
24 ; ram data
25 ;--------------------------------------------------------
26 .area _DATA
27 ;--------------------------------------------------------
28 ; ram data
29 ;--------------------------------------------------------
30 .area _INITIALIZED
31 ;--------------------------------------------------------
32 ; absolute external ram data
33 ;--------------------------------------------------------
34 .area _DABS (ABS)
35 ;--------------------------------------------------------
36 ; global & static initialisations
37 ;--------------------------------------------------------
38 .area _HOME
39 .area _GSINIT
40 .area _GSFINAL
41 .area _GSINIT
42 ;--------------------------------------------------------
43 ; Home
44 ;--------------------------------------------------------
45 .area _HOME
46 .area _HOME
47 ;--------------------------------------------------------
48 ; code
49 ;--------------------------------------------------------
50 .area _CODE
51 ;kernel/filesystem.c:3: struct filesystem * fs_parse_superblock(struct filesystem *fs)
52 ; ---------------------------------
53 ; Function fs_parse_superblock
54 ; ---------------------------------
0000 55 _fs_parse_superblock::
56 ;kernel/filesystem.c:5: return 0;
0000 21 00 00 [10] 57 ld hl,#0x0000
0003 C9 [10] 58 ret
59 ;kernel/filesystem.c:9: uint16_t fs_parse_path(const char *path)
60 ; ---------------------------------
61 ; Function fs_parse_path
62 ; ---------------------------------
0004 63 _fs_parse_path::
64 ;kernel/filesystem.c:11: return 0;
0004 21 00 00 [10] 65 ld hl,#0x0000
0007 5D [ 4] 66 ld e,l
0008 54 [ 4] 67 ld d,h
0009 C9 [10] 68 ret
69 ;kernel/filesystem.c:15: inode_t * fs_get_inode(inode_t *buffer, uint16_t i_number)
70 ; ---------------------------------
71 ; Function fs_get_inode
72 ; ---------------------------------
000A 73 _fs_get_inode::
74 ;kernel/filesystem.c:17: return 0;
000A 21 00 00 [10] 75 ld hl,#0x0000
000D C9 [10] 76 ret
77 ;kernel/filesystem.c:20: inode_t * fs_new_inode(inode_t *inode, const char *name)
78 ; ---------------------------------
79 ; Function fs_new_inode
80 ; ---------------------------------
000E 81 _fs_new_inode::
82 ;kernel/filesystem.c:22: return 0;
000E 21 00 00 [10] 83 ld hl,#0x0000
0011 C9 [10] 84 ret
85 ;kernel/filesystem.c:25: int fs_free_inode(const inode_t *inode)
86 ; ---------------------------------
87 ; Function fs_free_inode
88 ; ---------------------------------
0012 89 _fs_free_inode::
90 ;kernel/filesystem.c:27: return 0;
0012 21 00 00 [10] 91 ld hl,#0x0000
0015 C9 [10] 92 ret
93 ;kernel/filesystem.c:30: void fs_chmod(inode_t *inode, uint8_t mode)
94 ; ---------------------------------
95 ; Function fs_chmod
96 ; ---------------------------------
0016 97 _fs_chmod::
98 ;kernel/filesystem.c:32: }
0016 C9 [10] 99 ret
100 ;kernel/filesystem.c:34: void fs_chown(inode_t *inode, uint8_t uid)
101 ; ---------------------------------
102 ; Function fs_chown
103 ; ---------------------------------
0017 104 _fs_chown::
105 ;kernel/filesystem.c:37: }
0017 C9 [10] 106 ret
107 ;kernel/filesystem.c:39: int fs_rename(inode_t *inode, const char *name)
108 ; ---------------------------------
109 ; Function fs_rename
110 ; ---------------------------------
0018 111 _fs_rename::
112 ;kernel/filesystem.c:41: return 0;
0018 21 00 00 [10] 113 ld hl,#0x0000
001B C9 [10] 114 ret
115 .area _CODE
116 .area _INITIALIZER
117 .area _CABS (ABS)
|