#include <stdint.h>
#include "hw_device.h"
#include "hw_ccfg.h"
Go to the source code of this file.
|
| #define | FCFG_PERMISSION_ALLOW 0xA |
| |
| #define | FCFG_PERMISSION_FORBID 0x0 |
| |
| #define | XCFG_MISC_SACITOEXP_8SEC 7 |
| |
| #define | XCFG_MISC_SACITOEXP_1SEC 4 |
| |
| #define | XCFG_MISC_SACITOEXP_INFINITE 0 |
| |
| #define | CPYLST_EOL 0 |
| |
| #define | CPYLST_NOP 0x10000000 |
| |
| #define | CPYLST_WAIT(x) ( 0x10000000 + (((x)<<2)&0x000FFFFC) ) |
| |
| #define | CPYLST_CPY(a, n) ( ((uint32_t)(a)) + (((n)<<20)&0x0FF00000) ) |
| |
| #define | CPYLST_CPYFULLADDR(a) (((uint32_t)(a)) + 1) |
| |
| #define | CPYLST_JUMP(a) (((uint32_t)(a)) + 2) |
| |
| #define | CPYLST_CALL(a) (((uint32_t)(a)) + 3) |
| |
| #define | XCFG_BC_PBLDR_FORBID ((void*)0xFFFFFFFC) |
| |
| #define | XCFG_BC_PBLDR_UNDEF ((void*)0xFFFFFFFF) |
| |
| #define | FCFG_BC_PBLDR_VALID(x) ((x) < XCFG_BC_PBLDR_FORBID) |
| |
| #define | FCFG_SET32 0x41008002 |
| |
| #define | FCFG_UNSET32 0x41FFFFFF |
| |
| #define | FCFG_LC_TESTPT {FCFG_UNSET32, FCFG_UNSET32, FCFG_UNSET32, FCFG_UNSET32} |
| |
| #define | FCFG_LC_TESTFT {FCFG_SET32, FCFG_UNSET32, FCFG_UNSET32, FCFG_UNSET32} |
| |
| #define | FCFG_LC_ENGRDEV {FCFG_SET32, FCFG_SET32, FCFG_UNSET32, FCFG_UNSET32} |
| |
| #define | FCFG_LC_PRODDEV {FCFG_SET32, FCFG_SET32, FCFG_SET32, FCFG_UNSET32} |
| |
| #define | FCFG_LC_RETEST {FCFG_SET32, FCFG_SET32, FCFG_SET32, FCFG_SET32} |
| |
| #define | fcfg ((fcfg_t *)FCFG_BASE) |
| |
§ FCFG_PERMISSION_ALLOW
| #define FCFG_PERMISSION_ALLOW 0xA |
§ FCFG_PERMISSION_FORBID
| #define FCFG_PERMISSION_FORBID 0x0 |
§ XCFG_MISC_SACITOEXP_8SEC
| #define XCFG_MISC_SACITOEXP_8SEC 7 |
§ XCFG_MISC_SACITOEXP_1SEC
| #define XCFG_MISC_SACITOEXP_1SEC 4 |
§ XCFG_MISC_SACITOEXP_INFINITE
| #define XCFG_MISC_SACITOEXP_INFINITE 0 |
§ CPYLST_EOL
§ CPYLST_NOP
| #define CPYLST_NOP 0x10000000 |
§ CPYLST_WAIT
| #define CPYLST_WAIT |
( |
|
x | ) |
( 0x10000000 + (((x)<<2)&0x000FFFFC) ) |
§ CPYLST_CPY
| #define CPYLST_CPY |
( |
|
a, |
|
|
|
n |
|
) |
| ( ((uint32_t)(a)) + (((n)<<20)&0x0FF00000) ) |
§ CPYLST_CPYFULLADDR
| #define CPYLST_CPYFULLADDR |
( |
|
a | ) |
(((uint32_t)(a)) + 1) |
§ CPYLST_JUMP
| #define CPYLST_JUMP |
( |
|
a | ) |
(((uint32_t)(a)) + 2) |
§ CPYLST_CALL
| #define CPYLST_CALL |
( |
|
a | ) |
(((uint32_t)(a)) + 3) |
§ XCFG_BC_PBLDR_FORBID
| #define XCFG_BC_PBLDR_FORBID ((void*)0xFFFFFFFC) |
§ XCFG_BC_PBLDR_UNDEF
| #define XCFG_BC_PBLDR_UNDEF ((void*)0xFFFFFFFF) |
§ FCFG_BC_PBLDR_VALID
§ FCFG_SET32
| #define FCFG_SET32 0x41008002 |
§ FCFG_UNSET32
| #define FCFG_UNSET32 0x41FFFFFF |
§ FCFG_LC_TESTPT
§ FCFG_LC_TESTFT
§ FCFG_LC_ENGRDEV
§ FCFG_LC_PRODDEV
§ FCFG_LC_RETEST
§ fcfg