mach4.srv 1.4 KB

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright (c) 1994 The University of Utah and
  3. * the Computer Systems Laboratory (CSL). All rights reserved.
  4. *
  5. * Permission to use, copy, modify and distribute this software is hereby
  6. * granted provided that (1) source code retains these copyright, permission,
  7. * and disclaimer notices, and (2) redistributions including binaries
  8. * reproduce the notices in supporting documentation, and (3) all advertising
  9. * materials mentioning features or use of this software display the following
  10. * acknowledgement: ``This product includes software developed by the
  11. * Computer Systems Laboratory at the University of Utah.''
  12. *
  13. * THE UNIVERSITY OF UTAH AND CSL ALLOW FREE USE OF THIS SOFTWARE IN ITS "AS
  14. * IS" CONDITION. THE UNIVERSITY OF UTAH AND CSL DISCLAIM ANY LIABILITY OF
  15. * ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
  16. *
  17. * CSL requests users of this software to return to csl-dist@cs.utah.edu any
  18. * improvements that they make and grant CSL redistribution rights.
  19. *
  20. * Author: Bryan Ford, University of Utah CSL
  21. */
  22. /* This is a server presentation file. */
  23. #define KERNEL_SERVER 1
  24. #ifdef MIGRATING_THREADS
  25. #define thread_enable_pc_sampling act_enable_pc_sampling
  26. #define thread_disable_pc_sampling act_disable_pc_sampling
  27. #define thread_get_sampled_pcs act_get_sampled_pcs
  28. #endif /* MIGRATING_THREADS */
  29. #include <mach/mach4.defs>