summaryrefslogtreecommitdiff
path: root/arch/arm/plat-omap/include/syslink/_sysmgr.h
blob: 58fbdd378155988f88c5f580ba5859788db43bbc (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
 *  _sysmgr.h
 *
 *  Defines for system manager functions
 *
 *  Copyright (C) 2009 Texas Instruments, Inc.
 *
 *  This package is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License version 2 as
 *  published by the Free Software Foundation.
 *
 *  THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
 *  IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
 *  WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
 *  PURPOSE.
 */

#ifndef __SYSMGR_H_
#define __SYSMGR_H_

/* Structure to retrieve the scalability proc info from the slave */
struct sysmgr_proc_config {
	u32 proc_id;
	u32 use_notify;
	u32 use_messageq;
	u32 use_heapbuf;
	u32 use_frameq;
	u32 use_ringio;
	u32 use_listmp;
	u32 use_nameserver;
	u32 boot_mode;
};

/* Function to set the boot load page address for a slave */
void sysmgr_set_boot_load_page(u16 proc_id, u32 boot_load_page);

/* Function to get configuration values for a host object(component/instance) */
u32 sysmgr_get_object_config(u16 proc_id, void *config, u32 cmd_id, u32 size);

/* Function to put configuration values for a slave object(component/instance)*/
u32 sysmgr_put_object_config(u16 proc_id, void *config, u32 cmd_id, u32 size);

/* Function to wait for scalability handshake value. */
void sysmgr_wait_for_scalability_info(u16 proc_id);

/* Function to wait for slave to complete setup */
void sysmgr_wait_for_slave_setup(u16 proc_id);


#endif /* ifndef __SYSMGR_H_ */