From: Philip Homburg Date: Fri, 23 Jun 2006 15:32:24 +0000 (+0000) Subject: get_sys_bits X-Git-Tag: v3.1.3~291 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/doc/processing.js?a=commitdiff_plain;h=add4be444fd5f5187aa2eb62a8c0664c45938027;p=minix.git get_sys_bits --- diff --git a/kernel/const.h b/kernel/const.h index af4b7c95d..109dc2814 100755 --- a/kernel/const.h +++ b/kernel/const.h @@ -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) \