Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coreboot/coreboot
/ region_last
Function
region_last
src/commonlib/include/commonlib/region.h:127–130 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
125
}
126
127
static inline size_t region_last(const struct region *r)
128
{
129
return region_offset(r) + (region_sz(r) - 1);
130
}
131
132
static inline bool region_overlap(const struct region *r1, const struct region *r2)
133
{
Callers
11
winbond_get_write_protection
Function · 0.85
winbond_set_write_protection
Function · 0.85
setup_smihandler_params
Function · 0.85
print_region
Function · 0.85
smm_load_module
Function · 0.85
region_is_subregion
Function · 0.85
region_overlap
Function · 0.85
region_device_last
Function · 0.85
test_region
Function · 0.85
create_mmap_windows
Function · 0.85
get_cse_region_end_offset
Function · 0.85
Calls
2
region_offset
Function · 0.85
region_sz
Function · 0.85
Tested by
1
test_region
Function · 0.68