Define minimum required sizes for the ro, rw, and md regions and make sure the specified sizes are not less than the minimum sizes
Reviewed-by: jiangli, dholmes, mseledtsov
Estimate the minimum required size for the misc code region and check if the specified misc code region size meets the minimum size requirement
Reviewed-by: jiangli, dholmes