>From dmesg, RSDP should like these:
FreeBSD UEFI:
kernel: ACPI: RSDP 0x7ad8e014 00024 (v02 APPLE )

FreeBSD BIOS:
kernel: ACPI: RSDP 0xfe020 00024 (v02 APPLE )

Anyway I swapped order of efi_get_table(), I got the result:

Sep 27 07:49:33 mbp kernel: ACPI: RSDP 0x7ad8e000 00014 (v00 APPLE )
Sep 27 07:49:33 mbp kernel: ACPI: RSDT 0x7ad8e038 0005C (v01 APPLE
Apple00 00000000      01000013)
Sep 27 07:49:33 mbp kernel: ACPI: FACP 0x7ad8d000 00074 (v01 APPLE
Apple00 00000000 Loki 0000005F)
Sep 27 07:49:33 mbp kernel: ACPI: DSDT 0x7ad80000 06BF9 (v03 APPLE
MacBookP 00110002 INTL 20100915)
Sep 27 07:49:33 mbp kernel: ACPI: FACS 0x7ad1c000 00040
Sep 27 07:49:33 mbp kernel: ACPI: HPET 0x7ad8b000 00038 (v01 APPLE
Apple00 00000001 Loki 0000005F)
Sep 27 07:49:33 mbp kernel: ACPI: APIC 0x7ad8a000 000BC (v02 APPLE
Apple00 00000001 Loki 0000005F)
Sep 27 07:49:33 mbp kernel: ACPI: SBST 0x7ad88000 00030 (v01 APPLE
Apple00 00000001 Loki 0000005F)
Sep 27 07:49:33 mbp kernel: ACPI: ECDT 0x7ad87000 00053 (v01 APPLE
Apple00 00000001 Loki 0000005F)
Sep 27 07:49:33 mbp kernel: ACPI: SSDT 0x7ad7f000 0010B (v01 APPLE
SataAhci 00001000 INTL 20100915)
Sep 27 07:49:33 mbp kernel: ACPI: SSDT 0x7ad7e000 00024 (v01 APPLE
SmcDppt 00001000 INTL 20100915)
Sep 27 07:49:33 mbp kernel: ACPI: SSDT 0x7ad7c000 00688 (v01 APPLE
SDUsbLpt 00001000 INTL 20100915)
Sep 27 07:49:33 mbp kernel: ACPI: SSDT 0x7ad65000 09CE3 (v01 APPLE
TbtPEG11 00001000 INTL 20100915)
Sep 27 07:49:33 mbp kernel: ACPI: SSDT 0x7ad64000 000B8 (v01 APPLE
Sdxc 00001000 INTL 20100915)
Sep 27 07:49:33 mbp kernel: ACPI: SSDT 0x7ad62000 0065A (v01  PmRef
Cpu0Ist 00003000 INTL 20100915)
Sep 27 07:49:33 mbp kernel: ACPI: SSDT 0x7ad61000 00B83 (v01  PmRef
CpuPm 00003000 INTL 20100915)
Sep 27 07:49:33 mbp kernel: ACPI: MCFG 0x7ad89000 0003C (v01 APPLE
Apple00 00000001 Loki 0000005F)
Sep 27 07:49:33 mbp kernel: ACPI: DMAR 0x7ad60000 00088 (v01 APPLE
HSW  00000001 AAPL 00000001)


But xhci still not work.

2014-09-27 15:09 GMT+08:00 Hans Petter Selasky <h...@selasky.org>:

> On 09/27/14 00:59, Huang Wen Hui wrote:
>
>> Just for Ref, xhci works in UEFI mode of Fedora 20:
>> http://sw.gddsn.org.cn/freebsd/linux-dmesg.txt
>> http://sw.gddsn.org.cn/freebsd/linux-lspci.txt
>>
>>
> Hi,
>
> The Root ACPI descriptor has wrong address?
>
> FreeBSD UEFI:
> kernel: ACPI: RSDP 0xfe020 00024 (v02 APPLE )
>
> FreeBSD BIOS:
> kernel: ACPI: RSDP 0x7ad8e014 00024 (v02 APPLE )
>
> Linux UEFI:
> mbp kernel: ACPI: RSDP 0x7ad8e014 00024 (v02 APPLE )
>
>
> static int
> elf64_exec(struct preloaded_file *fp)
> {
>         struct file_metadata    *md;
>         Elf_Ehdr                *ehdr;
>         vm_offset_t             modulep, kernend, trampcode, trampstack;
>         int                     err, i;
>         ACPI_TABLE_RSDP         *rsdp;
>         char                    buf[24];
>         int                     revision;
>         EFI_STATUS              status;
>
>         rsdp = efi_get_table(&acpi20_guid);
>         if (rsdp == NULL) {
>                 rsdp = efi_get_table(&acpi_guid);
>         }
>
> Try swapping order of efi_get_table() ?
>
>         rsdp = efi_get_table(&acpi_guid);
>         if (rsdp == NULL) {
>                 rsdp = efi_get_table(&acpi20_guid);
>         }
>
> In "sys/boot/amd64/efi/elf64_freebsd.c".
>
> --HPS
>
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to