summaryrefslogtreecommitdiffstats
path: root/sw/z80/build/kernel/filesystem.asm
diff options
context:
space:
mode:
authorleleraffa97@hotmail.it <leleraffa97@hotmail.it>2017-08-26 11:11:39 +0200
committerleleraffa97@hotmail.it <leleraffa97@hotmail.it>2017-08-26 11:11:39 +0200
commit1acc542400d15ddf32f44e3f1ddb82f9c9fe4aab (patch)
treefb439e84abdf86a1b6e9f7362ca4c3cdeef2bb8d /sw/z80/build/kernel/filesystem.asm
parentMerge remote-tracking branch 'origin/naopross' into atlas (diff)
downloadz80uPC-1acc542400d15ddf32f44e3f1ddb82f9c9fe4aab.tar.gz
z80uPC-1acc542400d15ddf32f44e3f1ddb82f9c9fe4aab.zip
File system initialization
Simple I/O (sio) interfaced, not yet implemented
Diffstat (limited to 'sw/z80/build/kernel/filesystem.asm')
-rw-r--r--sw/z80/build/kernel/filesystem.asm117
1 files changed, 117 insertions, 0 deletions
diff --git a/sw/z80/build/kernel/filesystem.asm b/sw/z80/build/kernel/filesystem.asm
new file mode 100644
index 0000000..f868b5a
--- /dev/null
+++ b/sw/z80/build/kernel/filesystem.asm
@@ -0,0 +1,117 @@
+;--------------------------------------------------------
+; File Created by SDCC : free open source ANSI-C Compiler
+; Version 3.5.0 #9253 (Mar 24 2016) (Linux)
+; This file was generated Wed Aug 23 21:44:59 2017
+;--------------------------------------------------------
+ .module filesystem
+ .optsdcc -mz80
+
+;--------------------------------------------------------
+; Public variables in this module
+;--------------------------------------------------------
+ .globl _fs_parse_superblock
+ .globl _fs_parse_path
+ .globl _fs_get_inode
+ .globl _fs_new_inode
+ .globl _fs_free_inode
+ .globl _fs_chmod
+ .globl _fs_chown
+ .globl _fs_rename
+;--------------------------------------------------------
+; special function registers
+;--------------------------------------------------------
+;--------------------------------------------------------
+; ram data
+;--------------------------------------------------------
+ .area _DATA
+;--------------------------------------------------------
+; ram data
+;--------------------------------------------------------
+ .area _INITIALIZED
+;--------------------------------------------------------
+; absolute external ram data
+;--------------------------------------------------------
+ .area _DABS (ABS)
+;--------------------------------------------------------
+; global & static initialisations
+;--------------------------------------------------------
+ .area _HOME
+ .area _GSINIT
+ .area _GSFINAL
+ .area _GSINIT
+;--------------------------------------------------------
+; Home
+;--------------------------------------------------------
+ .area _HOME
+ .area _HOME
+;--------------------------------------------------------
+; code
+;--------------------------------------------------------
+ .area _CODE
+;kernel/filesystem.c:3: struct filesystem * fs_parse_superblock(struct filesystem *fs)
+; ---------------------------------
+; Function fs_parse_superblock
+; ---------------------------------
+_fs_parse_superblock::
+;kernel/filesystem.c:5: return 0;
+ ld hl,#0x0000
+ ret
+;kernel/filesystem.c:9: uint16_t fs_parse_path(const char *path)
+; ---------------------------------
+; Function fs_parse_path
+; ---------------------------------
+_fs_parse_path::
+;kernel/filesystem.c:11: return 0;
+ ld hl,#0x0000
+ ld e,l
+ ld d,h
+ ret
+;kernel/filesystem.c:15: inode_t * fs_get_inode(inode_t *buffer, uint16_t i_number)
+; ---------------------------------
+; Function fs_get_inode
+; ---------------------------------
+_fs_get_inode::
+;kernel/filesystem.c:17: return 0;
+ ld hl,#0x0000
+ ret
+;kernel/filesystem.c:20: inode_t * fs_new_inode(inode_t *inode, const char *name)
+; ---------------------------------
+; Function fs_new_inode
+; ---------------------------------
+_fs_new_inode::
+;kernel/filesystem.c:22: return 0;
+ ld hl,#0x0000
+ ret
+;kernel/filesystem.c:25: int fs_free_inode(const inode_t *inode)
+; ---------------------------------
+; Function fs_free_inode
+; ---------------------------------
+_fs_free_inode::
+;kernel/filesystem.c:27: return 0;
+ ld hl,#0x0000
+ ret
+;kernel/filesystem.c:30: void fs_chmod(inode_t *inode, uint8_t mode)
+; ---------------------------------
+; Function fs_chmod
+; ---------------------------------
+_fs_chmod::
+;kernel/filesystem.c:32: }
+ ret
+;kernel/filesystem.c:34: void fs_chown(inode_t *inode, uint8_t uid)
+; ---------------------------------
+; Function fs_chown
+; ---------------------------------
+_fs_chown::
+;kernel/filesystem.c:37: }
+ ret
+;kernel/filesystem.c:39: int fs_rename(inode_t *inode, const char *name)
+; ---------------------------------
+; Function fs_rename
+; ---------------------------------
+_fs_rename::
+;kernel/filesystem.c:41: return 0;
+ ld hl,#0x0000
+ ret
+ .area _CODE
+ .area _INITIALIZER
+ .area _CABS (ABS)