Code Monkey home page Code Monkey logo

Comments (7)

LittleCodingFox avatar LittleCodingFox commented on May 24, 2024 1

This is solved now, so I'm closing it :)

from arvernos.

LittleCodingFox avatar LittleCodingFox commented on May 24, 2024
DEBUG src/core/elf.c:17:elf_load(): file header: machine=0x3e version=0x1 entry=00000000004000B0 header_size=64 ph_size=56 ph_num=2 ph_offset=64 sh_num=64 sh_num=9
DEBUG src/core/elf.c:27:elf_load(): program header: type=1 addr=0000000000400000
DEBUG src/core/elf.c:69:load_segment(): load segment at addr=0000000000400000 with flags=0x3
DEBUG src/core/elf.c:27:elf_load(): program header: type=1 addr=0000000000400000
DEBUG src/core/elf.c:69:load_segment(): load segment at addr=0000000000607360 with flags=0x3
DEBUG src/core/elf.c:38:elf_load(): elf entry is now at: 00000000004000B0
DEBUG src/core/isr.c:153:isr_handler(): Received interrupt: 6 - Invalid Opcode

  instruction_pointer = 00000000004000B9
  code_segment        = 8
  cpu_flags           = 0x246
  stack_pointer       = 0000000000115F90
  stack_segment       = 0

from arvernos.

willdurand avatar willdurand commented on May 24, 2024

Invalid Opcode is quite weird, I don't think I've seen it very often. I likely broke this binary, the ELF loader was not very stable IIRC.

from arvernos.

LittleCodingFox avatar LittleCodingFox commented on May 24, 2024

Partially solved by #29

from arvernos.

willdurand avatar willdurand commented on May 24, 2024

I just tried and I get a page fault, huh. Edit: well, it is not stable at all :/

from arvernos.

LittleCodingFox avatar LittleCodingFox commented on May 24, 2024

Before or after my changes?

from arvernos.

willdurand avatar willdurand commented on May 24, 2024

Partially solved by #29

Looking now!

from arvernos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.