diff options
author | Marvin Borner | 2020-03-27 15:45:25 +0100 |
---|---|---|
committer | Marvin Borner | 2020-03-27 15:45:25 +0100 |
commit | e5559ad7a555b6f579bda0c6007d61d7a03ae2b9 (patch) | |
tree | de3ad6fee2c527ecacc109d0104c8803d4447221 /src/kernel/fs | |
parent | cbf21c7f3cced00bd810f102cfa0581cf9b8c402 (diff) |
Added and applied tidy command
Diffstat (limited to 'src/kernel/fs')
-rw-r--r-- | src/kernel/fs/ata_pio.c | 2 | ||||
-rw-r--r-- | src/kernel/fs/ata_pio.h | 2 | ||||
-rw-r--r-- | src/kernel/fs/atapi_pio.h | 2 | ||||
-rw-r--r-- | src/kernel/fs/elf.h | 2 | ||||
-rw-r--r-- | src/kernel/fs/elfloader.c | 2 | ||||
-rw-r--r-- | src/kernel/fs/install.c | 2 | ||||
-rw-r--r-- | src/kernel/fs/install.h | 2 | ||||
-rw-r--r-- | src/kernel/fs/iso9660/iso9660.h | 2 | ||||
-rw-r--r-- | src/kernel/fs/load.c | 2 | ||||
-rw-r--r-- | src/kernel/fs/load.h | 2 | ||||
-rw-r--r-- | src/kernel/fs/marfs/directory.c | 2 | ||||
-rw-r--r-- | src/kernel/fs/marfs/disklevel.c | 2 | ||||
-rw-r--r-- | src/kernel/fs/marfs/marfs.h | 2 | ||||
-rw-r--r-- | src/kernel/fs/vfs.c | 2 | ||||
-rw-r--r-- | src/kernel/fs/vfs.h | 2 |
15 files changed, 15 insertions, 15 deletions
diff --git a/src/kernel/fs/ata_pio.c b/src/kernel/fs/ata_pio.c index 1786e66..0bd64a5 100644 --- a/src/kernel/fs/ata_pio.c +++ b/src/kernel/fs/ata_pio.c @@ -139,4 +139,4 @@ uint8_t ata_clear28(struct ata_interface *interface, uint32_t sector) { uint8_t empty_sector[512] = { 0 }; return ata_write28(interface, sector, empty_sector); -} +}
\ No newline at end of file diff --git a/src/kernel/fs/ata_pio.h b/src/kernel/fs/ata_pio.h index bb62805..7fd45e2 100644 --- a/src/kernel/fs/ata_pio.h +++ b/src/kernel/fs/ata_pio.h @@ -28,4 +28,4 @@ uint8_t ata_write28(struct ata_interface *interface, uint32_t sector, const uint uint8_t ata_clear28(struct ata_interface *interface, uint32_t sector); -#endif +#endif
\ No newline at end of file diff --git a/src/kernel/fs/atapi_pio.h b/src/kernel/fs/atapi_pio.h index b7ddee8..1897d53 100644 --- a/src/kernel/fs/atapi_pio.h +++ b/src/kernel/fs/atapi_pio.h @@ -23,4 +23,4 @@ void ATAPI_read(uint16_t nblocks, uint32_t lba); void ATAPI_granular_read(uint32_t nblocks, uint32_t lba, uint8_t *output); -#endif +#endif
\ No newline at end of file diff --git a/src/kernel/fs/elf.h b/src/kernel/fs/elf.h index 5088962..ea8493b 100644 --- a/src/kernel/fs/elf.h +++ b/src/kernel/fs/elf.h @@ -50,4 +50,4 @@ typedef struct { void elf_init(); -#endif +#endif
\ No newline at end of file diff --git a/src/kernel/fs/elfloader.c b/src/kernel/fs/elfloader.c index 118a882..fa537f6 100644 --- a/src/kernel/fs/elfloader.c +++ b/src/kernel/fs/elfloader.c @@ -58,4 +58,4 @@ void elf_init() elfloader->probe = (void *)elf_probe; elfloader->start = (void *)elf_start; register_loader(elfloader); -} +}
\ No newline at end of file diff --git a/src/kernel/fs/install.c b/src/kernel/fs/install.c index b4f5275..d8ac121 100644 --- a/src/kernel/fs/install.c +++ b/src/kernel/fs/install.c @@ -91,4 +91,4 @@ void install_melvix() // timer_wait(200); acpi_poweroff(); halt_loop(); -} +}
\ No newline at end of file diff --git a/src/kernel/fs/install.h b/src/kernel/fs/install.h index 8475297..6e3ec7a 100644 --- a/src/kernel/fs/install.h +++ b/src/kernel/fs/install.h @@ -3,4 +3,4 @@ void install_melvix(); -#endif +#endif
\ No newline at end of file diff --git a/src/kernel/fs/iso9660/iso9660.h b/src/kernel/fs/iso9660/iso9660.h index 9ba9cfa..6b2e0b0 100644 --- a/src/kernel/fs/iso9660/iso9660.h +++ b/src/kernel/fs/iso9660/iso9660.h @@ -19,4 +19,4 @@ struct iso9660_entity *ISO9660_get(char **dirs, uint8_t dirs_sz); uint8_t *ISO9660_read(struct iso9660_entity *entity); -#endif +#endif
\ No newline at end of file diff --git a/src/kernel/fs/load.c b/src/kernel/fs/load.c index 9eaa556..d6451c7 100644 --- a/src/kernel/fs/load.c +++ b/src/kernel/fs/load.c @@ -80,4 +80,4 @@ uint8_t exec_start(uint8_t *buf) } } return 0; -} +}
\ No newline at end of file diff --git a/src/kernel/fs/load.h b/src/kernel/fs/load.h index 468501c..0343092 100644 --- a/src/kernel/fs/load.h +++ b/src/kernel/fs/load.h @@ -32,4 +32,4 @@ uint8_t exec_start(uint8_t *buf); uint32_t loader_get_unused_load_location(); -#endif +#endif
\ No newline at end of file diff --git a/src/kernel/fs/marfs/directory.c b/src/kernel/fs/marfs/directory.c index f4a5b04..099746a 100644 --- a/src/kernel/fs/marfs/directory.c +++ b/src/kernel/fs/marfs/directory.c @@ -60,4 +60,4 @@ void marfs_add_to_dir(uint32_t lba_inode, char *filename, uint32_t lba) inode->size = new_size; ata_write28(interface, lba_inode, (uint8_t *)inode); kfree(inode); -} +}
\ No newline at end of file diff --git a/src/kernel/fs/marfs/disklevel.c b/src/kernel/fs/marfs/disklevel.c index f814f80..7dc77ea 100644 --- a/src/kernel/fs/marfs/disklevel.c +++ b/src/kernel/fs/marfs/disklevel.c @@ -23,4 +23,4 @@ void marfs_format(void) // Initialize the chunks for (uint32_t i = 0; i < sb.n_chunks; i++) ata_clear28(interface, sb.s_first_chunk + i * 512); -} +}
\ No newline at end of file diff --git a/src/kernel/fs/marfs/marfs.h b/src/kernel/fs/marfs/marfs.h index f2dfa1c..12d036e 100644 --- a/src/kernel/fs/marfs/marfs.h +++ b/src/kernel/fs/marfs/marfs.h @@ -72,4 +72,4 @@ void marfs_read_whole_file(uint32_t lba_inode, uint8_t *buffer); uint8_t *marfs_allocate_and_read_whole_file(uint32_t lba_inode); -#endif +#endif
\ No newline at end of file diff --git a/src/kernel/fs/vfs.c b/src/kernel/fs/vfs.c index 9aeadf0..f97a69b 100644 --- a/src/kernel/fs/vfs.c +++ b/src/kernel/fs/vfs.c @@ -44,4 +44,4 @@ fs_node_t *finddir_fs(fs_node_t *node, char *name) return node->finddir(node, name); else return 0; -} +}
\ No newline at end of file diff --git a/src/kernel/fs/vfs.h b/src/kernel/fs/vfs.h index 80b854a..4c92185 100644 --- a/src/kernel/fs/vfs.h +++ b/src/kernel/fs/vfs.h @@ -62,4 +62,4 @@ struct dirent *readdir_fs(fs_node_t *node, uint32_t index); fs_node_t *finddir_fs(fs_node_t *node, char *name); -#endif +#endif
\ No newline at end of file |