aarch64: Rename RAM_64BIT_START in layout

`RAM_64BIT_START` was set to 1 GiB, not a real 64-bit address. Now
rename it `RAM_START` to avoid confusion.

Signed-off-by: Michael Zhao <michael.zhao@arm.com>
This commit is contained in:
Michael Zhao
2022-03-30 08:36:23 +08:00
committed by Xin Wang
parent c035e5a836
commit ef9f37cd5f
4 changed files with 9 additions and 9 deletions

View File

@@ -2993,7 +2993,7 @@ mod tests {
#[test]
fn test_create_fdt_with_devices() {
let regions = vec![(
GuestAddress(layout::RAM_64BIT_START),
GuestAddress(layout::RAM_START),
(layout::FDT_MAX_SIZE + 0x1000) as usize,
)];
let mem = GuestMemoryMmap::from_ranges(&regions).expect("Cannot initialize memory");