mirror of
https://github.com/apache/nuttx.git
synced 2026-09-01 22:53:01 +00:00
arch/x86_64: fix two typo errors to pass build
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
This commit is contained in:
parent
0a9ac2a689
commit
923c05f17f
2 changed files with 2 additions and 2 deletions
|
|
@ -57,7 +57,7 @@ int up_map_region(void *base, int size, int flags)
|
|||
/* Increase size if the base address is rounded off */
|
||||
|
||||
size += (uint64_t)base - bb;
|
||||
uint64_t num_of_pages = (size + PAGE_SIZE - 1) / PAGE_SIZE;
|
||||
num_of_pages = (size + PAGE_SIZE - 1) / PAGE_SIZE;
|
||||
|
||||
if (bb > 0xffffffff)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
* Name: up_registerdump
|
||||
****************************************************************************/
|
||||
|
||||
void print_mem(void *sp, size_t size
|
||||
void print_mem(void *sp, size_t size)
|
||||
{
|
||||
char buf[9];
|
||||
int i;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue