Subversion Repositories HelenOS-historic

Rev

Rev 1070 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1070 Rev 1702
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
-
 
29
 /** @addtogroup generic   
-
 
30
 * @{
-
 
31
 */
-
 
32
/** @file
-
 
33
 */
-
 
34
 
29
#ifndef __MACROS_H__
35
#ifndef __MACROS_H__
30
#define __MACROS_H__
36
#define __MACROS_H__
31
 
37
 
32
#define is_digit(d) (((d) >= '0') && ((d)<='9'))
38
#define is_digit(d) (((d) >= '0') && ((d)<='9'))
33
#define is_lower(c) (((c) >= 'a') && ((c) <= 'z'))
39
#define is_lower(c) (((c) >= 'a') && ((c) <= 'z'))
Line 49... Line 55...
49
}
55
}
50
/* Compute overlapping of physical addresses */
56
/* Compute overlapping of physical addresses */
51
#define PA_overlaps(x,szx,y,szy)  overlaps(KA2PA(x),szx,KA2PA(y), szy)
57
#define PA_overlaps(x,szx,y,szy)  overlaps(KA2PA(x),szx,KA2PA(y), szy)
52
 
58
 
53
#endif
59
#endif
-
 
60
 
-
 
61
 /** @}
-
 
62
 */
-
 
63