diff options
author | Baoquan He <[email protected]> | 2023-11-15 21:00:27 +0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-12-10 17:21:44 -0800 |
commit | 7acf164b259d9007264d9d8501da1023f140a3b4 (patch) | |
tree | 994fc9459720df4d8e4088eb401e987337d66f8c /scripts/gdb/linux/device.py | |
parent | bfc4372b86085ec947fdcef20cbe40c55066394f (diff) |
resource: add walk_system_ram_res_rev()
This function, being a variant of walk_system_ram_res() introduced in
commit 8c86e70acead ("resource: provide new functions to walk through
resources"), walks through a list of all the resources of System RAM in
reversed order, i.e., from higher to lower.
It will be used in kexec_file code to load kernel, initrd etc when
preparing kexec reboot.
Link: https://lkml.kernel.org/r/ZVTA6z/06cLnWKUz@MiWiFi-R3L-srv
Signed-off-by: AKASHI Takahiro <[email protected]>
Signed-off-by: Baoquan He <[email protected]>
Cc: Eric Biederman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions