Deleted Added
full compact
sysv_shm.c (8876) sysv_shm.c (9759)
1/* $Id: sysv_shm.c,v 1.4 1995/02/20 22:23:13 davidg Exp $ */
1/* $Id: sysv_shm.c,v 1.5 1995/05/30 08:06:04 rgrimes Exp $ */
2/* $NetBSD: sysv_shm.c,v 1.23 1994/07/04 23:25:12 glass Exp $ */
3
4/*
5 * Copyright (c) 1994 Adam Glass and Charles Hannum. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:

--- 57 unchanged lines hidden (view full) ---

67
68#define SHMSEG_FREE 0x0200
69#define SHMSEG_REMOVED 0x0400
70#define SHMSEG_ALLOCATED 0x0800
71#define SHMSEG_WANTED 0x1000
72
73vm_map_t sysvshm_map;
74int shm_last_free, shm_nused, shm_committed;
2/* $NetBSD: sysv_shm.c,v 1.23 1994/07/04 23:25:12 glass Exp $ */
3
4/*
5 * Copyright (c) 1994 Adam Glass and Charles Hannum. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:

--- 57 unchanged lines hidden (view full) ---

67
68#define SHMSEG_FREE 0x0200
69#define SHMSEG_REMOVED 0x0400
70#define SHMSEG_ALLOCATED 0x0800
71#define SHMSEG_WANTED 0x1000
72
73vm_map_t sysvshm_map;
74int shm_last_free, shm_nused, shm_committed;
75struct shmid_ds *shmsegs;
75
76struct shm_handle {
77 vm_offset_t kva;
78};
79
80struct shmmap_state {
81 vm_offset_t va;
82 int shmid;

--- 501 unchanged lines hidden ---
76
77struct shm_handle {
78 vm_offset_t kva;
79};
80
81struct shmmap_state {
82 vm_offset_t va;
83 int shmid;

--- 501 unchanged lines hidden ---