|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Author |
Message |
losethos
Joined: Fri Aug 20, 2010 10:04 pm Posts: 41
|
OSDev fix
This guy's problem http://forum.osdev.org/viewtopic.php?f=1&t=23100His problem is that displacement addressing in long mode is RIP relative. That means, his 0x1002 needs to be relative to the RIP. If he wants to do a far jump, move a 64-bit immediate into RAX and CALL RAX.
|
Fri Feb 04, 2011 2:21 pm |
|
|
Kieran
Site Admin
Joined: Sat Jul 25, 2009 7:44 am Posts: 274 Location: United Kingdom
|
Re: OSDev fix
Please, I see you have a problem with the people over at OSDev.org, but you could at least answer a question posted on the OSDev forums in that forum...
Please don't make me tell you again, this forum is not the place for such childish behavior.
_________________ Thank you for reading,
Kieran C G Foot
|
Fri Feb 04, 2011 3:33 pm |
|
|
losethos
Joined: Fri Aug 20, 2010 10:04 pm Posts: 41
|
Re: OSDev fix
They banned me and I can't bear not to answer.
Come-on this site is dead. You need me.
By the way, I'll explain what I do in regards to higher half kernels. There is no distinction between kernel or user -- all is ring 0.
I put all code in the lowest 2 Gig, so 32-bit relative addressing works. I could make my compiler MOV RAX,<64-bit immediate> then CALL RAX, but I prefer keeping all code in the lowest 2 Gig.
|
Fri Feb 04, 2011 4:03 pm |
|
|
Kieran
Site Admin
Joined: Sat Jul 25, 2009 7:44 am Posts: 274 Location: United Kingdom
|
Re: OSDev fix
I'm guessing it was a deserved ban...
Just stop with the insults please, as I said this is not the appropriate place to take out your anger on OSDev.org
_________________ Thank you for reading,
Kieran C G Foot
|
Fri Feb 04, 2011 4:23 pm |
|
|
brenden
Site Admin
Joined: Fri Jul 24, 2009 10:02 pm Posts: 247 Location: Las Vegas, NV, US
|
Re: OSDev fix
LOL. Losethos, you are an interesting character. Seems you really take pride in your OS project. I will say I appreciate you contributing to our community. You seem to have a great amount of experience to share. You're welcome here anytime
|
Mon Mar 07, 2011 5:05 am |
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|