Some of the regions may end up being unmapped, either because they are optional or because the attempt to map them has failed. Region types starting at 0 didn't make it easy to test for this condition. This commit bumps all valid region types up by 1 with 0 having the implicit 'unmapped' meaning. Signed-off-by: Ladi Prosek <lprosek@redhat.com> Reviewed-by: Marcel Apfelbaum <marcel@redhat.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
 Ladi Prosek
						
						9 年之前
							Ladi Prosek
						
						9 年之前
					|  |  | ||
| 107 |  | 107 |  | 
| 108 |  | 108 |  | 
| 109 |  | 109 |  | 
| 110 |  |  | |
|  | 110 |  | |
| 111 |  | 111 |  | 
| 112 |  |  | |
|  | 112 |  | |
| 113 |  | 113 |  | 
| 114 |  |  | |
|  | 114 |  | |
| 115 |  | 115 |  | 
| 116 |  | 116 |  | 
| 117 |  | 117 |  |