diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-03-23 10:00:31 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-01-18 07:26:32 +0000 |
commit | e1aa9833c1eb80c193d1b7d7effe27140e1df154 (patch) | |
tree | 745343e5edc93b07e64e70b01b98beb1d2bab5eb /src/include | |
parent | 4c4f9161728f42f959b4394ba42aefb64e35afe2 (diff) | |
download | coreboot-e1aa9833c1eb80c193d1b7d7effe27140e1df154.tar.xz |
lib/ramtest: Fix ram_check() declarations
For a long time, second parameter 'stop' has been
ignored. The tested range is within 1 MiB above 'start'.
Change-Id: Icbf94cd6a651fbf0cd9aab97eb11f9b03f0c3c31
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48561
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/lib.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/lib.h b/src/include/lib.h index 5c6eef2a70..359626c964 100644 --- a/src/include/lib.h +++ b/src/include/lib.h @@ -12,9 +12,9 @@ size_t ulzman(const void *src, size_t srcn, void *dst, size_t dstn); /* Defined in src/lib/ramtest.c */ /* Assumption is 32-bit addressable UC memory. */ -void ram_check(unsigned long start, unsigned long stop); -int ram_check_nodie(unsigned long start, unsigned long stop); -int ram_check_noprint_nodie(unsigned long start, unsigned long stop); +void ram_check(uintptr_t start); +int ram_check_nodie(uintptr_t start); +int ram_check_noprint_nodie(uintptr_t start); void quick_ram_check_or_die(uintptr_t dst); /* Defined in primitive_memtest.c */ |