blob: d798a1741374916699a5a01ab36db8fea5c03e5e (
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
/****************************************************************************
* $IBMCopyrightBlock:
*
* IBM Confidential
*
* Licensed Internal Code Source Materials
*
* IBM HostBoot Licensed Internal Code
*
* (C) Copyright IBM Corp. 2011
*
* The source code for this program is not published or other-
* wise divested of its trade secrets, irrespective of what has
* been deposited with the U.S. Copyright Office.
* $
****************************************************************************/
#ifndef __INITSVC_TASK_TEST_2_H
#define __INITSVC_TASK_TEST_2_H
/**
* @file initsvctasktest2.H
*
*/
/******************************************************************************/
// Includes
/******************************************************************************/
#include <stdint.h>
#include <kernel/console.H> // printk
#include <util/singleton.H>
namespace INITSERVICE
{
/******************************************************************************/
// Globals/Constants
/******************************************************************************/
/******************************************************************************/
// Typedef/Enumerations
/******************************************************************************/
/******************************************************************************/
// InitService Class
/******************************************************************************/
/**
* @class InitSvcTestTask2 Class
*
* test module launched
*/
class InitSvcTaskTest2
{
public:
/**
* @brief Constructor for the InitService object.
*/
InitSvcTaskTest2()
{ }
/**
* @brief Destructor for the InitService object.
*/
~InitSvcTaskTest2()
{ }
/**
* @brief Get singleton instance of this class.
*
* @return the (one and only) instance of InitService
*/
static InitSvcTaskTest2& getTheInstance();
/**
* @brief Provide an entry function into the class, called from _start()
*
* @param[in] i_args pointer to any arguments passed in from
* _start() and by extension the kernel,
* currently this is NULL .
*
* @todo document any changes for args
*/
void init( void *i_args);
private:
}; // class InitSvcTaskTest2
} // namespace INITSVCTASKTEST2
#endif
|