Hello,
I am working on a char device driver for which I've implemented bunch of
IOCTL commands. It works great under 32bit architecture. It compiles great
against 64bit architecture and loads into the kernel without any problems
but when I run the (user) program that makes use of those IOCTLs it g
size prefix"
in front of "retf" ("o64 retf" in NASM) and it worked fine.
Thanks guys,
/tejas
On Wed, Jun 4, 2008 at 6:34 PM, tejas khatiwala <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am writing small code that boots, jumps to 32bit protected mode
>
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
On Sun, May 25, 2008 at 9:41 AM, Peter Teoh <[EMAIL PROTECTED]> wrote:
> I saw this:
>
> http://www.osdev.org/phpBB2/viewtopic.php?t=11093
Yeah.. i already got that working the same day I posted my question. What is
there in this link is what linux does to make transition to long mode. (here
is
Hello,
I'm working on a 32-bit BIOS program for some embedded system with 64-bit
CPU and I'm trying to test 64-bit mode. The BIOS normally runs in 32-bit
mode. It, however, needs to performs some test for the 64-bit mode. So the
drill is to jump to Long mode, perform some test (for now, I just wan
Hello,
I'm working on a 32-bit BIOS program for some embedded system with 64-bit
CPU and I'm trying to test 64-bit mode. The BIOS normally runs in 32-bit
mode. It, however, needs to performs some test for the 64-bit mode. So the
drill is to jump to Long mode, perform some test (for now, I just wan
On Tue, May 6, 2008 at 6:17 PM, Peter Teoh <[EMAIL PROTECTED]> wrote:
>
>
> On Wed, May 7, 2008 at 5:20 AM, tejas khatiwala <[EMAIL PROTECTED]>
> wrote:
>
> >
> >
> > On Tue, May 6, 2008 at 7:34 AM, Peter Teoh <[EMAIL PROTECTED]>
> > wrote:
st
resort and I want to find out some way to be able to compile and link 32-bit
and 64-bit mode code together or be able to call 64-bit code (64 or 32-bit
ELF header) from 32-bit code (32-bit ELF header).
Please help me with this and correct me if I have some misunderstanding
about ELF headers.
Hello,
This is not exactly relevant to Linux kernel but I'm gonna ask any way.
Is there any way I can modify a 64-bit ELF object file to make it look like
32-bit ELF object file and link it (using `ld`) with 32-bit ELF file?
I tried libelf but was unsuccessful. I had this pretty link
http://peop
hi..
I've been trying to learn writing device drivers in linux.. I
read bunch of books including ldd3 (cover to cover), other OS books, bunch
of net-articles, some network device driver codes etc. I asked for help
earlier in this group for some sample manufacturer's specification so th
10 matches
Mail list logo