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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [asm-armnommu/] [processor.h] - Diff between revs 1765 and 1782

Only display areas with differences | Details | Blame | View Log

Rev 1765 Rev 1782
/*
/*
 * include/asm-arm/processor.h
 * include/asm-arm/processor.h
 *
 *
 * Copyright (C) 1995 Russell King
 * Copyright (C) 1995 Russell King
 */
 */
 
 
#ifndef __ASM_ARM_PROCESSOR_H
#ifndef __ASM_ARM_PROCESSOR_H
#define __ASM_ARM_PROCESSOR_H
#define __ASM_ARM_PROCESSOR_H
 
 
struct fp_hard_struct {
struct fp_hard_struct {
        unsigned int save[140/4];               /* as yet undefined */
        unsigned int save[140/4];               /* as yet undefined */
};
};
 
 
struct fp_soft_struct {
struct fp_soft_struct {
        unsigned int save[140/4];               /* undefined information */
        unsigned int save[140/4];               /* undefined information */
};
};
 
 
union fp_state {
union fp_state {
        struct fp_hard_struct   hard;
        struct fp_hard_struct   hard;
        struct fp_soft_struct   soft;
        struct fp_soft_struct   soft;
};
};
 
 
#define DECLARE_THREAD_STRUCT                                                   \
#define DECLARE_THREAD_STRUCT                                                   \
struct thread_struct {                                                          \
struct thread_struct {                                                          \
        unsigned long   fs;                     /* simulated fs         */      \
        unsigned long   fs;                     /* simulated fs         */      \
        unsigned long   address;                /* Address of fault     */      \
        unsigned long   address;                /* Address of fault     */      \
        unsigned long   trap_no;                /* Trap number          */      \
        unsigned long   trap_no;                /* Trap number          */      \
        unsigned long   error_code;             /* Error code of trap   */      \
        unsigned long   error_code;             /* Error code of trap   */      \
        union fp_state  fpstate;                /* FPE save state       */      \
        union fp_state  fpstate;                /* FPE save state       */      \
        EXTRA_THREAD_STRUCT                                                     \
        EXTRA_THREAD_STRUCT                                                     \
}
}
 
 
#include <asm/arch/processor.h>
#include <asm/arch/processor.h>
#include <asm/proc/processor.h>
#include <asm/proc/processor.h>
 
 
#define INIT_TSS  {                     \
#define INIT_TSS  {                     \
        0,                               \
        0,                               \
        0,                               \
        0,                               \
        0,                               \
        0,                               \
        0,                               \
        0,                               \
        { { { 0, }, }, },                \
        { { { 0, }, }, },                \
        EXTRA_THREAD_STRUCT_INIT        \
        EXTRA_THREAD_STRUCT_INIT        \
}
}
 
 
#define MAX_USER_ADDR           TASK_SIZE
#define MAX_USER_ADDR           TASK_SIZE
#define MMAP_SEARCH_START       (TASK_SIZE/3)
#define MMAP_SEARCH_START       (TASK_SIZE/3)
 
 
#endif /* __ASM_ARM_PROCESSOR_H */
#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.