Skip to content

Commit

Permalink
mpfs/mpfs_userspace: Increase user space size to 8MB
Browse files Browse the repository at this point in the history
The user i/o area goes over 4MB, so need more page tables
  • Loading branch information
pussuw authored and jlaitine committed Apr 21, 2023
1 parent e9c87b2 commit ccf5808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/risc-v/src/mpfs/mpfs_userspace.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

#define PGT_L1_SIZE (512) /* Enough to map 512 GiB */
#define PGT_L2_SIZE (512) /* Enough to map 1 GiB */
#define PGT_L3_SIZE (1024) /* Enough to map 4 MiB */
#define PGT_L3_SIZE (2048) /* Enough to map 8 MiB */

#define SLAB_COUNT (sizeof(m_l3_pgtable) / RV_MMU_PAGE_SIZE)

Expand Down

0 comments on commit ccf5808

Please sign in to comment.