File: gvnh_spanreg.h

package info (click to toggle)
fis-gtm 6.3-007-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 36,284 kB
  • sloc: ansic: 328,861; asm: 5,182; csh: 5,102; sh: 1,918; awk: 291; makefile: 69; sed: 13
file content (35 lines) | stat: -rw-r--r-- 1,383 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/****************************************************************
 *								*
 * Copyright (c) 2013-2018 Fidelity National Information	*
 * Services, Inc. and/or its subsidiaries. All rights reserved.	*
 *								*
 *	This source code contains the intellectual property	*
 *	of its copyright holder(s), and is made available	*
 *	under a license.  If you do not know the terms of	*
 *	the license, please stop and do not read further.	*
 *								*
 ****************************************************************/

#ifndef GVNH_SPANREG_INCLUDED
#define GVNH_SPANREG_INCLUDED

#include "view.h"	/* needed for "viewparm" */

#define	ADD_GVT_TO_VIEW_NOISOLATION_LIST(GVT, PARMBLK)					\
{											\
	noisolation_element	*gvnh_entry;						\
											\
	GBLREF	buddy_list	*noisolation_buddy_list;				\
											\
	assert(NULL != noisolation_buddy_list);						\
	gvnh_entry = (noisolation_element *)get_new_element(noisolation_buddy_list, 1);	\
	gvnh_entry->gvnh = GVT;								\
	gvnh_entry->next = PARMBLK->ni_list.gvnh_list;					\
	PARMBLK->ni_list.gvnh_list = gvnh_entry;					\
}

void gvnh_spanreg_init(gvnh_reg_t *gvnh_reg, gd_addr *addr, gd_binding *gvmap_start);
void gvnh_spanreg_subs_gvt_init(gvnh_reg_t *gvnh_reg, gd_addr *addr, viewparm *parmblk);
boolean_t gvnh_spanreg_ismapped(gvnh_reg_t *gvnh_reg, gd_addr *addr, gd_region *reg);

#endif /* GVNH_SPANREG_INCLUDED */