lkml.org 
[lkml]   [2006]   [Jul]   [23]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromOndrej Zary <>
SubjectRe: Debugging APM - cat /proc/apm produces oops
DateSun, 23 Jul 2006 16:41:33 +0200
On Sunday 23 July 2006 16:30, Ondrej Zary wrote:
> I've tried calling the APM 0x530A function from DOS (real mode, int 15h)
> and single-stepping the BIOS APM code (using good old user-friendly Turbo
> Debugger). Noticed some OUTs to 0xB1 (or something like that), then some
> PCI accesses (0xCF8 and 0xCFC) and then IP ended in area of all zeros. When
> I step over the int 15h call, it works fine - returns correct info.

Sorry, this was my bad. It works fine even when single stepping. I've made a 
mistake and stepped over the ending int 20h instruction of my .com program...

I'm probably going to write down complete sequence of instructions which get 
executed during the call.

-- 
Ondrej Zary
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-23 16:45    [from the cache]
©2003-2008