s/reagion/region/ in comment.
This commit is contained in:
parent
cd892e46b9
commit
4d29d221e2
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: loader.c,v 1.5 2021/10/06 20:36:58 andvar Exp $ */
|
/* $NetBSD: loader.c,v 1.6 2023/09/09 21:04:26 andvar Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2004 The NetBSD Foundation, Inc.
|
* Copyright (c) 2004 The NetBSD Foundation, Inc.
|
||||||
|
@ -98,7 +98,7 @@ cmd_load_binary(int argc, char *argp[], int interactive)
|
||||||
q = (uint8_t *)strtoul(argp[1], 0, 0);
|
q = (uint8_t *)strtoul(argp[1], 0, 0);
|
||||||
p = kernel_binary;
|
p = kernel_binary;
|
||||||
|
|
||||||
/* check load reagion */
|
/* check load region */
|
||||||
printf("load end=%p loader start=%p\n",
|
printf("load end=%p loader start=%p\n",
|
||||||
q + kernel_binary_size, start);
|
q + kernel_binary_size, start);
|
||||||
if ((uint32_t)(q + kernel_binary_size) >= (uint32_t)start) {
|
if ((uint32_t)(q + kernel_binary_size) >= (uint32_t)start) {
|
||||||
|
|
Loading…
Reference in New Issue