feat: added not implemented function

This commit is contained in:
2021-10-07 19:29:49 +02:00
parent 03f0ec6f88
commit 6d898c07e8
3 changed files with 7 additions and 1 deletions

View File

@@ -21,6 +21,10 @@ void att_noreturn k_panics(const char *msg) {
k_panic();
}
void att_noreturn k_not_implemented() {
k_panics("Not Implemented");
}
void att_noreturn k_panic() {
kprint_sync("PANIC!");
while (1) {

View File

@@ -141,7 +141,7 @@ int ext2_get_block_from_inode(vfs_mount_t *mount, vfs_fd_t *fd, void *target, ui
}
return ext2_read_blocks(mount, bp, 1, target);
} else {
k_panics("Not implemented");
k_not_implemented();
}
}