]> Zhao Yanbai Git Server - minix.git/commitdiff
get_sys_bits
authorPhilip Homburg <philip@cs.vu.nl>
Fri, 23 Jun 2006 15:32:24 +0000 (15:32 +0000)
committerPhilip Homburg <philip@cs.vu.nl>
Fri, 23 Jun 2006 15:32:24 +0000 (15:32 +0000)
kernel/const.h

index af4b7c95d1448a036fe775384dd34cec122fa9da..109dc28148d4c143a52ab634209b63cc4db4d1ed 100755 (executable)
@@ -38,6 +38,8 @@
 
 #define get_sys_bit(map,bit) \
        ( MAP_CHUNK(map.chunk,bit) & (1 << CHUNK_OFFSET(bit) )
+#define get_sys_bits(map,bit) \
+       ( MAP_CHUNK(map.chunk,bit) )
 #define set_sys_bit(map,bit) \
        ( MAP_CHUNK(map.chunk,bit) |= (1 << CHUNK_OFFSET(bit) )
 #define unset_sys_bit(map,bit) \