blob: 6604156ccf409c3650ac56bf3d3d824a859e947b (
plain)
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
|
/****************************************************************
* acm_dom0_setup.h
*
* Copyright (C) 2005 IBM Corporation
*
* Author:
* Reiner Sailer <sailer@watson.ibm.com>
*
* Includes necessary definitions to bring-up dom0
*/
#include <acm/acm_hooks.h>
extern int acm_init(void);
#if (ACM_USE_SECURITY_POLICY == ACM_NULL_POLICY)
static inline void acm_post_domain0_create(domid_t domid)
{
return;
}
#else
/* predefined ssidref for DOM0 used by xen when creating DOM0 */
#define ACM_DOM0_SSIDREF 0
static inline void acm_post_domain0_create(domid_t domid)
{
/* initialialize shared sHype security labels for new domain */
acm_init_domain_ssid(domid, ACM_DOM0_SSIDREF);
acm_post_domain_create(domid, ACM_DOM0_SSIDREF);
}
#endif
|