Changeset a1493d9 in mainline for arch/mips/include/cp0.h


Ignore:
Timestamp:
2005-09-10T17:54:53Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8491c48
Parents:
24241cf
Message:

Fixed bad address loading in simulators.
FPU cooprocessor unusable now checks, if it is FPU that is unusable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/mips/include/cp0.h

    r24241cf ra1493d9  
    4141#define cp0_status_im_shift             8
    4242#define cp0_status_im_mask              0xff00
     43
     44#define cp0_cause_excno(cause) ((cause >> 2) & 0x1f)
     45#define cp0_cause_coperr(cause) ((cause >> 28) & 0x3)
     46
     47#define fpu_cop_id 1
    4348
    4449/*
Note: See TracChangeset for help on using the changeset viewer.