diff options
author | dfr <dfr@FreeBSD.org> | 2001-09-15 18:29:42 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2001-09-15 18:29:42 +0000 |
commit | 573409ef192bd39cc7b7af5ccd5e637717563887 (patch) | |
tree | 87a1534af27c762ef7321617e5e9c520f08dc908 /sys/boot/ia64/ski | |
parent | d7abcfbcaead680bc9e7d04d8e8716e841195c7c (diff) | |
download | FreeBSD-src-573409ef192bd39cc7b7af5ccd5e637717563887.zip FreeBSD-src-573409ef192bd39cc7b7af5ccd5e637717563887.tar.gz |
Add a fake memory descriptor for the I/O port space.
Diffstat (limited to 'sys/boot/ia64/ski')
-rw-r--r-- | sys/boot/ia64/ski/bootinfo.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/boot/ia64/ski/bootinfo.c b/sys/boot/ia64/ski/bootinfo.c index 9ac29b3..7edba21 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); } |