Skip to content
This repository was archived by the owner on Nov 21, 2017. It is now read-only.
This repository was archived by the owner on Nov 21, 2017. It is now read-only.

tried to add elf format support but failed to run any app #122

Description

@fcnn

I tried to compile the kernel to elf64 format and the kernel start and run, but it failed to run any app. The testing app code:

mem_app:
mov rax, 0x0000c300001234b8 ; machine code for: mov rax 0x1234 + ret
mov rdi, 0x0000000000200000
stosq
call 0x0000000000200000
ret

It is okay to call mem_app in the boot loader, but it hang up if I call mem_all right at the begin of kernel_start. any idea what's going wrong?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions