Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/include/cp0.h

    rb3f8fb7 r598f90e  
    3636#define KERN_mips32_CP0_H_
    3737
    38 #include <arch/types.h>
     38#ifdef KERNEL
     39#include <typedefs.h>
     40#else
     41#include <sys/types.h>
     42#endif
    3943
    40 #define cp0_status_ie_enabled_bit       (1 << 0)
    41 #define cp0_status_exl_exception_bit    (1 << 1)
    42 #define cp0_status_erl_error_bit        (1 << 2)
    43 #define cp0_status_um_bit               (1 << 4)
    44 #define cp0_status_bev_bootstrap_bit    (1 << 22)
    45 #define cp0_status_fpu_bit              (1 << 29)
     44#define cp0_status_ie_enabled_bit     (1 << 0)
     45#define cp0_status_exl_exception_bit  (1 << 1)
     46#define cp0_status_erl_error_bit      (1 << 2)
     47#define cp0_status_um_bit             (1 << 4)
     48#define cp0_status_bev_bootstrap_bit  (1 << 22)
     49#define cp0_status_fpu_bit            (1 << 29)
    4650
    4751#define cp0_status_im_shift             8
Note: See TracChangeset for help on using the changeset viewer.