Increase SMEM size to 256KB

This commit is contained in:
Hansung Kim
2024-09-04 23:34:48 -07:00
parent 81924b601a
commit dcd69ea304
2 changed files with 7 additions and 3 deletions

View File

@@ -180,7 +180,7 @@
#endif
#ifndef SMEM_LOG_SIZE
#define SMEM_LOG_SIZE 17
#define SMEM_LOG_SIZE 19
#endif
#ifndef IO_BASE_ADDR

View File

@@ -5,8 +5,12 @@
#endif
#define SMEM_BASE 0xff000000
//#define SMEM_SIZE 0x4000
#define SMEM_SIZE 0x10000
// 16KB
// #define SMEM_SIZE 0x4000
// 64KB
// #define SMEM_SIZE 0x10000
// 256KB
#define SMEM_SIZE 0x40000
#define SMEM_MASK (SMEM_SIZE - 1)
#define SMEM_ADDR_END (SMEM_BASE + SMEM_SIZE)