Subversion Repositories HelenOS

Rev

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

Rev 2927 Rev 4343
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
#include <typedefs.h>
-
 
42
 
-
 
43
extern count_t cpu_count;
-
 
44
 
-
 
45
typedef struct {
-
 
46
    uintptr_t addr;
-
 
47
    uint32_t size;
-
 
48
} utask_t;
-
 
49
 
-
 
50
typedef struct {
-
 
51
    uint32_t cpumap;
-
 
52
    uint32_t cnt;
-
 
53
    utask_t tasks[TASKMAP_MAX_RECORDS];
-
 
54
} bootinfo_t;
-
 
55
 
-
 
56
extern void arch_pre_main(void *entry, bootinfo_t *bootinfo);
-
 
57
 
38
#endif
58
#endif
39
 
59
 
40
/** @}
60
/** @}
41
 */
61
 */