Mark Johnston
b957b18594
Always use 64-bit physical addresses for dump_avail[] in minidumps
...
As of r365978, minidumps include a copy of dump_avail[]. This is an
array of vm_paddr_t ranges. libkvm walks the array assuming that
sizeof(vm_paddr_t) is equal to the platform "word size", but that's not
correct on some platforms. For instance, i386 uses a 64-bit vm_paddr_t.
Fix the problem by always dumping 64-bit addresses. On platforms where
vm_paddr_t is 32 bits wide, namely arm and mips (sometimes), translate
dump_avail[] to an array of uint64_t ranges. With this change, libkvm
no longer needs to maintain a notion of the target word size, so get rid
of it.
This is a no-op on platforms where sizeof(vm_paddr_t) == 8.
Reviewed by: alc, kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D27082
2020-12-03 17:12:31 +00:00
..
2019-12-11 17:37:53 +00:00
2020-10-12 21:35:29 +00:00
2020-11-10 19:09:35 +00:00
2020-10-24 17:08:59 +00:00
2020-10-28 13:46:11 +00:00
2020-10-28 11:54:04 +00:00
2020-03-26 17:34:17 +00:00
2020-10-03 19:05:13 +00:00
2020-10-07 21:56:58 +00:00
2020-05-16 02:29:10 +00:00
2020-12-01 15:53:12 +00:00
2020-04-19 02:20:39 +00:00
2020-10-18 23:58:40 +00:00
2020-07-19 23:56:19 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2019-12-20 19:53:05 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2020-04-19 02:18:40 +00:00
2020-11-13 23:18:04 +00:00
2019-12-11 17:37:53 +00:00
2020-12-03 05:49:59 +00:00
2020-09-11 13:28:37 +00:00
2019-12-20 19:53:05 +00:00
2019-12-11 17:37:53 +00:00
2020-10-01 01:10:51 +00:00
2020-08-25 13:23:31 +00:00
2020-10-13 22:49:43 +00:00
2020-10-12 10:42:33 +00:00
2019-12-11 17:37:53 +00:00
2020-09-10 16:47:12 +00:00
2020-10-01 01:10:51 +00:00
2019-12-11 17:37:53 +00:00
2020-09-11 13:28:37 +00:00
2019-12-11 17:37:53 +00:00
2020-06-23 16:29:59 +00:00
2020-08-04 21:09:36 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2020-07-06 17:47:29 +00:00
2020-10-23 16:35:23 +00:00
2019-12-05 13:20:15 +00:00
2020-05-28 22:05:50 +00:00
2019-12-20 19:53:05 +00:00
2019-12-11 17:37:53 +00:00
2020-11-24 22:10:33 +00:00
2019-12-11 17:37:53 +00:00
2020-08-25 20:07:11 +00:00
2020-04-30 22:08:40 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2020-10-13 17:14:30 +00:00
2020-10-01 01:10:51 +00:00
2020-10-21 05:27:25 +00:00
2020-06-04 22:58:37 +00:00
2019-10-10 12:46:34 +00:00
2020-01-07 21:44:27 +00:00
2019-09-05 14:13:08 +00:00
2020-12-03 17:12:31 +00:00
2019-12-11 17:37:53 +00:00
2020-08-25 13:30:34 +00:00
2020-03-23 18:26:23 +00:00
2020-06-20 21:32:07 +00:00
2020-06-17 15:57:59 +00:00
2020-10-09 19:12:44 +00:00
2020-11-06 21:33:59 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2020-10-09 19:12:44 +00:00
2020-05-15 12:04:39 +00:00
2020-11-02 15:01:37 +00:00
2019-12-11 17:37:53 +00:00
2020-06-27 02:17:04 +00:00
2020-01-27 18:04:28 +00:00
2020-09-11 13:28:37 +00:00
2020-06-17 10:42:20 +00:00
2019-12-11 17:37:53 +00:00
2020-08-17 05:57:02 +00:00
2020-10-09 19:12:44 +00:00
2019-12-21 21:01:03 +00:00
2019-09-05 14:15:47 +00:00
2020-11-05 16:41:28 +00:00
2020-11-05 16:47:23 +00:00
2020-10-01 01:10:51 +00:00
2020-11-26 22:49:05 +00:00
2020-10-09 19:12:44 +00:00
2020-08-04 02:16:43 +00:00
2020-10-09 19:12:44 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2019-09-05 14:15:47 +00:00
2020-06-05 18:44:14 +00:00
2020-10-01 01:10:51 +00:00
2019-12-11 17:37:53 +00:00
2020-08-21 00:27:06 +00:00
2020-07-15 18:28:54 +00:00
2020-07-15 18:28:54 +00:00
2020-09-23 02:17:44 +00:00
2020-03-14 15:15:27 +00:00
2020-01-04 20:19:25 +00:00
2019-12-02 20:58:04 +00:00
2019-12-11 17:37:53 +00:00
2020-11-26 09:07:45 +00:00
2019-12-13 05:11:34 +00:00
2020-11-30 17:00:36 +00:00
2020-02-27 04:44:58 +00:00
2020-09-11 13:28:37 +00:00
2020-09-19 22:48:30 +00:00
2020-05-21 01:55:35 +00:00
2019-12-11 17:37:53 +00:00
2020-05-21 21:00:46 +00:00
2020-10-09 19:12:44 +00:00
2020-06-05 07:57:16 +00:00
2020-11-18 19:44:30 +00:00
2020-04-01 05:45:12 +00:00
2019-12-11 17:37:53 +00:00
2020-11-24 23:18:52 +00:00
2019-12-11 17:37:53 +00:00
2020-09-18 17:17:46 +00:00
2019-12-11 17:37:53 +00:00
2020-05-12 01:47:33 +00:00
2020-11-12 14:04:08 +00:00
2020-11-18 19:23:30 +00:00
2020-08-03 17:53:15 +00:00
2020-09-18 17:17:46 +00:00
2020-10-24 17:08:59 +00:00
2020-09-18 17:17:46 +00:00