command: Fix handling of buffer passing in args[] on 64bit mcu

If the buffer pointer can't fit in a uint32_t then pass a relative
buffer offset instead.  This fixes buffer handling on 64bit linux
mcus.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2020-10-30 00:23:04 -04:00
parent 473828ca6a
commit a560432041
4 changed files with 17 additions and 0 deletions

View File

@@ -19,6 +19,12 @@ serial_init(void)
}
DECL_INIT(serial_init);
void *
console_receive_buffer(void)
{
return NULL;
}
static void
do_uart(void)
{