- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can anyone tell me how to use the debug registers "DR0-DR3" in Intel(R) Pentium(R) 4 CPU 3.40GHz. I have written the code like this to use this registers like.
case (DR0) :
p_dr->L1 = 0x01;
p_dr->RW1 = 0x01;
p_dr->LEN1 = 0x03;
asm volatile ("pushl %ebx");
asm volatile ("movl %0, %%ebx" : : "r" (memory_addr));
asm volatile ("movl %ebx, %dr0 ");
asm volatile ("movl %0, %%ebx" : : "r" (p_dr));
asm volatile ("movl %ebx, %dr7 ");
asm volatile ("popl %ebx")
break;
But the device is crashed at the Bolded text.. That means, unable to get the register. Whether the above registers used in Intel xeon. I unable to get the product manual for this processor. I written this code by gone through the manual Intel pentium manual 3. Please attach the product manual if u have.
Thanks,
Kesavaraj
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page