doc/manual/en/html/node87.html
author nico
Wed, 06 Jun 2007 09:11:29 +0200
changeset 211 2a4c2ca03555
parent 210 6b5a4c21e061
child 215 f49e5a6b7804
permissions -rw-r--r--
Manual and Documentation finish
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<!--Converted with LaTeX2HTML 2002-2-1 (1.71)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>Code for GCC</TITLE>
<META NAME="description" CONTENT="Code for GCC">
<META NAME="keywords" CONTENT="manual">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="manual.css">

<LINK REL="next" HREF="node88.html">
<LINK REL="previous" HREF="node86.html">
<LINK REL="up" HREF="node86.html">
<LINK REL="next" HREF="node88.html">
</HEAD>

<BODY >

<DIV CLASS="navigation"><!--Navigation Panel-->
<A NAME="tex2html1307"
  HREF="node88.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="/usr/share/latex2html/icons/next.png"></A> 
<A NAME="tex2html1303"
  HREF="node86.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="/usr/share/latex2html/icons/up.png"></A> 
<A NAME="tex2html1297"
  HREF="node86.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="/usr/share/latex2html/icons/prev.png"></A> 
<A NAME="tex2html1305"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 SRC="/usr/share/latex2html/icons/contents.png"></A>  
<BR>
<B> Next:</B> <A NAME="tex2html1308"
  HREF="node88.html">Code for CodeWarrior</A>
<B> Up:</B> <A NAME="tex2html1304"
  HREF="node86.html">Interrupt lock, unlock</A>
<B> Previous:</B> <A NAME="tex2html1298"
  HREF="node86.html">Interrupt lock, unlock</A>
 &nbsp; <B>  <A NAME="tex2html1306"
  HREF="node1.html">Contents</A></B> 
<BR>
<BR></DIV>
<!--End of Navigation Panel-->

<H5><A NAME="SECTION000114221000000000000">
Code for GCC</A>
</H5>
<TT> void unlock (void)
<BR>
 {
<BR>
  
<BR>
__asm__
__volatile__(cli);
<BR>
 }
<BR>
void lock (void)
<BR>
 {
<BR>
short mask;
<BR>
  
<BR>
__asm__
__volatile__(tpa&#92;n&#92;tsei:=d(mask));
<BR>
 }</TT>

<P>
<BR><HR>
<ADDRESS>
epimerde
2007-06-06
</ADDRESS>
</BODY>
</HTML>