qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Detecting a kernel stack change


From: Nuri Eady
Subject: [Qemu-devel] Detecting a kernel stack change
Date: Fri, 04 May 2007 23:52:08 -0500
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)

I'd like to detect when the kernel stack changes and it seems to me that
might be possible by looking at when the tss structure is accessed and
the esp element is changed. Linux uses a command something like the
following to update the esp in the tss during a task switch...

init_tss[smp_processor_id( )].esp0 = next->thread.esp0;

Is it possible to detect when this happens in qemu? Maybe in the
protected_interrupt helper function?

Thanks,
Nuri




reply via email to

[Prev in Thread] Current Thread [Next in Thread]