New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve arm #1180
Improve arm #1180
Conversation
anton-bondarev
commented
Jul 18, 2018
- Improve arm/qemu
- Fix vmem_alloc for 2 level tables
- Add arm/integratorcp template
- Improve arm fpu (change deprecated fstm/fldm -> vstm/vldm )
src/mem/vmem/vmem_alloc.c
Outdated
@@ -114,6 +121,11 @@ mmu_pte_t *vmem_alloc_pte_table(void) { | |||
log_debug("%p", addr); | |||
|
|||
return addr; | |||
#else | |||
log_error("pte not using in this configuration"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace this message with "PTE pool size is zero for current configuration", please.
src/mem/vmem/vmem_alloc.c
Outdated
@@ -46,11 +46,14 @@ | |||
|
|||
static char pgd_raw[(PGD_COUNT + 1) * MMU_PGD_SIZE] __attribute__ ((aligned(MMU_PGD_SIZE))); | |||
static char pmd_raw[(PMD_COUNT + 1) * MMU_PMD_SIZE] __attribute__ ((aligned(MMU_PMD_SIZE))); | |||
static char pte_raw[(PTE_COUNT + 1) * MMU_PTE_SIZE] __attribute__ ((aligned(MMU_PTE_SIZE))); | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this empty line, please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM