mirror of
https://review.coreboot.org/flashrom.git
synced 2025-11-02 06:10:14 +01:00
Add a new layout_compare() function which will be used in a subsequent
patch to test equality between two layouts. Add a test function for
layout_compare(). Fix a small bug in compare_region_with_dump() which
was introduced in commit 74a1a54892 ("libflashrom: Fix comparison of
layout romentry regions"), which was discovered with the new test.
Change-Id: Ib37556bb83d4e1c26545a90b49128f1f78ffe2c6
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/89629
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
53 lines
1.4 KiB
Plaintext
53 lines
1.4 KiB
Plaintext
LIBFLASHROM_1.0 {
|
|
global:
|
|
flashrom_data_free;
|
|
flashrom_flag_get;
|
|
flashrom_flag_set;
|
|
flashrom_flash_erase;
|
|
flashrom_flash_getsize;
|
|
flashrom_flash_probe;
|
|
flashrom_flash_probe_v2;
|
|
flashrom_flash_release;
|
|
flashrom_image_read;
|
|
flashrom_image_verify;
|
|
flashrom_image_write;
|
|
flashrom_init;
|
|
flashrom_layout_add_region;
|
|
flashrom_layout_compare;
|
|
flashrom_layout_exclude_region;
|
|
flashrom_layout_get_region_range;
|
|
flashrom_layout_include_region;
|
|
flashrom_layout_new;
|
|
flashrom_layout_read_fmap_from_buffer;
|
|
flashrom_layout_read_fmap_from_rom;
|
|
flashrom_layout_read_from_ifd;
|
|
flashrom_layout_release;
|
|
flashrom_layout_set;
|
|
flashrom_programmer_init;
|
|
flashrom_programmer_shutdown;
|
|
flashrom_set_log_callback;
|
|
flashrom_set_log_callback_v2;
|
|
flashrom_set_log_level;
|
|
flashrom_set_progress_callback;
|
|
flashrom_set_progress_callback_v2;
|
|
flashrom_shutdown;
|
|
flashrom_supported_boards;
|
|
flashrom_supported_chipsets;
|
|
flashrom_supported_flash_chips;
|
|
flashrom_supported_programmers;
|
|
flashrom_version_info;
|
|
flashrom_wp_cfg_new;
|
|
flashrom_wp_cfg_release;
|
|
flashrom_wp_get_available_ranges;
|
|
flashrom_wp_get_mode;
|
|
flashrom_wp_get_range;
|
|
flashrom_wp_ranges_get_count;
|
|
flashrom_wp_ranges_get_range;
|
|
flashrom_wp_ranges_release;
|
|
flashrom_wp_read_cfg;
|
|
flashrom_wp_set_mode;
|
|
flashrom_wp_set_range;
|
|
flashrom_wp_write_cfg;
|
|
local: *;
|
|
};
|