switch-coreboot/util/intelmetool
Paul Menzel 98d46f35fd UPSTREAM: intelmetool: Use correct type for pointer
Use `uintptr_t` instead of `uint32_t`, fixing the error below on 64-bit
systems, where pointers are 64-bit wide.

```
cc -O0 -g -Wall -W -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-sign-compare -Wno-unused-function   -c -o intelmetool.o intelmetool.c
intelmetool.c: In function dump_me_memory:
intelmetool.c:85:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  dump = map_physical_exact((off_t)me_clone, (void *)me_clone, 0x2000000);
                                             ^
```

BUG=https://ticket.coreboot.org/issues/111

Change-Id: I89c28fe9a3c5da1b2d5cad802624228680519567
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 57d912bacc
Original-Change-Id: Id8d778e97090668ad9308a82b44c6b2b599fd6c3
Original-Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
Original-Reviewed-on: https://review.coreboot.org/19567
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Original-Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Original-Reviewed-by: Philippe Mathieu-Daud <philippe.mathieu.daude@gmail.com>
Original-Reviewed-by: Paul Wise (Debian) <pabs@debian.org>
Reviewed-on: https://chromium-review.googlesource.com/498325
2017-05-07 16:25:59 -07:00
..
intelmetool.c UPSTREAM: intelmetool: Use correct type for pointer 2017-05-07 16:25:59 -07:00
intelmetool.h UPSTREAM: util/intelmetool: Add support for Wildcat Point LP 2017-03-08 05:13:04 -08:00
Makefile util/intelmetool: Add intelmetool from Damien Zammit 2016-03-25 18:28:03 +01:00
me.c UPSTREAM: intelmetool: handle failures to mmap MEI memory 2017-05-07 16:25:48 -07:00
me.h util/intelmetool: Add intelmetool from Damien Zammit 2016-03-25 18:28:03 +01:00
me_status.c util/intelmetool: Add intelmetool from Damien Zammit 2016-03-25 18:28:03 +01:00
mmap.c UPSTREAM: intelmetool: Print strerror() results for mmap errors 2017-05-07 16:25:47 -07:00
mmap.h UPSTREAM: util/intelmetool: Fix warning building with 32-bit 2017-01-05 11:00:30 -08:00