aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/fs/elf.c
diff options
context:
space:
mode:
authorMarvin Borner2020-05-09 23:50:24 +0200
committerMarvin Borner2020-05-09 23:50:24 +0200
commitc5b0305b3a6e7e6ec6742b99ceb6a1a0b3c6e286 (patch)
tree173965f614435bb9740d05bbc365aba7b76d7e45 /src/kernel/fs/elf.c
parente350804dc78ab01aaca6aba33792a652535028d9 (diff)
Interrupt analysis - removed many useless cli/sti
Diffstat (limited to 'src/kernel/fs/elf.c')
-rw-r--r--src/kernel/fs/elf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/kernel/fs/elf.c b/src/kernel/fs/elf.c
index be1bc95..c89fd2e 100644
--- a/src/kernel/fs/elf.c
+++ b/src/kernel/fs/elf.c
@@ -25,7 +25,6 @@ int is_elf(struct elf_header *header)
struct process *elf_load(char *path)
{
- cli();
u8 *file = read_file(path);
if (!file) {
warn("File or directory not found: %s", path);
@@ -73,6 +72,5 @@ struct process *elf_load(char *path)
}
paging_switch_directory(paging_root_directory);
- sti();
return proc;
} \ No newline at end of file