create_proc_info_entry seems to have gone away and I'm having a hard
time finding what to use instead. I found create_proc_read_entry in
proc_fs.h, and that actually puts my entry in /proc but I get no
output from it like I did when I was using create_proc_info_entry
previously. I'm trying with 2
Hi..
On Wed, Jun 4, 2008 at 8:34 PM, Michal <[EMAIL PROTECTED]> wrote:
> "Frédéric Weisbecker" <[EMAIL PROTECTED]> writes:
>
>> You mean how to get your own kernel's task eip?
> No, I mean other process, not current one. I realize that eip changes,
> but my process gets stuck somewhere in the kern
Hello,
I am writing small code that boots, jumps to 32bit protected mode (no-paging
enabled) --> 64bit mode (pml4 paging) --> perform some 64bit test --> jump
back to 32bit protected mode (no-paging enabled).
I got successful getting into 64bit mode and I'm trying to switch out of it
to 32bit pro
"Frédéric Weisbecker" <[EMAIL PROTECTED]> writes:
> You mean how to get your own kernel's task eip?
No, I mean other process, not current one. I realize that eip changes,
but my process gets stuck somewhere in the kernel for a longer while
and I would like to know where:)?
best regards,
Michal
-
call next
next:
popl %eax
from
2008/6/4 Frédéric Weisbecker <[EMAIL PROTECTED]>:
> Oops, I meaned: eip can't be accessed directly. You have to use call.
>
> 2008/6/4 Frédéric Weisbecker <[EMAIL PROTECTED]>:
>
> Hello,
>>
>> You mean how to get your own kernel's task eip?
>> It's like
Oops, I meaned: eip can't be accessed directly. You have to use call.
2008/6/4 Frédéric Weisbecker <[EMAIL PROTECTED]>:
> Hello,
>
> You mean how to get your own kernel's task eip?
> It's like in userspace, you can directly access eip but the opcode "call"
> pushes eip on the stack so eip can be
> Hallo Group Members
>
> Is it possible?
>
You can write inline assembly to get that. Although, I'm sure you
realize that it will have changed by the time you get to use it. :-)
Thanks,
Rajat
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTE
Hello,
You mean how to get your own kernel's task eip?
It's like in userspace, you can directly access eip but the opcode "call"
pushes eip on the stack so eip can be accessed with this kind of code:
get_eip:
mov (%esp), %eax
ret
call get_eip
//some code <--- eip of this line will be on
Hallo Group Members
Is it possible?
best regards,
Michal
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ