diff options
| author | Doug Rabson <dfr@FreeBSD.org> | 2001-09-15 18:29:42 +0000 |
|---|---|---|
| committer | Doug Rabson <dfr@FreeBSD.org> | 2001-09-15 18:29:42 +0000 |
| commit | c5620b0763496383516ee1adc75d01722635e25c (patch) | |
| tree | 87a1534af27c762ef7321617e5e9c520f08dc908 | |
| parent | 56f6eed759b8e8927fc77cbbb22a0a1b4d420088 (diff) | |
Notes
| -rw-r--r-- | sys/boot/ia64/libski/bootinfo.c | 8 | ||||
| -rw-r--r-- | sys/boot/ia64/ski/bootinfo.c | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/sys/boot/ia64/libski/bootinfo.c b/sys/boot/ia64/libski/bootinfo.c index 9ac29b3d0a0d..7edba21c5004 100644 --- a/sys/boot/ia64/libski/bootinfo.c +++ b/sys/boot/ia64/libski/bootinfo.c @@ -325,7 +325,7 @@ bi_load(struct bootinfo *bi, struct preloaded_file *fp, char *args) /* Describe the SKI memory map. */ bi->bi_memmap = (u_int64_t)(bi + 1); - bi->bi_memmap_size = 1 * sizeof(EFI_MEMORY_DESCRIPTOR); + bi->bi_memmap_size = 2 * sizeof(EFI_MEMORY_DESCRIPTOR); bi->bi_memdesc_size = sizeof(EFI_MEMORY_DESCRIPTOR); bi->bi_memdesc_version = 1; @@ -337,5 +337,11 @@ bi_load(struct bootinfo *bi, struct preloaded_file *fp, char *args) memp[0].NumberOfPages = (64L*1024*1024)>>12; memp[0].Attribute = EFI_MEMORY_WB; + memp[1].Type = EfiMemoryMappedIOPortSpace; + memp[1].PhysicalStart = 0xffffc000000; + memp[1].VirtualStart = 0; + memp[1].NumberOfPages = (64L*1024*1024)>>12; + memp[1].Attribute = EFI_MEMORY_UC; + return(0); } diff --git a/sys/boot/ia64/ski/bootinfo.c b/sys/boot/ia64/ski/bootinfo.c index 9ac29b3d0a0d..7edba21c5004 100644 --- a/sys/boot/ia64/ski/bootinfo.c +++ b/sys/boot/ia64/ski/bootinfo.c @@ -325,7 +325,7 @@ bi_load(struct bootinfo *bi, struct preloaded_file *fp, char *args) /* Describe the SKI memory map. */ bi->bi_memmap = (u_int64_t)(bi + 1); - bi->bi_memmap_size = 1 * sizeof(EFI_MEMORY_DESCRIPTOR); + bi->bi_memmap_size = 2 * sizeof(EFI_MEMORY_DESCRIPTOR); bi->bi_memdesc_size = sizeof(EFI_MEMORY_DESCRIPTOR); bi->bi_memdesc_version = 1; @@ -337,5 +337,11 @@ bi_load(struct bootinfo *bi, struct preloaded_file *fp, char *args) memp[0].NumberOfPages = (64L*1024*1024)>>12; memp[0].Attribute = EFI_MEMORY_WB; + memp[1].Type = EfiMemoryMappedIOPortSpace; + memp[1].PhysicalStart = 0xffffc000000; + memp[1].VirtualStart = 0; + memp[1].NumberOfPages = (64L*1024*1024)>>12; + memp[1].Attribute = EFI_MEMORY_UC; + return(0); } |
