~samhsmith/AstraOS

64c99f249a42d550a74fbe203424652e1c0f2f69 — Sam H Smith 2 years ago 987e3ca
removed process's access to the uart
1 files changed, 0 insertions(+), 2 deletions(-)

M src/elf.c
M src/elf.c => src/elf.c +0 -2
@@ 147,8 147,6 @@ u64 create_process_from_file(u64 file_id, u64* pid_ret, u64* parents, u64 parent
        *(frame-2) = 0;
    }

    mmu_kernel_map_range(process->mmu_table, 0x10000000, 0x10000000, 2 + 4); // UART

    process->threads[thread1].program_counter = header->entry_addr;

    *pid_ret = pid;