KDB_ENTER & interrupt level

slurn at verisign.com slurn at verisign.com
Thu Feb 28 10:59:00 PST 2002


> 
> There's a comment in asm-i386/kdb.h regarding KDB_ENTER that says:
> 
> "If it is intended to be used from interrupt level, it must
> use a non-maskable entry method."

This is because if KDB_ENTER is implemented using a mechanism
that can be masked by interrupt-level code, the KDB_ENTER would
be ignored during interrupt processing. 

> 
> Is that describing a kernel developer's view of using KDB_ENTER, or
> is this describing how someone should implement it for other
> architectures?

Porting. 

> In other words, if I want to call KDB_ENTER from an arbitrary kernel
> module at interrupt level, do I need to take special precautions? Or
> was the comment aimed at people porting KDB to other architectures?

Correct, it is aimed at people porting KDB to other architectures.

scott
> 
> Thanks,
> --Steve
> 
> Software Technologies Group, Inc.
> http://www.stg.com
> 




More information about the kdb mailing list