source: trunk/packages/xen-3.1/xen-3.1/xen/arch/powerpc/audit.c @ 34

Last change on this file since 34 was 34, checked in by hartmans, 18 years ago

Add xen and xen-common

File size: 1.3 KB
Line 
1/*
2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; either version 2 of the License, or
5 * (at your option) any later version.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10 * GNU General Public License for more details.
11 *
12 * You should have received a copy of the GNU General Public License
13 * along with this program; if not, write to the Free Software
14 * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
15 *
16 * Copyright (C) IBM Corp. 2005
17 *
18 * Authors: Hollis Blanchard <hollisb@us.ibm.com>
19 */
20
21#ifndef NDEBUG
22#include <xen/lib.h>
23#include <xen/sched.h>
24
25extern void audit_domain(struct domain *d);
26extern void audit_domains(void);
27extern void audit_domains_key(unsigned char key);
28
29void audit_domain(struct domain *d)
30{
31    panic("%s unimplemented\n", __func__);
32}
33
34void audit_domains(void)
35{
36    struct domain *d;
37    rcu_read_lock(&domlist_read_lock);
38    for_each_domain ( d )
39        audit_domain(d);
40    rcu_read_unlock(&domlist_read_lock);
41}
42
43void audit_domains_key(unsigned char key)
44{
45    audit_domains();
46}
47#endif
Note: See TracBrowser for help on using the repository browser.