|
|
1.1 ! root 1: /* Copyright (C) 2016 Free Software Foundation, Inc. ! 2: Contributed by Agustina Arzille <[email protected]>, 2016. ! 3: ! 4: This program is free software; you can redistribute it and/or ! 5: modify it under the terms of the GNU General Public License ! 6: as published by the Free Software Foundation; either ! 7: version 3 of the license, or (at your option) any later version. ! 8: ! 9: This program is distributed in the hope that it will be useful, ! 10: but WITHOUT ANY WARRANTY; without even the implied warranty of ! 11: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! 12: GNU General Public License for more details. ! 13: ! 14: You should have received a copy of the GNU General Public ! 15: License along with this program; if not, see ! 16: <http://www.gnu.org/licenses/>. ! 17: */ ! 18: ! 19: #ifndef _KERN_GSYNC_H_ ! 20: #define _KERN_GSYNC_H_ 1 ! 21: ! 22: #define GSYNC_SHARED 0x01 ! 23: #define GSYNC_QUAD 0x02 ! 24: #define GSYNC_TIMED 0x04 ! 25: #define GSYNC_BROADCAST 0x08 ! 26: #define GSYNC_MUTATE 0x10 ! 27: ! 28: #include <mach/mach_types.h> ! 29: ! 30: void gsync_setup (void); ! 31: ! 32: kern_return_t gsync_wait (task_t task, vm_offset_t addr, ! 33: unsigned int lo, unsigned int hi, natural_t msec, int flags); ! 34: ! 35: kern_return_t gsync_wake (task_t task, ! 36: vm_offset_t addr, unsigned int val, int flags); ! 37: ! 38: kern_return_t gsync_requeue (task_t task, vm_offset_t src_addr, ! 39: vm_offset_t dst_addr, boolean_t wake_one, int flags); ! 40: ! 41: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.