Subversion Repositories HelenOS

Rev

Rev 3386 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3386 Rev 4153
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
29
/** @addtogroup mips32 
29
/** @addtogroup mips32
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
33
 */
33
 */
34
 
34
 
35
#ifndef KERN_mips32_ARCH_H_
35
#ifndef KERN_mips32_ARCH_H_
36
#define KERN_mips32_ARCH_H_
36
#define KERN_mips32_ARCH_H_
37
 
37
 
-
 
38
#define TASKMAP_MAX_RECORDS  32
-
 
39
#define CPUMAP_MAX_RECORDS   32
-
 
40
 
-
 
41
#define BOOTINFO_TASK_NAME_BUFLEN 32
-
 
42
 
-
 
43
#include <typedefs.h>
-
 
44
 
-
 
45
extern count_t cpu_count;
-
 
46
 
-
 
47
typedef struct {
-
 
48
    uintptr_t addr;
-
 
49
    uint32_t size;
-
 
50
    char name[BOOTINFO_TASK_NAME_BUFLEN];
-
 
51
} utask_t;
-
 
52
 
-
 
53
typedef struct {
-
 
54
    uint32_t cpumap;
-
 
55
    uint32_t cnt;
-
 
56
    utask_t tasks[TASKMAP_MAX_RECORDS];
-
 
57
} bootinfo_t;
-
 
58
 
-
 
59
extern void arch_pre_main(void *entry, bootinfo_t *bootinfo);
-
 
60
 
38
#endif
61
#endif
39
 
62
 
40
/** @}
63
/** @}
41
 */
64
 */