[ros-kernel] Re: [ros-cvs] CVS Update:
reactos- Supportof Matroxdisplay card
Waldo Alvarez Cañizares
wac at lab.matcom.uh.cu
Mon Mar 8 13:12:53 CET 2004
Hi David:
hope you are David with a different e-mail -> welch at boltblue.com
________________________________
From: ros-kernel-bounces at reactos.com on behalf of welch at boltblue.com
Sent: Mon 3/8/2004 12:40 PM
To: ReactOS Kernel List
Subject: RE: [ros-kernel] Re: [ros-cvs] CVS Update: reactos- Supportof Matroxdisplay card
Quoting Waldo Alvarez Cañizares <wac at lab.matcom.uh.cu>:
>
> Is the value in eax preserved? I think it is showing the value in cr2
> instead of the value that should print for eax. With that exception.
>
> The page fault was not a problem in ROS was a mistake I did writing some
> code. While I was trying to find out what I was doing wrong I needed to
> know the value in eax at the time of the fault but noticed that it was
> the same as cr2 (was a value that was quite improvable to get in eax for
> the code I was analyzing) And when I saw your report I noticed values in
> eax and cr2 are the same too. So maybe this is a little bug in ROS but
> very annoying.
>
Eax is saved in KiTrapProlog so saving of cr2 shouldn't affect it.
In ke\i386\trap.s if I can remember well :)
Are you sure the program wasn't doing a memory access using eax as an offset?
yes it was:
cmp 0x0, (%eax)
That is what it should print? The same value of cr2?
If it is, how do I get the value of that address stored in eax?
Thaks in advance
Waldo Alvarez
--------------------------------------------------------------
Sent with "Me-Mail", Boltblue's FREE mobile messaging service.
http://www.boltblue.com
_______________________________________________
Ros-kernel mailing list
Ros-kernel at reactos.com
http://reactos.com/mailman/listinfo/ros-kernel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 5257 bytes
Desc: not available
Url : http://reactos.com:8080/pipermail/ros-kernel/attachments/20040308/fc8eaf76/attachment-0001.bin
More information about the Ros-kernel
mailing list