diff options
-rw-r--r-- | sys/alpha/include/cpufunc.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/alpha/include/cpufunc.h b/sys/alpha/include/cpufunc.h index 960b2b4..bc4ffe3 100644 --- a/sys/alpha/include/cpufunc.h +++ b/sys/alpha/include/cpufunc.h @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: cpufunc.h,v 1.1 1998/06/10 10:54:51 dfr Exp $ + * $Id: cpufunc.h,v 1.2 1998/07/22 08:25:39 dfr Exp $ */ #ifndef _MACHINE_CPUFUNC_H_ @@ -34,6 +34,16 @@ #include <sys/types.h> #include <machine/chipset.h> +#ifdef __GNUC__ + +static __inline void +breakpoint(void) +{ + __asm __volatile("call_pal 0x81"); /* XXX bugchk */ +} + +#endif + #define inb(port) chipset.inb(port) #define inw(port) chipset.inw(port) #define inl(port) chipset.inl(port) |