OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [asm-armnommu/] [processor.h] - Blame information for rev 1777

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1633 jcastillo
/*
2
 * include/asm-arm/processor.h
3
 *
4
 * Copyright (C) 1995 Russell King
5
 */
6
 
7
#ifndef __ASM_ARM_PROCESSOR_H
8
#define __ASM_ARM_PROCESSOR_H
9
 
10
struct fp_hard_struct {
11
        unsigned int save[140/4];               /* as yet undefined */
12
};
13
 
14
struct fp_soft_struct {
15
        unsigned int save[140/4];               /* undefined information */
16
};
17
 
18
union fp_state {
19
        struct fp_hard_struct   hard;
20
        struct fp_soft_struct   soft;
21
};
22
 
23
#define DECLARE_THREAD_STRUCT                                                   \
24
struct thread_struct {                                                          \
25
        unsigned long   fs;                     /* simulated fs         */      \
26
        unsigned long   address;                /* Address of fault     */      \
27
        unsigned long   trap_no;                /* Trap number          */      \
28
        unsigned long   error_code;             /* Error code of trap   */      \
29
        union fp_state  fpstate;                /* FPE save state       */      \
30
        EXTRA_THREAD_STRUCT                                                     \
31
}
32
 
33
#include <asm/arch/processor.h>
34
#include <asm/proc/processor.h>
35
 
36
#define INIT_TSS  {                     \
37
        0,                               \
38
        0,                               \
39
        0,                               \
40
        0,                               \
41
        { { { 0, }, }, },                \
42
        EXTRA_THREAD_STRUCT_INIT        \
43
}
44
 
45
#define MAX_USER_ADDR           TASK_SIZE
46
#define MMAP_SEARCH_START       (TASK_SIZE/3)
47
 
48
#endif /* __ASM_ARM_PROCESSOR_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.