Memory32Fixed(ReadWrite, 0xFEDC2000, 0x1000) reserves memory in asl. I tried to add DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, but not work.
On Tue, Jul 7, 2015 at 7:22 PM WANG FEI wangfei.jimei@gmail.com wrote:
Siyuan, did you reserved 0xFEDC2000 - 0xFEDC2FFF in ASL file? what you've done in your code is to reserve this MMIO area in E820 table, OS will not take this area, but it's not enough for ACPI.
Here is a sample to reserve MMIO area in asl file.
// TPM Area (0xfed40000-0xfed44fff) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, 0xfed40000, 0xfed44fff, 0x00000000, 0x00005000,,, TPMR)
On Mon, Jul 6, 2015 at 12:31 PM, WANG Siyuan wangsiyuanbuaa@gmail.com wrote:
Hi, I have a question about acpi resource.
My device need the resource: Name(_CRS, ResourceTemplate() { IRQ(Edge, ActiveHigh, Exclusive) {3} Memory32Fixed(ReadWrite, 0xFEDC2000, 0x1000) }) In Win8's device manager, I got error "This device cannot find enough free resources that it can use."
I reserve resource (0xFEDC2000 - 0xFEDC2FFF) using flag resource->flags = IORESOURCE_MEM | IORESOURCE_RESERVE | IORESOURCE_FIXED | IORESOURCE_STORED | IORESOURCE_ASSIGNED; I still got this error.
I have 2 questions:
- Do I need to reserve MMIO for (0xFEDC2000 - 0xFEDC2FFF)?
- Do I need to do some thing for IRQ(Edge, ActiveHigh, Exclusive) {3}?
Any replay is appreciated!
Yours sincerely, WANG Siyuan
-- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot