NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-amd64/54147 (device trouble (failed to map RSDT, mapping interrupts fail))



The following reply was made to PR port-amd64/54147; it has been noted by GNATS.

From: Maxime Villard <max%m00nbsd.net@localhost>
To: gnats-bugs%netbsd.org@localhost, port-amd64-maintainer%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, coypu%sdf.org@localhost
Cc: 
Subject: Re: port-amd64/54147 (device trouble (failed to map RSDT, mapping
 interrupts fail))
Date: Sat, 18 May 2019 09:57:01 +0200

 Le 05/05/2019 à 10:27, Maxime Villard a écrit :
 > How about this. No need to create entries if we know we won't internalize them.
 > See x86_parse_clusters(), we're only interested in BIM_Memory, BIM_ACPI and
 > BIM_NVS.
 > 
 > Index: efi.c
 > ===================================================================
 > RCS file: /cvsroot/src/sys/arch/x86/x86/efi.c,v
 > retrieving revision 1.19
 > diff -u -r1.19 efi.c
 > --- efi.c    3 Dec 2018 19:46:43 -0000    1.19
 > +++ efi.c    5 May 2019 08:21:34 -0000
 > @@ -517,6 +517,16 @@
 >           size = md->md_pages * EFI_PAGE_SIZE;
 >           type = efi_getbiosmemtype(md->md_type, md->md_attr);
 > 
 > +        /* If the segment is not memory, skip it. */
 > +        switch (type) {
 > +        case BIM_Memory:
 > +        case BIM_ACPI:
 > +        case BIM_NVS:
 > +            break;
 > +        default:
 > +            continue;
 > +        }
 > +
 >   #ifdef DEBUG_MEMLOAD
 >           printf("MEMMAP: p0x%016" PRIx64 "-0x%016" PRIx64
 >               ", v0x%016" PRIx64 "-0x%016" PRIx64
 
 So what's up?
 


Home | Main Index | Thread Index | Old Index