- fixed CFI_ERR_BASE interfering with SR_BIT_PSLBS

git-svn-id: http://moon:8086/svn/mips@173 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
2021-11-21 14:24:35 +00:00
parent 0a6af28dab
commit 76a6b4fa89
+3 -1
View File
@@ -13,7 +13,9 @@
#define SR_BIT_ISMS 0x00800080
#define CFI_IS_ERROR(e) ((e & CFI_ERR_BASE) == CFI_ERR_BASE)
#define CFI_ERR_BASE (0x80000000 + 0x00100000)
#ifndef CFI_ERR_BASE
#define CFI_ERR_BASE (0x80000000)
#endif
#define CFI_ERR_GENERAL (CFI_ERR_BASE + 0)
#define CFI_ERR_NOTFOUND (CFI_ERR_BASE + 1)
#define CFI_ERR_INVPARAM (CFI_ERR_BASE + 2)