Diff for /freem/src/shmmgr.h between versions 1.6 and 1.7

version 1.6, 2025/05/09 19:44:50 version 1.7, 2025/05/15 04:14:20
Line 24 Line 24
  *   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.   *   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.
  *   *
  *   $Log$   *   $Log$
    *   Revision 1.7  2025/05/15 04:14:20  snw
    *   Remove old SEMK_ macros since ftok is now used throughout to determine semaphore keys
    *
  *   Revision 1.6  2025/05/09 19:44:50  snw   *   Revision 1.6  2025/05/09 19:44:50  snw
  *   Begin shm rework   *   Begin shm rework
  *   *
Line 68 Line 71
 #define SHMS_GET_ERR 0  #define SHMS_GET_ERR 0
 #define SHMS_ATTACH_ERR -1  #define SHMS_ATTACH_ERR -1
   
 #define SEMK_SHM 0xBBDD21  
 #define SEMK_LOCKTAB 0xBBDD22  
 #define SEMK_JOBTAB 0xBBDD23  
 #define SEMK_TP 0xBBDD24  
   
 #define SHMALIGN(a) (void *) (((unsigned long) a + sysconf (_SC_PAGESIZE)) & ~(sysconf (_SC_PAGESIZE) - 1))  #define SHMALIGN(a) (void *) (((unsigned long) a + sysconf (_SC_PAGESIZE)) & ~(sysconf (_SC_PAGESIZE) - 1))
   
 /* The following macros were borrowed from Reference Standard M  /* The following macros were borrowed from Reference Standard M

Removed from v.1.6  
changed lines
  Added in v.1.7


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>