Changeset 962c89af in mainline
- Timestamp:
- 2019-06-20T14:51:57Z (5 years ago)
- Parents:
- 5acf533
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-06-20 14:48:53)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-06-20 14:51:57)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/as.c
r5acf533 r962c89af 2128 2128 { 2129 2129 as_area_t *area; 2130 as_area_info_t info; 2131 2132 /* Prevent leaking stack bytes via structure padding. */ 2133 memset(&info, 0, sizeof(info)); 2130 2134 2131 2135 mutex_lock(&AS->lock); … … 2136 2140 } 2137 2141 2138 as_area_info_t info = { 2139 .start_addr = area->base, 2140 .size = P2SZ(area->pages), 2141 .flags = area->flags, 2142 }; 2142 info.start_addr = area->base; 2143 info.size = P2SZ(area->pages); 2144 info.flags = area->flags; 2143 2145 2144 2146 mutex_unlock(&area->lock);
Note:
See TracChangeset
for help on using the changeset viewer.