Home | History | Annotate | Line # | Download | only in selftests
      1  1.1  riastrad /*	$NetBSD: igt_atomic.h,v 1.2 2021/12/18 23:45:31 riastradh Exp $	*/
      2  1.1  riastrad 
      3  1.1  riastrad /* SPDX-License-Identifier: MIT */
      4  1.1  riastrad /*
      5  1.1  riastrad  * Copyright  2018 Intel Corporation
      6  1.1  riastrad  */
      7  1.1  riastrad 
      8  1.1  riastrad #ifndef IGT_ATOMIC_H
      9  1.1  riastrad #define IGT_ATOMIC_H
     10  1.1  riastrad 
     11  1.1  riastrad struct igt_atomic_section {
     12  1.1  riastrad 	const char *name;
     13  1.1  riastrad 	void (*critical_section_begin)(void);
     14  1.1  riastrad 	void (*critical_section_end)(void);
     15  1.1  riastrad };
     16  1.1  riastrad 
     17  1.1  riastrad extern const struct igt_atomic_section igt_atomic_phases[];
     18  1.1  riastrad 
     19  1.1  riastrad #endif /* IGT_ATOMIC_H */
     20