├── .gitattributes ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE.md └── workflows │ ├── main.yml │ ├── release.yml │ └── test.yml ├── .gitignore ├── .gitmodules ├── Config ├── cheeseburger.conf ├── chiron.conf ├── default.conf ├── dumpling.conf ├── htc_ocmdtwl.conf ├── joan.conf ├── mata.conf ├── nx563j.conf └── sagit.conf ├── Platforms ├── Msm8998ACPI │ ├── Common │ │ ├── README.md │ │ ├── build │ │ │ ├── BGRT.aml │ │ │ ├── CSRT.aml │ │ │ ├── DBG2.aml │ │ │ ├── DSDT.aml │ │ │ ├── FACP.aml │ │ │ ├── FACS.aml │ │ │ ├── GTDT.aml │ │ │ ├── IORT.aml │ │ │ ├── MCFG.aml │ │ │ ├── Madt.aml │ │ │ └── TPM2.aml │ │ └── src │ │ │ ├── BGRT.dsl │ │ │ ├── CSRT.dsl │ │ │ ├── DBG2.dsl │ │ │ ├── DSDT.dsl │ │ │ ├── FACP.dsl │ │ │ ├── FACS.dsl │ │ │ ├── GTDT.dsl │ │ │ ├── IORT.dsl │ │ │ ├── MCFG.dsl │ │ │ ├── Madt.dsl │ │ │ └── TPM2.dsl │ ├── essential │ │ ├── Common │ │ │ ├── HoyaSmmu.asl │ │ │ ├── HoyaSmmu_resources.asl │ │ │ ├── SCM.asl │ │ │ ├── abd.asl │ │ │ ├── adc.asl │ │ │ ├── addSub.asl │ │ │ ├── adsprpc.asl │ │ │ ├── audio_resources.asl │ │ │ ├── bam.asl │ │ │ ├── cbsp_mproc.asl │ │ │ ├── corebsp_resources.asl │ │ │ ├── crypto_resources.asl │ │ │ ├── cust_adc.asl │ │ │ ├── cust_arraybutton.asl │ │ │ ├── cust_hwn.asl │ │ │ ├── cust_thermal_zones.asl │ │ │ ├── data.asl │ │ │ ├── gps.asl │ │ │ ├── graphics_resources.asl │ │ │ ├── gsi.asl │ │ │ ├── ipa.asl │ │ │ ├── ipa_resources.asl │ │ │ ├── lib_mpm.asl │ │ │ ├── msft_resources.asl │ │ │ ├── oem_resources.asl │ │ │ ├── pcie.asl │ │ │ ├── pep_common.asl │ │ │ ├── pep_cpr.asl │ │ │ ├── pep_cprh.asl │ │ │ ├── pep_dbgSettings.asl │ │ │ ├── pep_dcvscfg.asl │ │ │ ├── pep_dvreg.asl │ │ │ ├── pep_idle.asl │ │ │ ├── pep_libSPM.asl │ │ │ ├── pep_lmh.asl │ │ │ ├── pep_lpi.asl │ │ │ ├── pep_resources.asl │ │ │ ├── pep_vddresources.asl │ │ │ ├── pmic_core.asl │ │ │ ├── qcdb.asl │ │ │ ├── qcgpio.asl │ │ │ ├── rfs.asl │ │ │ ├── sdc.asl │ │ │ ├── spmi.asl │ │ │ ├── ssm.asl │ │ │ ├── subsys_resources.asl │ │ │ ├── ufs.asl │ │ │ ├── vpp_cpr_temp_adjustment.asl │ │ │ ├── vpp_cpr_temp_point.asl │ │ │ ├── vpp_cpr_vc_band.asl │ │ │ ├── vpp_fuse_adjustment.asl │ │ │ ├── vpp_global_target_quotient.asl │ │ │ ├── vpp_kv.asl │ │ │ ├── vpp_osm_settings.asl │ │ │ ├── vpp_vc_adjustment.asl │ │ │ ├── vpp_voltage_settings.asl │ │ │ ├── wcnss_bt.asl │ │ │ └── wcnss_resources.asl │ │ └── mata │ │ │ ├── buses.asl │ │ │ ├── cust_camera.asl │ │ │ ├── cust_camera_exasoc.asl │ │ │ ├── cust_camera_resources.asl │ │ │ ├── cust_dsdt.asl │ │ │ ├── cust_pmic_batt.asl │ │ │ ├── cust_sensors.asl │ │ │ ├── cust_touch.asl │ │ │ ├── cust_touch_resources.asl │ │ │ ├── cust_win_mproc.asl │ │ │ ├── dsdt.aml │ │ │ ├── dsdt.asl │ │ │ ├── dsdt_common.asl │ │ │ ├── graphics.asl │ │ │ ├── panelcfg.asl │ │ │ ├── pep.asl │ │ │ ├── pep_defaults.asl │ │ │ ├── pep_tsens.asl │ │ │ ├── plat_win_mproc.asl │ │ │ ├── pmic_batt.asl │ │ │ ├── usb.asl │ │ │ ├── wcnss_wlan.asl │ │ │ └── win_mproc.asl │ ├── joan │ │ ├── TEST │ │ │ ├── acpi-hp-envy-x2-facp.dat │ │ │ ├── acpi-hp-envy-x2-facs.dat │ │ │ ├── acpi-hp-envy-x2-ssdt.dat │ │ │ ├── acpi-hp-envy-x2-ssdt1.dat │ │ │ ├── acpi-hp-envy-x2-ssdt2.dat │ │ │ ├── acpi-hp-envy-x2-ssdt3.dat │ │ │ └── acpi-hp-envy-x2-xsdt.dat │ │ ├── cust_touch.asl │ │ ├── cust_touch_resources.asl │ │ ├── dsdt.aml │ │ ├── dsdt.asl │ │ └── panelcfg.asl │ ├── nubia │ │ ├── Common │ │ │ ├── HoyaSmmu.asl │ │ │ ├── HoyaSmmu_resources.asl │ │ │ ├── SCM.asl │ │ │ ├── abd.asl │ │ │ ├── adc.asl │ │ │ ├── addSub.asl │ │ │ ├── adsprpc.asl │ │ │ ├── audio_resources.asl │ │ │ ├── bam.asl │ │ │ ├── cbsp_mproc.asl │ │ │ ├── corebsp_resources.asl │ │ │ ├── crypto_resources.asl │ │ │ ├── cust_adc.asl │ │ │ ├── cust_arraybutton.asl │ │ │ ├── cust_dsdt.asl │ │ │ ├── cust_hwn.asl │ │ │ ├── cust_thermal_zones.asl │ │ │ ├── cust_win_mproc.asl │ │ │ ├── data.asl │ │ │ ├── gps.asl │ │ │ ├── graphics_resources.asl │ │ │ ├── gsi.asl │ │ │ ├── ipa.asl │ │ │ ├── ipa_resources.asl │ │ │ ├── lib_mpm.asl │ │ │ ├── msft_resources.asl │ │ │ ├── oem_resources.asl │ │ │ ├── pcie.asl │ │ │ ├── pep.asl │ │ │ ├── pep_common.asl │ │ │ ├── pep_cpr.asl │ │ │ ├── pep_cprh.asl │ │ │ ├── pep_dbgSettings.asl │ │ │ ├── pep_dcvscfg.asl │ │ │ ├── pep_defaults.asl │ │ │ ├── pep_dvreg.asl │ │ │ ├── pep_idle.asl │ │ │ ├── pep_libSPM.asl │ │ │ ├── pep_lmh.asl │ │ │ ├── pep_lpi.asl │ │ │ ├── pep_resources.asl │ │ │ ├── pep_tsens.asl │ │ │ ├── pep_vddresources.asl │ │ │ ├── plat_win_mproc.asl │ │ │ ├── pmic_core.asl │ │ │ ├── qcdb.asl │ │ │ ├── qcgpio.asl │ │ │ ├── rfs.asl │ │ │ ├── sdc.asl │ │ │ ├── spmi.asl │ │ │ ├── ssm.asl │ │ │ ├── subsys_resources.asl │ │ │ ├── ufs.asl │ │ │ ├── usb.asl │ │ │ ├── vpp_cpr_temp_adjustment.asl │ │ │ ├── vpp_cpr_temp_point.asl │ │ │ ├── vpp_cpr_vc_band.asl │ │ │ ├── vpp_fuse_adjustment.asl │ │ │ ├── vpp_global_target_quotient.asl │ │ │ ├── vpp_kv.asl │ │ │ ├── vpp_osm_settings.asl │ │ │ ├── vpp_vc_adjustment.asl │ │ │ ├── vpp_voltage_settings.asl │ │ │ ├── wcnss_bt.asl │ │ │ ├── wcnss_resources.asl │ │ │ └── wcnss_wlan.asl │ │ └── nx563j │ │ │ ├── buses.asl │ │ │ ├── cust_camera.asl │ │ │ ├── cust_camera_exasoc.asl │ │ │ ├── cust_camera_resources.asl │ │ │ ├── cust_pmic_batt.asl │ │ │ ├── cust_sensors.asl │ │ │ ├── cust_touch.asl │ │ │ ├── cust_touch_resources.asl │ │ │ ├── dsdt.aml │ │ │ ├── dsdt.asl │ │ │ ├── dsdt_common.asl │ │ │ ├── graphics.asl │ │ │ ├── panelcfg.asl │ │ │ ├── pmic_batt.asl │ │ │ └── win_mproc.asl │ ├── oneplus │ │ ├── Common │ │ │ ├── HoyaSmmu.asl │ │ │ ├── HoyaSmmu_resources.asl │ │ │ ├── SCM.asl │ │ │ ├── abd.asl │ │ │ ├── addSub.asl │ │ │ ├── adsprpc.asl │ │ │ ├── audio_resources.asl │ │ │ ├── bam.asl │ │ │ ├── cbsp_mproc.asl │ │ │ ├── corebsp_resources.asl │ │ │ ├── crypto_resources.asl │ │ │ ├── cust_arraybutton.asl │ │ │ ├── cust_camera.asl │ │ │ ├── cust_camera_exasoc.asl │ │ │ ├── cust_hwn.asl │ │ │ ├── cust_sensors.asl │ │ │ ├── cust_thermal_zones.asl │ │ │ ├── data.asl │ │ │ ├── gps.asl │ │ │ ├── graphics_resources.asl │ │ │ ├── gsi.asl │ │ │ ├── ipa.asl │ │ │ ├── ipa_resources.asl │ │ │ ├── lib_mpm.asl │ │ │ ├── msft_resources.asl │ │ │ ├── oem_resources.asl │ │ │ ├── pcie.asl │ │ │ ├── pep.asl │ │ │ ├── pep_common.asl │ │ │ ├── pep_cpr.asl │ │ │ ├── pep_cprh.asl │ │ │ ├── pep_dbgSettings.asl │ │ │ ├── pep_dcvscfg.asl │ │ │ ├── pep_dvreg.asl │ │ │ ├── pep_idle.asl │ │ │ ├── pep_libSPM.asl │ │ │ ├── pep_lmh.asl │ │ │ ├── pep_lpi.asl │ │ │ ├── pep_resources.asl │ │ │ ├── pep_vddresources.asl │ │ │ ├── pmic_batt_fuel_gauges.asl │ │ │ ├── pmic_core.asl │ │ │ ├── qcdb.asl │ │ │ ├── qcgpio.asl │ │ │ ├── rfs.asl │ │ │ ├── sdc.asl │ │ │ ├── spmi.asl │ │ │ ├── ssm.asl │ │ │ ├── subsys_resources.asl │ │ │ ├── ufs.asl │ │ │ ├── usb.asl │ │ │ ├── vpp_cpr_temp_adjustment.asl │ │ │ ├── vpp_cpr_temp_point.asl │ │ │ ├── vpp_cpr_vc_band.asl │ │ │ ├── vpp_fuse_adjustment.asl │ │ │ ├── vpp_global_target_quotient.asl │ │ │ ├── vpp_kv.asl │ │ │ ├── vpp_osm_settings.asl │ │ │ ├── vpp_vc_adjustment.asl │ │ │ ├── vpp_voltage_settings.asl │ │ │ ├── wcnss_bt.asl │ │ │ └── wcnss_resources.asl │ │ ├── cheeseburger │ │ │ ├── adc.asl │ │ │ ├── buses.asl │ │ │ ├── cust_adc.asl │ │ │ ├── cust_camera_resources.asl │ │ │ ├── cust_dsdt.asl │ │ │ ├── cust_pmic_batt.asl │ │ │ ├── cust_touch.asl │ │ │ ├── cust_touch_resources.asl │ │ │ ├── cust_win_mproc.asl │ │ │ ├── dsdt.aml │ │ │ ├── dsdt.asl │ │ │ ├── dsdt_common.asl │ │ │ ├── graphics.asl │ │ │ ├── panelcfg.asl │ │ │ ├── pep_defaults.asl │ │ │ ├── pep_tsens.asl │ │ │ ├── plat_win_mproc.asl │ │ │ ├── pmic_batt.asl │ │ │ ├── wcnss_wlan.asl │ │ │ └── win_mproc.asl │ │ └── dumpling │ │ │ ├── adc.asl │ │ │ ├── buses.asl │ │ │ ├── cust_adc.asl │ │ │ ├── cust_camera_resources.asl │ │ │ ├── cust_dsdt.asl │ │ │ ├── cust_pmic_batt.asl │ │ │ ├── cust_touch.asl │ │ │ ├── cust_touch_resources.asl │ │ │ ├── cust_win_mproc.asl │ │ │ ├── dsdt.aml │ │ │ ├── dsdt.asl │ │ │ ├── dsdt_common.asl │ │ │ ├── graphics.asl │ │ │ ├── panelcfg.asl │ │ │ ├── pep_defaults.asl │ │ │ ├── pep_tsens.asl │ │ │ ├── plat_win_mproc.asl │ │ │ ├── pmic_batt.asl │ │ │ ├── wcnss_wlan.asl │ │ │ └── win_mproc.asl │ └── xiaomi │ │ ├── chiron │ │ ├── DisplayXML.asl │ │ ├── adc.asl │ │ ├── bam_devices.asl │ │ ├── cust_adc.asl │ │ ├── cust_pmic_batt.asl │ │ ├── cust_thermal_zones.asl │ │ ├── cust_touch.asl │ │ ├── cust_touch_resources.asl │ │ ├── dsdt.aml │ │ ├── dsdt.asl │ │ ├── pmic_batt.asl │ │ ├── wcnss_bt.asl │ │ └── wcnss_resources.asl │ │ └── sagit │ │ ├── DisplayXML.asl │ │ ├── adc.asl │ │ ├── bam_devices.asl │ │ ├── cust_adc.asl │ │ ├── cust_pmic_batt.asl │ │ ├── cust_thermal_zones.asl │ │ ├── cust_touch.asl │ │ ├── cust_touch_resources.asl │ │ ├── dsdt.aml │ │ ├── dsdt.asl │ │ ├── pmic_batt.asl │ │ ├── wcnss_bt.asl │ │ └── wcnss_resources.asl ├── Msm8998Binaries │ ├── cheeseburger │ │ ├── APRIORI.inc │ │ ├── Binaries │ │ │ └── TzDxe │ │ │ │ ├── TzDxeLA.depex │ │ │ │ ├── TzDxeLA.efi │ │ │ │ └── TzDxeLA.inf │ │ ├── PatchedBinaries │ │ │ └── ButtonsDxe │ │ │ │ ├── ButtonsDxe.depex │ │ │ │ ├── ButtonsDxe.efi │ │ │ │ └── ButtonsDxe.inf │ │ └── dxe.inc │ ├── chiron │ │ ├── APRIORI.inc │ │ ├── PatchedBinaries │ │ │ └── ButtonsDxe │ │ │ │ ├── ButtonsDxe.depex │ │ │ │ ├── ButtonsDxe.efi │ │ │ │ └── ButtonsDxe.inf │ │ └── dxe.inc │ ├── common │ │ ├── Binaries │ │ │ ├── AdcDxe │ │ │ │ ├── AdcDxe.depex │ │ │ │ ├── AdcDxe.efi │ │ │ │ └── AdcDxe.inf │ │ │ ├── ButtonsDxe │ │ │ │ ├── ButtonsDxe.depex │ │ │ │ ├── ButtonsDxe.efi │ │ │ │ └── ButtonsDxe.inf │ │ │ ├── ChipInfo │ │ │ │ ├── ChipInfo.depex │ │ │ │ ├── ChipInfo.efi │ │ │ │ └── ChipInfo.inf │ │ │ ├── ClockDxe │ │ │ │ ├── ClockDxe.depex │ │ │ │ ├── ClockDxe.efi │ │ │ │ └── ClockDxe.inf │ │ │ ├── DALSys │ │ │ │ ├── DALSys.depex │ │ │ │ ├── DALSys.efi │ │ │ │ └── DALSys.inf │ │ │ ├── DALTLMM │ │ │ │ ├── DALTLMM.depex │ │ │ │ ├── DALTLMM.efi │ │ │ │ └── DALTLMM.inf │ │ │ ├── GlinkDxe │ │ │ │ ├── GlinkDxe.depex │ │ │ │ ├── GlinkDxe.efi │ │ │ │ └── GlinkDxe.inf │ │ │ ├── HWIODxeDriver │ │ │ │ ├── HWIODxeDriver.depex │ │ │ │ ├── HWIODxeDriver.efi │ │ │ │ └── HWIODxeDriver.inf │ │ │ ├── I2C │ │ │ │ ├── I2C.depex │ │ │ │ ├── I2C.efi │ │ │ │ └── I2C.inf │ │ │ ├── MpPowerDxe │ │ │ │ ├── MpPowerDxe.depex │ │ │ │ ├── MpPowerDxe.efi │ │ │ │ └── MpPowerDxe.inf │ │ │ ├── NpaDxe │ │ │ │ ├── NpaDxe.depex │ │ │ │ ├── NpaDxe.efi │ │ │ │ └── NpaDxe.inf │ │ │ ├── PlatformInfoDxeDriver │ │ │ │ ├── PlatformInfoDxeDriver.depex │ │ │ │ ├── PlatformInfoDxeDriver.efi │ │ │ │ └── PlatformInfoDxeDriver.inf │ │ │ ├── PmicDxe │ │ │ │ ├── PmicDxe.depex │ │ │ │ ├── PmicDxe.efi │ │ │ │ └── PmicDxe.inf │ │ │ ├── SPI │ │ │ │ ├── SPI.depex │ │ │ │ ├── SPI.efi │ │ │ │ └── SPI.inf │ │ │ ├── SPMI │ │ │ │ ├── SPMI.depex │ │ │ │ ├── SPMI.efi │ │ │ │ └── SPMI.inf │ │ │ ├── SdccDxe │ │ │ │ ├── SdccDxe.depex │ │ │ │ ├── SdccDxe.efi │ │ │ │ └── SdccDxe.inf │ │ │ ├── SmemDxe │ │ │ │ ├── SmemDxe.depex │ │ │ │ ├── SmemDxe.efi │ │ │ │ └── SmemDxe.inf │ │ │ ├── UFSDxe │ │ │ │ ├── UFSDxe.depex │ │ │ │ ├── UFSDxe.efi │ │ │ │ └── UFSDxe.inf │ │ │ ├── ULogDxe │ │ │ │ ├── ULogDxe.depex │ │ │ │ ├── ULogDxe.efi │ │ │ │ └── ULogDxe.inf │ │ │ ├── UsbConfigDxe │ │ │ │ ├── UsbConfigDxe.depex │ │ │ │ ├── UsbConfigDxe.efi │ │ │ │ └── UsbConfigDxe.inf │ │ │ ├── UsbDeviceDxe │ │ │ │ ├── UsbDeviceDxe.depex │ │ │ │ ├── UsbDeviceDxe.efi │ │ │ │ └── UsbDeviceDxe.inf │ │ │ ├── UsbInitDxe │ │ │ │ ├── UsbInitDxe.depex │ │ │ │ ├── UsbInitDxe.efi │ │ │ │ └── UsbInitDxe.inf │ │ │ ├── UsbKbDxe │ │ │ │ ├── UsbKbDxe.efi │ │ │ │ └── UsbKbDxe.inf │ │ │ ├── UsbMouseDxe │ │ │ │ ├── UsbMouseDxe.efi │ │ │ │ └── UsbMouseDxe.inf │ │ │ ├── UsbMsdDxe │ │ │ │ ├── UsbMsdDxe.depex │ │ │ │ ├── UsbMsdDxe.efi │ │ │ │ └── UsbMsdDxe.inf │ │ │ ├── UsbTypeCDxe │ │ │ │ ├── UsbTypeCDxe.depex │ │ │ │ ├── UsbTypeCDxe.efi │ │ │ │ └── UsbTypeCDxe.inf │ │ │ ├── UsbfnChgDxe │ │ │ │ ├── UsbfnChgDxe.depex │ │ │ │ ├── UsbfnChgDxe.efi │ │ │ │ └── UsbfnChgDxe.inf │ │ │ ├── UsbfnDwc3Dxe │ │ │ │ ├── UsbfnDwc3Dxe.depex │ │ │ │ ├── UsbfnDwc3Dxe.efi │ │ │ │ └── UsbfnDwc3Dxe.inf │ │ │ ├── XhciDxe │ │ │ │ ├── XhciDxe.efi │ │ │ │ └── XhciDxe.inf │ │ │ └── XhciPciEmulation │ │ │ │ ├── XhciPciEmulation.depex │ │ │ │ ├── XhciPciEmulation.efi │ │ │ │ └── XhciPciEmulation.inf │ │ └── dxe.inc │ ├── htc_ocmdtwl │ │ ├── APRIORI.inc │ │ ├── PatchedBinaries │ │ │ └── ButtonsDxe │ │ │ │ ├── ButtonsDxe.depex │ │ │ │ ├── ButtonsDxe.efi │ │ │ │ └── ButtonsDxe.inf │ │ └── dxe.inc │ ├── joan │ │ ├── APRIORI.inc │ │ ├── PatchedBinaries │ │ │ └── ButtonsDxe │ │ │ │ ├── ButtonsDxe.depex │ │ │ │ ├── ButtonsDxe.efi │ │ │ │ └── ButtonsDxe.inf │ │ └── dxe.inc │ └── sagit │ │ ├── APRIORI.inc │ │ ├── PatchedBinaries │ │ └── ButtonsDxe │ │ │ ├── ButtonsDxe.depex │ │ │ ├── ButtonsDxe.efi │ │ │ └── ButtonsDxe.inf │ │ └── dxe.inc ├── Msm8998FamilyPkg │ ├── Drivers │ │ ├── GenericKeypadDeviceDxe │ │ │ ├── GenericKeypadDevice.c │ │ │ └── GenericKeypadDeviceDxe.inf │ │ ├── KeypadDxe │ │ │ ├── ComponentName.c │ │ │ ├── Keypad.c │ │ │ ├── Keypad.h │ │ │ ├── KeypadController.c │ │ │ ├── KeypadDxe.inf │ │ │ ├── KeypadTextIn.c │ │ │ └── Source.txt │ │ ├── LogoDxe │ │ │ ├── Logo.bmp │ │ │ ├── Logo.c │ │ │ ├── Logo.idf │ │ │ ├── Logo.inf │ │ │ ├── Logo.uni │ │ │ ├── LogoDxe.inf │ │ │ ├── LogoDxe.uni │ │ │ ├── LogoDxeExtra.uni │ │ │ └── LogoExtra.uni │ │ ├── PlatformSmbiosDxe │ │ │ ├── PlatformSmbiosDxe.c │ │ │ └── PlatformSmbiosDxe.inf │ │ ├── SimpleFbDxe │ │ │ ├── SimpleFbDxe.c │ │ │ └── SimpleFbDxe.inf │ │ ├── SynapticsRmi4Dxe │ │ │ ├── ComponentName.c │ │ │ ├── I2cOps.c │ │ │ ├── SynapticsRmi4.h │ │ │ ├── SynapticsTouchDevice.c │ │ │ ├── SynapticsTouchDevice.inf │ │ │ ├── SynapticsTouchDxe.c │ │ │ └── SynapticsTouchDxe.inf │ │ └── msm8998Dxe │ │ │ ├── msm8998Dxe.c │ │ │ ├── msm8998Dxe.h │ │ │ └── msm8998Dxe.inf │ ├── Include │ │ ├── ArmPlatform.h │ │ ├── Configuration │ │ │ ├── BootDevices.h │ │ │ └── Hob.h │ │ ├── Library │ │ │ ├── FdtParserLib.h │ │ │ ├── FrameBufferSerialPortLib.h │ │ │ └── PlatformMemoryMapLib.h │ │ └── Resources │ │ │ ├── FbColor.h │ │ │ └── font5x12.h │ ├── Library │ │ ├── ArmMmuLib │ │ │ ├── AArch64 │ │ │ │ ├── ArmMmuLibCore.c │ │ │ │ ├── ArmMmuLibReplaceEntry.S │ │ │ │ └── ArmMmuPeiLibConstructor.c │ │ │ ├── Arm │ │ │ │ ├── ArmMmuLibCore.c │ │ │ │ ├── ArmMmuLibV7Support.S │ │ │ │ └── ArmMmuLibV7Support.asm │ │ │ ├── ArmMmuBaseLib.inf │ │ │ └── ArmMmuPeiLib.inf │ │ ├── ArmPlatformLib │ │ │ ├── AArch64 │ │ │ │ └── ArmPlatformHelper.S │ │ │ ├── ArmPlatformLib.c │ │ │ ├── ArmPlatformLib.inf │ │ │ └── ArmPlatformLibMem.c │ │ ├── FrameBufferSerialPortLib │ │ │ ├── FrameBufferSerialPortLib.c │ │ │ ├── FrameBufferSerialPortLib.h │ │ │ └── FrameBufferSerialPortLib.inf │ │ ├── InMemorySerialPortLib │ │ │ ├── InMemorySerialPortLib.c │ │ │ ├── InMemorySerialPortLib.inf │ │ │ └── InMemorySerialPortLib.uni │ │ ├── PlatformBootManagerLib │ │ │ ├── PlatformBm.c │ │ │ ├── PlatformBm.h │ │ │ └── PlatformBootManagerLib.inf │ │ └── VirtualRealTimeClockLib │ │ │ ├── VirtualRealTimeClockLib.c │ │ │ └── VirtualRealTimeClockLib.inf │ ├── LinuxSimpleMassStorage │ │ ├── LinuxSimpleMassStorage.efi │ │ └── LinuxSimpleMassStorage.inf │ ├── MemoryInitPei │ │ ├── MemoryInitPeiLib.c │ │ └── MemoryInitPeiLib.inf │ ├── Msm8998FamilyPkg.dec │ ├── Msm8998FamilyPkg.dsc.inc │ └── Msm8998FamilyPkg.fdf.inc └── Msm8998Pkg │ ├── Device │ ├── essential │ │ └── mata │ │ │ ├── DeviceTreeBlob │ │ │ ├── Android │ │ │ │ └── Android-mata.dtb │ │ │ └── Linux │ │ │ │ └── msm8998-generic-msd.dtb │ │ │ ├── mata.dsc │ │ │ └── mata.fdf │ ├── htc │ │ └── htc_ocmdtwl │ │ │ ├── DeviceTreeBlob │ │ │ └── Android │ │ │ │ └── Android-htc_ocmdtwl.dtb │ │ │ ├── htc_ocmdtwl.dsc │ │ │ └── htc_ocmdtwl.fdf │ ├── lg │ │ └── joan │ │ │ ├── DeviceTreeBlob │ │ │ └── Android │ │ │ │ └── Android-joan.dtb │ │ │ ├── joan.dsc │ │ │ └── joan.fdf │ ├── nubia │ │ └── nx563j │ │ │ ├── DeviceTreeBlob │ │ │ ├── Android │ │ │ │ └── Android-nx563j.dtb │ │ │ └── Linux │ │ │ │ └── msm8998-generic-msd.dtb │ │ │ ├── nx563j.dsc │ │ │ └── nx563j.fdf │ ├── oneplus │ │ ├── cheeseburger │ │ │ ├── DeviceTreeBlob │ │ │ │ ├── Android │ │ │ │ │ └── Android-cheeseburger.dtb │ │ │ │ └── Linux │ │ │ │ │ └── Linux-cheeseburger.dtb │ │ │ ├── cheeseburger.dsc │ │ │ └── cheeseburger.fdf │ │ └── dumpling │ │ │ ├── DeviceTreeBlob │ │ │ ├── Android │ │ │ │ └── Android-dumpling.dtb │ │ │ └── Linux │ │ │ │ └── Linux-dumpling.dtb │ │ │ ├── dumpling.dsc │ │ │ └── dumpling.fdf │ └── xiaomi │ │ ├── chiron │ │ ├── DeviceTreeBlob │ │ │ ├── Android │ │ │ │ └── Android-chiron.dtb │ │ │ └── Linux │ │ │ │ └── msm8998-generic-msd.dtb │ │ ├── chiron.dsc │ │ └── chiron.fdf │ │ └── sagit │ │ ├── DeviceTreeBlob │ │ ├── Android │ │ │ └── Android-sagit.dtb │ │ └── Linux │ │ │ └── msm8998-generic-msd.dtb │ │ ├── sagit.dsc │ │ └── sagit.fdf │ └── Msm8998.dsc ├── README.md ├── README.zh.md ├── Silicon └── QC │ └── Msm8998 │ └── QcomPkg │ ├── Library │ ├── PlatformMemoryMapLib │ │ ├── PlatformMemoryMapLib.c │ │ └── PlatformMemoryMapLib.inf │ └── PlatformPeiLib │ │ ├── PlatformPeiLib.c │ │ └── PlatformPeiLib.inf │ └── QcomPkg.dsc.inc ├── build.sh └── mkbootimg.py /.gitattributes: -------------------------------------------------------------------------------- 1 | *.asl linguist-language=c 2 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: renegade_proj 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: ['https://afdian.net/@renegade'] -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ### Prerequisites 2 | 3 | * [ ] Have you read the readme? 4 | * [ ] Do you (want to) have your device in the supported list? 5 | * [ ] Does the device have a Snapdragon 835 SOC? 6 | 7 | ### Description 8 | 9 | [Description of the bug or feature] 10 | 11 | **Expected behavior:** [What you expected to happen] 12 | 13 | **Actual behavior:** [What actually happened] -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- 1 | # This is a basic workflow to help you get started with Actions 2 | 3 | name: CI 4 | 5 | # Controls when the action will run. Triggers the workflow on push or pull request 6 | # events but only for the master branch 7 | on: 8 | push: 9 | branches: [new] 10 | 11 | # A workflow run is made up of one or more jobs that can run sequentially or in parallel 12 | jobs: 13 | # This workflow contains a single job called "build" 14 | build: 15 | name: Image Build 16 | # The type of runner that the job will run on 17 | runs-on: ubuntu-latest 18 | 19 | strategy: 20 | max-parallel: 8 21 | matrix: 22 | device: 23 | - dumpling 24 | - cheeseburger 25 | - joan 26 | - chiron 27 | - sagit 28 | - htc_ocmdtwl 29 | - mata 30 | - nx563j 31 | 32 | # Steps represent a sequence of tasks that will be executed as part of the job 33 | steps: 34 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 35 | - name: Checkout repository 36 | uses: actions/checkout@v3 37 | 38 | - name: Install requires packages 39 | run: | 40 | sudo apt-get update 41 | sudo apt-get -y install build-essential uuid-dev iasl nasm gcc-aarch64-linux-gnu abootimg python3-distutils python3-pil python3-git gettext 42 | 43 | - name: Build device ${{ matrix.device }} 44 | run: | 45 | ./build.sh --device ${{ matrix.device }} 46 | 47 | - name: Upload a Build Artifact 48 | uses: actions/upload-artifact@v3 49 | with: # Artifact name 50 | name: ${{ matrix.device }} 51 | # A file, directory or wildcard pattern that describes what to upload 52 | path: ./*.img 53 | -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | name: release 2 | 3 | on: 4 | push: 5 | tags: 6 | - '*' 7 | 8 | jobs: 9 | build: 10 | name: build_release 11 | runs-on: ubuntu-latest 12 | 13 | strategy: 14 | max-parallel: 8 15 | matrix: 16 | device: 17 | - dumpling 18 | - cheeseburger 19 | - joan 20 | - chiron 21 | - sagit 22 | - htc_ocmdtwl 23 | - mata 24 | - nx563j 25 | 26 | steps: 27 | - name: Checkout repository 28 | uses: actions/checkout@v3 29 | 30 | - name: Install requires packages 31 | run: | 32 | sudo apt-get update 33 | sudo apt-get -y install build-essential uuid-dev iasl nasm gcc-aarch64-linux-gnu abootimg python3-distutils python3-pil python3-git gettext 34 | 35 | - name: Build device ${{ matrix.device }} 36 | run: | 37 | ./build.sh --device ${{ matrix.device }} 38 | 39 | - name: Release 40 | uses: softprops/action-gh-release@v1 41 | with: 42 | body: To be filled. 待填充 43 | files: boot-${{ matrix.device }}.img 44 | -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- 1 | # This is a basic workflow to help you get started with Actions 2 | 3 | name: TEST-CI(Refactor/test/2023/05) 4 | 5 | # Controls when the action will run. Triggers the workflow on push or pull request 6 | # events but only for the master branch 7 | on: 8 | push: 9 | branches: [Refactor/test/2023/05] 10 | pull_request: 11 | branches: [Refactor/test/2023/05] 12 | 13 | # A workflow run is made up of one or more jobs that can run sequentially or in parallel 14 | jobs: 15 | # This workflow contains a single job called "build" 16 | build: 17 | name: Image Build 18 | # The type of runner that the job will run on 19 | runs-on: ubuntu-latest 20 | 21 | strategy: 22 | max-parallel: 8 23 | matrix: 24 | device: 25 | - dumpling 26 | - cheeseburger 27 | - joan 28 | - chiron 29 | - sagit 30 | 31 | # Steps represent a sequence of tasks that will be executed as part of the job 32 | steps: 33 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 34 | - name: Checkout repository 35 | uses: actions/checkout@v3 36 | 37 | - name: Install requires packages 38 | run: | 39 | sudo apt-get update 40 | sudo apt-get -y install build-essential uuid-dev iasl nasm gcc-aarch64-linux-gnu abootimg python3-distutils python3-pil python3-git gettext 41 | 42 | - name: Build device ${{ matrix.device }} 43 | run: | 44 | ./build.sh --device ${{ matrix.device }} -r DEBUG 45 | 46 | - name: Upload a Build Artifact 47 | uses: actions/upload-artifact@v3 48 | with: # Artifact name 49 | name: ${{ matrix.device }} 50 | # A file, directory or wildcard pattern that describes what to upload 51 | path: ./*.img 52 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | boot-*.img 2 | uefi-*.img 3 | uefi-*.img-dtb 4 | uefi-*.img.gz 5 | uefi-*.img.gz-dtb 6 | workspace 7 | *.dll 8 | ramdisk 9 | .vscode 10 | *.swp 11 | *.rej 12 | *.orig 13 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "edk2"] 2 | path = Common/edk2 3 | url = https://github.com/tianocore/edk2.git 4 | [submodule "edk2-platforms"] 5 | path = Common/edk2-platforms 6 | url = https://github.com/tianocore/edk2-platforms.git 7 | [submodule "GPLDrivers/Library/simple-init"] 8 | path = GPLDrivers/Library/simple-init 9 | url = https://github.com/BigfootACA/simple-init 10 | -------------------------------------------------------------------------------- /Config/cheeseburger.conf: -------------------------------------------------------------------------------- 1 | # Device Name 2 | VENDOR_NAME="oneplus" 3 | 4 | # Path used to compile ACPI during the generation process 5 | DSDT_FILE="Platforms/Msm8998ACPI/oneplus/cheeseburger/dsdt.asl" 6 | 7 | # Generate Boot Configuration 8 | BOOTIMG_OS_PATCH_LEVEL="2022-08" 9 | BOOTIMG_OS_VERSION=12.0.0 10 | 11 | -------------------------------------------------------------------------------- /Config/chiron.conf: -------------------------------------------------------------------------------- 1 | # Device Name 2 | VENDOR_NAME="xiaomi" 3 | 4 | # Path used to compile ACPI during the generation process 5 | DSDT_FILE="Platforms/Msm8998ACPI/xiaomi/chiron/dsdt.asl" 6 | 7 | # Generate Boot Configuration 8 | BOOTIMG_OS_PATCH_LEVEL="2022-08" 9 | BOOTIMG_OS_VERSION=12.0.0 10 | 11 | -------------------------------------------------------------------------------- /Config/default.conf: -------------------------------------------------------------------------------- 1 | # Device DSC and DTB locations 2 | DSC_FILE="Platforms/Msm8998Pkg/Device/${VENDOR_NAME}/${DEVICE}/${DEVICE}.dsc" 3 | DTB_FILE="Platforms/Msm8998Pkg/Device/${VENDOR_NAME}/${DEVICE}/DeviceTreeBlob/Android/Android-${DEVICE}.dtb" 4 | -------------------------------------------------------------------------------- /Config/dumpling.conf: -------------------------------------------------------------------------------- 1 | # Device Name 2 | VENDOR_NAME="oneplus" 3 | 4 | # Path used to compile ACPI during the generation process 5 | DSDT_FILE="Platforms/Msm8998ACPI/oneplus/dumpling/dsdt.asl" 6 | 7 | # Generate Boot Configuration 8 | BOOTIMG_OS_PATCH_LEVEL="2022-08" 9 | BOOTIMG_OS_VERSION=12.0.0 10 | 11 | -------------------------------------------------------------------------------- /Config/htc_ocmdtwl.conf: -------------------------------------------------------------------------------- 1 | # Device Name 2 | VENDOR_NAME="htc" 3 | 4 | # Path used to compile ACPI during the generation process 5 | #DSDT_FILE="Platforms/Msm8998ACPI/htc_ocmdtwl/dsdt.asl" 6 | 7 | # Generate Boot Configuration 8 | BOOTIMG_OS_PATCH_LEVEL="2019-07" 9 | BOOTIMG_OS_VERSION=9.0.0 10 | 11 | -------------------------------------------------------------------------------- /Config/joan.conf: -------------------------------------------------------------------------------- 1 | # Device Name 2 | VENDOR_NAME="lg" 3 | 4 | # Path used to compile ACPI during the generation process 5 | DSDT_FILE="Platforms/Msm8998ACPI/joan/dsdt.asl" 6 | 7 | # Generate Boot Configuration 8 | BOOTIMG_OS_PATCH_LEVEL="2022-08" 9 | BOOTIMG_OS_VERSION=12.0.0 10 | 11 | -------------------------------------------------------------------------------- /Config/mata.conf: -------------------------------------------------------------------------------- 1 | # Device Name 2 | VENDOR_NAME="essential" 3 | 4 | # Path used to compile ACPI during the generation process 5 | DSDT_FILE="Platforms/Msm8998ACPI/essential/mata/dsdt.asl" 6 | 7 | # Generate Boot Configuration 8 | BOOTIMG_OS_PATCH_LEVEL="2022-08" 9 | BOOTIMG_OS_VERSION=12.0.0 10 | 11 | -------------------------------------------------------------------------------- /Config/nx563j.conf: -------------------------------------------------------------------------------- 1 | # Device Name 2 | VENDOR_NAME="nubia" 3 | 4 | # Path used to compile ACPI during the generation process 5 | DSDT_FILE="Platforms/Msm8998ACPI/nubia/nx563j/dsdt.asl" 6 | 7 | # Generate Boot Configuration 8 | BOOTIMG_OS_PATCH_LEVEL="2022-08" 9 | BOOTIMG_OS_VERSION=12.0.0 10 | 11 | -------------------------------------------------------------------------------- /Config/sagit.conf: -------------------------------------------------------------------------------- 1 | # Device Name 2 | VENDOR_NAME="xiaomi" 3 | 4 | # Path used to compile ACPI during the generation process 5 | DSDT_FILE="Platforms/Msm8998ACPI/xiaomi/sagit/dsdt.asl" 6 | 7 | # Generate Boot Configuration 8 | BOOTIMG_OS_PATCH_LEVEL="2022-08" 9 | BOOTIMG_OS_VERSION=12.0.0 10 | 11 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/Common/README.md: -------------------------------------------------------------------------------- 1 | # MSM8998 ACPI 2 | - This file is designed to provide shared ACPI files 3 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/Common/build/BGRT.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998ACPI/Common/build/BGRT.aml -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/Common/build/CSRT.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998ACPI/Common/build/CSRT.aml -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/Common/build/DBG2.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998ACPI/Common/build/DBG2.aml -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/Common/build/DSDT.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998ACPI/Common/build/DSDT.aml -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/Common/build/FACP.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998ACPI/Common/build/FACP.aml -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/Common/build/FACS.aml: -------------------------------------------------------------------------------- 1 | FACS@ -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/Common/build/GTDT.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998ACPI/Common/build/GTDT.aml -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/Common/build/IORT.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998ACPI/Common/build/IORT.aml -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/Common/build/MCFG.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998ACPI/Common/build/MCFG.aml -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/Common/build/Madt.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998ACPI/Common/build/Madt.aml -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/Common/build/TPM2.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998ACPI/Common/build/TPM2.aml -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/Common/src/BGRT.dsl: -------------------------------------------------------------------------------- 1 | /* 2 | * Intel ACPI Component Architecture 3 | * AML/ASL+ Disassembler version 20200925 (64-bit version) 4 | * Copyright (c) 2000 - 2020 Intel Corporation 5 | * 6 | * Disassembly of BGRT.aml, Tue May 2 20:07:05 2023 7 | * 8 | * ACPI Data Table [BGRT] 9 | * 10 | * Format: [HexOffset DecimalOffset ByteLength] FieldName : FieldValue 11 | */ 12 | 13 | [000h 0000 4] Signature : "BGRT" [Boot Graphics Resource Table] 14 | [004h 0004 4] Table Length : 00000038 15 | [008h 0008 1] Revision : 01 16 | [009h 0009 1] Checksum : 00 /* Incorrect checksum, should be FF */ 17 | [00Ah 0010 6] Oem ID : "QCOM " 18 | [010h 0016 8] Oem Table ID : "QCOMEDK2" 19 | [018h 0024 4] Oem Revision : 00008998 20 | [01Ch 0028 4] Asl Compiler ID : "QCOM" 21 | [020h 0032 4] Asl Compiler Revision : 00000001 22 | 23 | [024h 0036 2] Version : 0001 24 | [026h 0038 1] Status (decoded below) : 00 25 | Displayed : 0 26 | Orientation Offset : 0 27 | [027h 0039 1] Image Type : 00 28 | [028h 0040 8] Image Address : 0000000000000000 29 | [030h 0048 4] Image OffsetX : 00000110 30 | [034h 0052 4] Image OffsetY : 0000018E 31 | 32 | Raw Table Data: Length 56 (0x38) 33 | 34 | 0000: 42 47 52 54 38 00 00 00 01 00 51 43 4F 4D 20 20 // BGRT8.....QCOM 35 | 0010: 51 43 4F 4D 45 44 4B 32 98 89 00 00 51 43 4F 4D // QCOMEDK2....QCOM 36 | 0020: 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 // ................ 37 | 0030: 10 01 00 00 8E 01 00 00 // ........ 38 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/Common/src/FACS.dsl: -------------------------------------------------------------------------------- 1 | /* 2 | * Intel ACPI Component Architecture 3 | * AML/ASL+ Disassembler version 20200925 (64-bit version) 4 | * Copyright (c) 2000 - 2020 Intel Corporation 5 | * 6 | * Disassembly of FACS.aml, Tue May 2 20:07:05 2023 7 | * 8 | * ACPI Data Table [FACS] 9 | * 10 | * Format: [HexOffset DecimalOffset ByteLength] FieldName : FieldValue 11 | */ 12 | 13 | [000h 0000 4] Signature : "FACS" 14 | [004h 0004 4] Length : 00000040 15 | [008h 0008 4] Hardware Signature : 00000000 16 | [00Ch 0012 4] 32 Firmware Waking Vector : 00000000 17 | [010h 0016 4] Global Lock : 00000000 18 | [014h 0020 4] Flags (decoded below) : 00000000 19 | S4BIOS Support Present : 0 20 | 64-bit Wake Supported (V2) : 0 21 | [018h 0024 8] 64 Firmware Waking Vector : 0000000000000000 22 | [020h 0032 1] Version : 02 23 | [021h 0033 3] Reserved : 000000 24 | [024h 0036 4] OspmFlags (decoded below) : 00000000 25 | 64-bit Wake Env Required (V2) : 0 26 | 27 | Raw Table Data: Length 64 (0x40) 28 | 29 | 0000: 46 41 43 53 40 00 00 00 00 00 00 00 00 00 00 00 // FACS@........... 30 | 0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 // ................ 31 | 0020: 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 // ................ 32 | 0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 // ................ 33 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/Common/src/MCFG.dsl: -------------------------------------------------------------------------------- 1 | /* 2 | * Intel ACPI Component Architecture 3 | * AML/ASL+ Disassembler version 20200925 (64-bit version) 4 | * Copyright (c) 2000 - 2020 Intel Corporation 5 | * 6 | * Disassembly of MCFG.aml, Tue May 2 20:07:05 2023 7 | * 8 | * ACPI Data Table [MCFG] 9 | * 10 | * Format: [HexOffset DecimalOffset ByteLength] FieldName : FieldValue 11 | */ 12 | 13 | [000h 0000 4] Signature : "MCFG" [Memory Mapped Configuration table] 14 | [004h 0004 4] Table Length : 0000003C 15 | [008h 0008 1] Revision : 01 16 | [009h 0009 1] Checksum : 00 /* Incorrect checksum, should be 92 */ 17 | [00Ah 0010 6] Oem ID : "QCOM " 18 | [010h 0016 8] Oem Table ID : "QCOMEDK2" 19 | [018h 0024 4] Oem Revision : 00008998 20 | [01Ch 0028 4] Asl Compiler ID : "QCOM" 21 | [020h 0032 4] Asl Compiler Revision : 00000001 22 | 23 | [024h 0036 8] Reserved : 0000000000000000 24 | 25 | [02Ch 0044 8] Base Address : 000000001B000000 26 | [034h 0052 2] Segment Group Number : 0000 27 | [036h 0054 1] Start Bus Number : 00 28 | [037h 0055 1] End Bus Number : 01 29 | [038h 0056 4] Reserved : 00000000 30 | 31 | Raw Table Data: Length 60 (0x3C) 32 | 33 | 0000: 4D 43 46 47 3C 00 00 00 01 00 51 43 4F 4D 20 20 // MCFG<.....QCOM 34 | 0010: 51 43 4F 4D 45 44 4B 32 98 89 00 00 51 43 4F 4D // QCOMEDK2....QCOM 35 | 0020: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1B // ................ 36 | 0030: 00 00 00 00 00 00 00 01 00 00 00 00 // ............ 37 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/Common/src/TPM2.dsl: -------------------------------------------------------------------------------- 1 | /* 2 | * Intel ACPI Component Architecture 3 | * AML/ASL+ Disassembler version 20200925 (64-bit version) 4 | * Copyright (c) 2000 - 2020 Intel Corporation 5 | * 6 | * Disassembly of TPM2.aml, Tue May 2 20:07:05 2023 7 | * 8 | * ACPI Data Table [TPM2] 9 | * 10 | * Format: [HexOffset DecimalOffset ByteLength] FieldName : FieldValue 11 | */ 12 | 13 | [000h 0000 4] Signature : "TPM2" [Trusted Platform Module hardware interface table] 14 | [004h 0004 4] Table Length : 00000054 15 | [008h 0008 1] Revision : 03 16 | [009h 0009 1] Checksum : 00 /* Incorrect checksum, should be 85 */ 17 | [00Ah 0010 6] Oem ID : "QCOM " 18 | [010h 0016 8] Oem Table ID : "QCOMEDK2" 19 | [018h 0024 4] Oem Revision : 00008998 20 | [01Ch 0028 4] Asl Compiler ID : "QCOM" 21 | [020h 0032 4] Asl Compiler Revision : 00000001 22 | 23 | [024h 0036 4] Reserved : 00000000 24 | [028h 0040 8] Control Address : 0000000000000000 25 | [030h 0048 4] Start Method : 00000009 26 | 27 | Raw Table Data: Length 84 (0x54) 28 | 29 | 0000: 54 50 4D 32 54 00 00 00 03 00 51 43 4F 4D 20 20 // TPM2T.....QCOM 30 | 0010: 51 43 4F 4D 45 44 4B 32 98 89 00 00 51 43 4F 4D // QCOMEDK2....QCOM 31 | 0020: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 // ................ 32 | 0030: 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 // ................ 33 | 0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 // ................ 34 | 0050: 00 00 00 00 // .... 35 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/Common/SCM.asl: -------------------------------------------------------------------------------- 1 | // 2 | // Secure Channel Manager (SCM) Driver 3 | // 4 | Device (SCM0) 5 | { 6 | Name (_HID, "QCOM0013") // _HID: Hardware ID 7 | Alias (\_SB.PSUB, _SUB) 8 | Name (_UID, Zero) // _UID: Unique ID 9 | } 10 | 11 | // 12 | // TrEE Driver 13 | // 14 | Device (TREE) 15 | { 16 | Name (_HID, "QCOM00BF") // _HID: Hardware ID 17 | Alias (\_SB.PSUB, _SUB) 18 | Name (_UID, Zero) // _UID: Unique ID 19 | } 20 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/Common/abd.asl: -------------------------------------------------------------------------------- 1 | // 2 | // This file contains ASL Bridge Device definitions 3 | // 4 | 5 | // 6 | // ASL Bridge Device 7 | // 8 | Device (ABD) 9 | { 10 | Name (_HID, "QCOM003F") // _HID: Hardware ID 11 | Name (_UID, Zero) // _UID: Unique ID 12 | OperationRegion (ROP1, GenericSerialBus, Zero, 0x0100) 13 | Name (AVBL, Zero) 14 | Method (_REG, 2, NotSerialized) // _REG: Region Availability 15 | { 16 | If ((Arg0 == 0x09)) 17 | { 18 | AVBL = Arg1 19 | } 20 | } 21 | 22 | Method (_STA, 0, NotSerialized) // _STA: Status 23 | { 24 | Return (0xF) 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/Common/addSub.asl: -------------------------------------------------------------------------------- 1 | Name (PSUB, "MTP08998") 2 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/Common/adsprpc.asl: -------------------------------------------------------------------------------- 1 | // 2 | // ADSP RPC Driver 3 | // 4 | Device (ARPC) 5 | { 6 | Name (_DEP, Package (0x02) // _DEP: Dependencies 7 | { 8 | \_SB.MMU2, 9 | \_SB.GLNK 10 | }) 11 | Name (_HID, "QCOM0097") // _HID: Hardware ID 12 | Alias (\_SB.PSUB, _SUB) 13 | } 14 | 15 | // ARPD AUDIO Daemon Driver 16 | Device (ARPD) 17 | { 18 | Name (_DEP, Package (0x02) // _DEP: Dependencies 19 | { 20 | \_SB.ADSP, 21 | \_SB.ARPC 22 | }) 23 | Name (_HID, "QCOM00F8") // _HID: Hardware ID 24 | Alias (\_SB.PSUB, _SUB) 25 | } 26 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/Common/cust_arraybutton.asl: -------------------------------------------------------------------------------- 1 | Device (BTNS) 2 | { 3 | Name (_HID, "ACPI0011" /* Generic Buttons Device */) // _HID: Hardware ID 4 | Alias (\_SB.PSUB, _SUB) 5 | Name (_UID, Zero) // _UID: Unique ID 6 | Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings 7 | { 8 | Name (RBUF, ResourceTemplate () 9 | { 10 | //Power Button 11 | GpioInt (Edge, ActiveBoth, Exclusive, PullDown, 0x0000, 12 | "\\_SB.PM01", 0x00, ResourceConsumer, , 13 | ) 14 | { // Pin list 15 | 0x0040 16 | } 17 | // Volume Up button 18 | GpioInt (Edge, ActiveBoth, ExclusiveAndWake, PullUp, 0x0000, 19 | "\\_SB.PM01", 0x00, ResourceConsumer, , 20 | ) 21 | { // Pin list 22 | 0x0628 23 | } 24 | // Volume Down button 25 | GpioInt (Edge, ActiveBoth, ExclusiveAndWake, PullDown, 0x0000, 26 | "\\_SB.PM01", 0x00, ResourceConsumer, , 27 | ) 28 | { // Pin list 29 | 0x0041 30 | } 31 | }) 32 | Return (RBUF) /* \_SB_.BTNS._CRS.RBUF */ 33 | } 34 | 35 | Name (_DSD, Package (0x02) 36 | { 37 | ToUUID ("fa6bd625-9ce8-470d-a2c7-b3ca36c4282e"), 38 | Package() { 39 | Package(5) {0,1,0,0x01,0x0D}, // Portable Device Control Application Collection 40 | Package(5) {1,0,1,0x01,0x81}, // Sleep 41 | Package(5) {1,1,1,0x0C,0xE9}, // Volume Increment 42 | Package(5) {1,2,1,0x0C,0xEA}, // Volume Decrement 43 | // Package(5) {1,3,1,0x90,0x20}, // Camera Auto Focus 44 | // Package(5) {1,4,1,0x90,0x21}, // Camera Shutter 45 | }, 46 | }) 47 | } 48 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/Common/data.asl: -------------------------------------------------------------------------------- 1 | // 2 | // data.asl: This file contains the Data Drivers 3 | // ACPI device definitions, configuration and look-up tables. 4 | // 5 | 6 | // 7 | // linklocal 8 | // 9 | // Device (LNK0) 10 | // { 11 | // Name (_HID, "QCOM02AA") 12 | // Name (_UID, 0) 13 | //} 14 | 15 | // Device (LNK1) 16 | //{ 17 | // Name (_HID, "QCOM02AA") 18 | // Name (_UID, 1) 19 | // } 20 | // Device (LNK2) 21 | // { 22 | // Name (_HID, "QCOM02AA") 23 | // Name (_UID, 2) 24 | // } 25 | // Device (LNK3) 26 | // { 27 | // Name (_HID, "QCOM02AA") 28 | // Name (_UID, 3) 29 | // } 30 | // Device (LNK4) 31 | // { 32 | // Name (_HID, "QCOM02AA") 33 | // Name (_UID, 4) 34 | // } 35 | // Device (LNK5) 36 | // { 37 | // Name (_HID, "QCOM02AA") 38 | // Name (_UID, 5) 39 | // } 40 | // Device (LNK6) 41 | // { 42 | // Name (_HID, "QCOM02AA") 43 | // Name (_UID, 6) 44 | // } 45 | // Device (LNK7) 46 | // { 47 | // Name (_HID, "QCOM02AA") 48 | // Name (_UID, 7) 49 | // } 50 | // Device (LNK8) 51 | // { 52 | // Name (_HID, "QCOM02AA") 53 | // Name (_UID, 8) 54 | // } 55 | 56 | // 57 | // Modembridge Driver 58 | // 59 | Device (MBRG) 60 | { 61 | Name (_HID, "QCOM000C") // _HID: Hardware ID 62 | Alias (\_SB.PSUB, _SUB) 63 | } 64 | 65 | // 66 | // Remote AT Command Processor Driver 67 | // 68 | Device (RMAT) 69 | { 70 | Name (_HID, "QCOM000F") // _HID: Hardware ID 71 | Alias (\_SB.PSUB, _SUB) 72 | } 73 | 74 | // 75 | // rmnetbridge 76 | // 77 | Device (RMNT) 78 | { 79 | Name (_HID, "QCOM000D") // _HID: Hardware ID 80 | Alias (\_SB.PSUB, _SUB) 81 | } 82 | 83 | // 84 | // dplbridge 85 | // 86 | Device (DPLB) 87 | { 88 | Name (_HID, "QCOM00C7") // _HID: Hardware ID 89 | Alias (\_SB.PSUB, _SUB) 90 | } 91 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/Common/gps.asl: -------------------------------------------------------------------------------- 1 | // 2 | // Qualcomm GPS driver 3 | // 4 | Device (GPS) //test 5 | { 6 | Name (_DEP, Package (One) // _DEP: Dependencies 7 | { 8 | \_SB.GLNK 9 | }) 10 | Name (_HID, "QCOM00B9") // _HID: Hardware ID 11 | Alias (\_SB.PSUB, _SUB) 12 | Name (_CID, "ACPIQCOM00B9") // _CID: Compatible ID 13 | Name (_UID, Zero) // _UID: Unique ID 14 | } 15 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/Common/gsi.asl: -------------------------------------------------------------------------------- 1 | // This file contains the Generic Software Interface(GSI) 2 | // ACPI device definitions. 3 | // GSI is the interface used by IPA driver to talk to IPA HW and is intended 4 | // as a replacement for BAM. 5 | // 6 | 7 | // Device Map: 8 | // GSI 9 | // 10 | 11 | Device (GSI) 12 | { 13 | Name (_DEP, Package (0x01) // _DEP: Dependencies 14 | { 15 | \_SB.PEP0 16 | }) 17 | Name (_HID, "QCOM00EC") // _HID: Hardware ID 18 | Alias (\_SB.PSUB, _SUB) 19 | Name (_UID, Zero) // _UID: Unique ID 20 | Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings 21 | { 22 | Name (RBUF, ResourceTemplate () 23 | { 24 | Memory32Fixed (ReadWrite, 25 | 0x01E00000, // Address Base 26 | 0x00030000, // Address Length 27 | ) 28 | Interrupt (ResourceConsumer, Edge, ActiveHigh, Exclusive, ,, ) 29 | { 30 | 0x000001D0, 31 | } 32 | }) 33 | Return (RBUF) /* \_SB_.GSI_._CRS.RBUF */ 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/Common/ipa.asl: -------------------------------------------------------------------------------- 1 | // 2 | // Device Map: 3 | // IPA 4 | // 5 | 6 | Device (IPA) 7 | { 8 | Name (_DEP, Package (0x06) // _DEP: Dependencies 9 | { 10 | \_SB.PEP0, 11 | \_SB.RPEN, 12 | \_SB.PILC, 13 | \_SB.MMU3, 14 | \_SB.GSI, 15 | \_SB.GLNK 16 | }) 17 | Name (_HID, "QCOM00B5") // _HID: Hardware ID 18 | Alias (\_SB.PSUB, _SUB) 19 | Name (_UID, Zero) // _UID: Unique ID 20 | Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings 21 | { 22 | Return (ResourceTemplate () 23 | { 24 | Memory32Fixed (ReadWrite, 25 | 0x01E40000, // Address Base 26 | 0x0001FFFF, // Address Length 27 | ) 28 | Interrupt (ResourceConsumer, Edge, ActiveHigh, Exclusive, ,, ) 29 | { 30 | 0x0000016D, 31 | } 32 | }) 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/Common/msft_resources.asl: -------------------------------------------------------------------------------- 1 | //=========================================================================== 2 | // 3 | // DESCRIPTION 4 | // This file contans the resources needed by microsoft drivers. 5 | // 6 | //=========================================================================== 7 | 8 | Scope (\_SB.PEP0) 9 | { 10 | Method (MPMD, 0, NotSerialized) 11 | { 12 | Return (MPCC) /* \_SB_.PEP0.MPCC */ 13 | } 14 | 15 | Name (MPCC, Package (0x00){}) 16 | } 17 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/Common/oem_resources.asl: -------------------------------------------------------------------------------- 1 | //=========================================================================== 2 | // 3 | // DESCRIPTION 4 | // This file contans the resources needed by oem drivers. 5 | // 6 | //=========================================================================== 7 | 8 | Scope (\_SB.PEP0) 9 | { 10 | Method (OPMD, 0, NotSerialized) 11 | { 12 | Return (OPCC) /* \_SB_.PEP0.OPCC */ 13 | } 14 | 15 | Name (OPCC, Package (0x00){}) 16 | } 17 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/Common/pep_libSPM.asl: -------------------------------------------------------------------------------- 1 | Scope (\_SB.PEP0) 2 | { 3 | Method (LSPM, 0, NotSerialized) 4 | { 5 | Return (NSPM) /* \_SB_.PEP0.NSPM */ 6 | } 7 | 8 | Name (NSPM, Package (0x05) 9 | { 10 | "SPM_CONFIG", 11 | 0x0B, 12 | 0x03, 13 | Package (0x04) 14 | { 15 | "SPM_CLUSTER_CONFIG", 16 | 0x05, 17 | 0x05, 18 | One 19 | }, 20 | 21 | Package (0x0C) 22 | { 23 | "SPM_PHYS_CONFIG", 24 | 0x17989000, 25 | 0x17999000, 26 | 0x179A9000, 27 | 0x179B9000, 28 | 0x17912000, 29 | 0x17889000, 30 | 0x17899000, 31 | 0x178A9000, 32 | 0x178B9000, 33 | 0x17812000, 34 | 0x179D2000 35 | } 36 | }) 37 | } 38 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/Common/pep_lmh.asl: -------------------------------------------------------------------------------- 1 | Scope (\_SB.PEP0) 2 | { 3 | Method (LLMH, 0, NotSerialized) 4 | { 5 | Return (NLMH) /* \_SB_.PEP0.NLMH */ 6 | } 7 | 8 | Name (NLMH, Package (One) 9 | { 10 | Package (0x03) 11 | { 12 | "PEP_LMH_CFG", 13 | Package (0x06) 14 | { 15 | Zero, 16 | Zero, 17 | 0x002DB400, 18 | 0x0D02, 19 | 0x0E4C, 20 | 0x0E60 21 | }, 22 | 23 | Package (0x06) 24 | { 25 | One, 26 | Zero, 27 | 0x002DB400, 28 | 0x0D02, 29 | 0x0E4C, 30 | 0x0E60 31 | } 32 | } 33 | }) 34 | } 35 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/Common/pep_vddresources.asl: -------------------------------------------------------------------------------- 1 | Scope (\_SB.PEP0) 2 | { 3 | Method (LVDD, 0, NotSerialized) 4 | { 5 | Return (NVDD) /* \_SB_.PEP0.NVDD */ 6 | } 7 | 8 | Name (NVDD, Package (0x02) 9 | { 10 | Package (0x02) 11 | { 12 | "PEP_VDD_CX", 13 | Package (0x04) 14 | { 15 | "PPP_RESOURCE_ID_RWAY_CX", 16 | 0x0B, 17 | "RAIL_VOLTAGE_LEVEL_NOMINAL", 18 | "RAIL_VOLTAGE_LEVEL_OFF" 19 | } 20 | }, 21 | 22 | Package (0x02) 23 | { 24 | "PEP_VDD_MX", 25 | Package (0x04) 26 | { 27 | "PPP_RESOURCE_ID_RWAY_MX", 28 | 0x0B, 29 | "RAIL_VOLTAGE_LEVEL_TURBO", 30 | "RAIL_VOLTAGE_LEVEL_OFF" 31 | } 32 | } 33 | }) 34 | } 35 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/Common/qcdb.asl: -------------------------------------------------------------------------------- 1 | // 2 | // Qualcomm DIAG Bridge 3 | // 4 | Device (QCDB) 5 | { 6 | Name (_HID, "QCOM0098") // _HID: Hardware ID 7 | Alias (\_SB.PSUB, _SUB) 8 | } 9 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/Common/rfs.asl: -------------------------------------------------------------------------------- 1 | // 2 | // RemoteFS 3 | // 4 | Device (RFS0) 5 | { 6 | Name (_DEP, Package (0x02) // _DEP: Dependencies 7 | { 8 | \_SB.IPC0, 9 | \_SB.UFS0 10 | }) 11 | Name (_HID, "QCOM0033") // _HID: Hardware ID 12 | Alias (\_SB.PSUB, _SUB) 13 | Method (_CRS, 0x0, NotSerialized) { 14 | Name (RBUF, ResourceTemplate () 15 | { 16 | // RemoteFS Shared Memory 17 | Memory32Fixed (ReadWrite, 0x88888888, 0x99999999, RMTS) 18 | 19 | // RFSA MPSS Shared Memory 20 | Memory32Fixed (ReadWrite, 0x11111111, 0x22222222, RFSM) 21 | 22 | // RFSA ADSP Shared Memory 23 | Memory32Fixed (ReadWrite, 0x33333333, 0x44444444, RFSA) 24 | }) 25 | 26 | CreateDWordField (RBUF, RMTS._BAS, RMTA) 27 | CreateDWordField (RBUF, RMTS._LEN, RMTL) 28 | CreateDWordField (RBUF, RFSM._BAS, RFMA) 29 | CreateDWordField (RBUF, RFSM._LEN, RFML) 30 | CreateDWordField (RBUF, RFSA._BAS, RFAA) 31 | CreateDWordField (RBUF, RFSA._LEN, RFAL) 32 | 33 | Store(\_SB_.RMTB, RMTA) 34 | Store(\_SB_.RMTX, RMTL) 35 | Store(\_SB_.RFMB, RFMA) 36 | Store(\_SB_.RFMS, RFML) 37 | Store(\_SB_.RFAB, RFAA) 38 | Store(\_SB_.RFAS, RFAL) 39 | 40 | Return (RBUF) 41 | } 42 | 43 | Method (_STA, 0, NotSerialized) // _STA: Status 44 | { 45 | Return (0xF) 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/Common/sdc.asl: -------------------------------------------------------------------------------- 1 | // 2 | // Storage - SD card 3 | // 4 | Device (SDC2) 5 | { 6 | Name (_DEP, Package(0x2) { 7 | \_SB_.PEP0, 8 | \_SB_.GIO0 9 | }) 10 | 11 | Name (_HID, "QCOM2466") 12 | Alias(\_SB.PSUB, _SUB) 13 | Name (_CID, "ACPI\QCOM2466") 14 | Name (_UID, 1) 15 | Name (_CCA, 0) 16 | 17 | Method (_CRS, 0x0, NotSerialized) { 18 | Name (RBUF, ResourceTemplate () 19 | { 20 | // SDCC2 register address space 21 | Memory32Fixed (ReadWrite, 0xC0A4900, 0x200) 22 | 23 | Interrupt(ResourceConsumer, Level, ActiveHigh, Exclusive, , , ) {157} 24 | 25 | // Card detect GPIO 26 | GpioInt(Edge, ActiveBoth, SharedAndWake, PullNone, 5000, "\\_SB.GIO0", ,) {95} 27 | Gpioio(Shared, PullNone, 0, 0, , "\\_SB.GIO0", ,) {95} 28 | }) 29 | Return (RBUF) 30 | } 31 | 32 | Method(_DIS) 33 | { 34 | // Place holder to allow disable 35 | } 36 | Method (_STA) 37 | { 38 | Return(0xF) 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/Common/spmi.asl: -------------------------------------------------------------------------------- 1 | // 2 | //SPMI driver. 3 | // 4 | Device (SPMI) 5 | { 6 | Name (_HID, "QCOM0015") // _HID: Hardware ID 7 | Alias (\_SB.PSUB, _SUB) 8 | Name (_UID, One) // _UID: Unique ID 9 | Name (_CCA, Zero) // _CCA: Cache Coherency Attribute 10 | Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings 11 | { 12 | Name (RBUF, ResourceTemplate () 13 | { 14 | Memory32Fixed (ReadWrite, 15 | 0x08000000, // Address Base 16 | 0x02800000, // Address Length 17 | ) 18 | }) 19 | Return (RBUF) /* \_SB_.SPMI._CRS.RBUF */ 20 | } 21 | 22 | Method (CONF, 0, NotSerialized) 23 | { 24 | Name (XBUF, Buffer (0x1A) 25 | { 26 | /* 0000 */ 0x00, 0x01, 0x01, 0x01, 0xFF, 0x00, 0x02, 0x00, // ........ 27 | /* 0008 */ 0x07, 0x06, 0x04, 0x07, 0x01, 0xFF, 0x10, 0x01, // ........ 28 | /* 0010 */ 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x02, 0x80, // ........ 29 | /* 0018 */ 0x00, 0x00 // .. 30 | }) 31 | Return (XBUF) /* \_SB_.SPMI.CONF.XBUF */ 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/Common/ssm.asl: -------------------------------------------------------------------------------- 1 | // 2 | // SSM Driver 3 | // 4 | Device (SSM) 5 | { 6 | Name (_DEP, Package (0x02) // _DEP: Dependencies 7 | { 8 | \_SB.GLNK, 9 | \_SB.TREE 10 | }) 11 | Name (_HID, "QCOM0025") // _HID: Hardware ID 12 | Alias (\_SB.PSUB, _SUB) 13 | } 14 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/Common/ufs.asl: -------------------------------------------------------------------------------- 1 | // UFS Controller 2 | Device (UFS0) 3 | { 4 | Name (_DEP, Package(0x1) 5 | { 6 | \_SB.PEP0, 7 | }) 8 | 9 | Name (_HID, "QCOM24A5") 10 | Alias(\_SB.PSUB, _SUB) 11 | Name (_CID, "ACPI\QCOM24A5") 12 | Name (_UID, 0) 13 | Name (_CCA, 0) 14 | 15 | Method (_CRS, 0x0, NotSerialized) { 16 | Name (RBUF, ResourceTemplate () 17 | { 18 | // UFS register address space 19 | Memory32Fixed (ReadWrite, 0x1DA4000, 0x14000) 20 | Interrupt(ResourceConsumer, Level, ActiveHigh, Exclusive, , , ) {297} 21 | }) 22 | Return (RBUF) 23 | } 24 | 25 | // UFS Device 26 | Device (DEV0) 27 | { 28 | // Memory Type 29 | Method (_ADR) 30 | { 31 | Return (8) 32 | } 33 | 34 | // Non-removable 35 | Method (_RMV) 36 | { 37 | Return (0) 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/mata/cust_dsdt.asl: -------------------------------------------------------------------------------- 1 | Include("cust_camera.asl") 2 | Include("cust_sensors.asl") 3 | 4 | OperationRegion (CP17, SystemMemory, 0x0357F000, 0x10) 5 | Field (CP17, DWordAcc, NoLock, Preserve) 6 | { 7 | PI1C, 32, 8 | PIN1, 32, 9 | PI1N, 32, 10 | PI1S, 32 11 | } 12 | 13 | OperationRegion (CP18, SystemMemory, 0x03585000, 0x10) 14 | Field (CP18, DWordAcc, NoLock, Preserve) 15 | { 16 | PI2C, 32, 17 | PIN2, 32, 18 | PI2N, 32, 19 | PI2S, 32 20 | } 21 | 22 | // BOARD VERSION (NBID) 23 | // NBID == 0x0 i.e. FULL MODEM BUILD 24 | // NBID == 0x1 i.e. NO MODEM BUILD 25 | 26 | Method (_BID, 0, Serialized) 27 | { 28 | Name (NBID, Zero) 29 | Name (TEMP, Zero) 30 | NBID = PIN1 /* \_SB_.PIN1 */ 31 | TEMP = PIN2 /* \_SB_.PIN2 */ 32 | NBID |= TEMP <<= One 33 | Return (NBID) /* \_SB_._BID.NBID */ 34 | } 35 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/mata/cust_sensors.asl: -------------------------------------------------------------------------------- 1 | // This file contains the sensor ACPI device definitions. 2 | // 3 | 4 | // Qualcomm Sensor Collection 5 | Device (SEN1) 6 | { 7 | Name (_DEP, Package (0x02) // _DEP: Dependencies 8 | { 9 | \_SB.IPC0, 10 | \_SB.SCSS 11 | }) 12 | Name (_HID, "QCOM00A2") // _HID: Hardware ID 13 | Alias (\_SB.PSUB, _SUB) 14 | // Methods used for parsing the sensors configuration (.conf) file. 15 | // HARD corresponds to ":hardware" 16 | // PLAT corresponds to ":platform" 17 | Method (HARD, 0, NotSerialized) 18 | { 19 | Return ("8998") 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/mata/cust_win_mproc.asl: -------------------------------------------------------------------------------- 1 | Scope (\_SB.ADSP) 2 | { 3 | } 4 | 5 | Scope (\_SB.AMSS) 6 | { 7 | } 8 | 9 | Scope (\_SB.SCSS) 10 | { 11 | } 12 | 13 | Scope (\_SB.PILC) 14 | { 15 | } 16 | 17 | Scope (\_SB.CDI) 18 | { 19 | } 20 | 21 | Scope (\_SB.RPEN) 22 | { 23 | } 24 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/mata/dsdt.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998ACPI/essential/mata/dsdt.aml -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/mata/dsdt.asl: -------------------------------------------------------------------------------- 1 | // 2 | // NOTE: The 3rd parameter (i.e. ComplianceRevision) must be >=2 for 64-bit integer support. 3 | // 4 | DefinitionBlock ("", "DSDT", 2, "QCOMM ", "MSM8998 ", 3) 5 | { 6 | External (BLCK, IntObj) 7 | External (PCF1, IntObj) 8 | External (PCF2, IntObj) 9 | External (PCF3, IntObj) 10 | External (PCF6, IntObj) 11 | External (PCF7, IntObj) 12 | 13 | Scope (\_SB) { 14 | 15 | Include("../Common/addSub.asl") 16 | Include("dsdt_common.asl") 17 | Include("cust_dsdt.asl") 18 | 19 | Include("usb.asl") 20 | 21 | // Thermal Zone devices depend on PEP 22 | Include("../Common/cust_thermal_zones.asl") 23 | 24 | // 25 | // Hardware Notifications 26 | // 27 | Include("../Common/cust_hwn.asl") 28 | 29 | // 30 | // Buttons 31 | // 32 | Include("../Common/cust_arraybutton.asl") 33 | 34 | // 35 | // Touch 36 | // 37 | Include("cust_touch.asl") 38 | 39 | // 40 | // Data components 41 | // 42 | Include("../Common/data.asl") 43 | 44 | // 45 | // Qualcomm Diagnostic Consumer Interface 46 | // 47 | Device (QDCI) 48 | { 49 | Name (_DEP, Package (One) // _DEP: Dependencies 50 | { 51 | \_SB.GLNK 52 | }) 53 | Name (_HID, "QCOM0023") // _HID: Hardware ID 54 | Alias (\_SB.PSUB, _SUB) 55 | } 56 | 57 | // 58 | // Bluetooth 59 | // 60 | Include("../Common/wcnss_bt.asl") 61 | 62 | // 63 | // ADC driver 64 | // 65 | Include("../Common/adc.asl") 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/mata/pep.asl: -------------------------------------------------------------------------------- 1 | //=========================================================================== 2 | // 3 | // DESCRIPTION 4 | // The PEP Device & Driver Related Configuration 5 | // 6 | //=========================================================================== 7 | 8 | Include("../Common/pep_common.asl") 9 | Include("cust_camera_resources.asl") 10 | //Include("cust_touch_resources.asl") 11 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/essential/mata/plat_win_mproc.asl: -------------------------------------------------------------------------------- 1 | Scope (\_SB.ADSP) 2 | { 3 | Method (_STA, 0, NotSerialized) // _STA: Status 4 | { 5 | Return (0x0F) 6 | } 7 | Method (SSRE, 0, NotSerialized) 8 | { 9 | Return (Package (0x01) 10 | { 11 | Zero 12 | }) 13 | } 14 | } 15 | 16 | Scope (\_SB.AMSS) 17 | { 18 | Method (_STA, 0, NotSerialized) // _STA: Status 19 | { 20 | Return (0x0F) 21 | } 22 | Method (SSRE, 0, NotSerialized) 23 | { 24 | Return (Package (0x01) 25 | { 26 | Zero 27 | }) 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/joan/TEST/acpi-hp-envy-x2-facp.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998ACPI/joan/TEST/acpi-hp-envy-x2-facp.dat -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/joan/TEST/acpi-hp-envy-x2-facs.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998ACPI/joan/TEST/acpi-hp-envy-x2-facs.dat -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/joan/TEST/acpi-hp-envy-x2-ssdt.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998ACPI/joan/TEST/acpi-hp-envy-x2-ssdt.dat -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/joan/TEST/acpi-hp-envy-x2-ssdt1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998ACPI/joan/TEST/acpi-hp-envy-x2-ssdt1.dat -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/joan/TEST/acpi-hp-envy-x2-ssdt2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998ACPI/joan/TEST/acpi-hp-envy-x2-ssdt2.dat -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/joan/TEST/acpi-hp-envy-x2-ssdt3.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998ACPI/joan/TEST/acpi-hp-envy-x2-ssdt3.dat -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/joan/TEST/acpi-hp-envy-x2-xsdt.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998ACPI/joan/TEST/acpi-hp-envy-x2-xsdt.dat -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/joan/dsdt.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998ACPI/joan/dsdt.aml -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/Common/SCM.asl: -------------------------------------------------------------------------------- 1 | // 2 | // Secure Channel Manager (SCM) Driver 3 | // 4 | Device (SCM0) 5 | { 6 | Name (_HID, "QCOM0013") // _HID: Hardware ID 7 | Alias (\_SB.PSUB, _SUB) 8 | Name (_UID, Zero) // _UID: Unique ID 9 | } 10 | 11 | // 12 | // TrEE Driver 13 | // 14 | Device (TREE) 15 | { 16 | Name (_HID, "QCOM00BF") // _HID: Hardware ID 17 | Alias (\_SB.PSUB, _SUB) 18 | Name (_UID, Zero) // _UID: Unique ID 19 | } 20 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/Common/abd.asl: -------------------------------------------------------------------------------- 1 | // 2 | // This file contains ASL Bridge Device definitions 3 | // 4 | 5 | // 6 | // ASL Bridge Device 7 | // 8 | Device (ABD) 9 | { 10 | Name (_HID, "QCOM003F") // _HID: Hardware ID 11 | Name (_UID, Zero) // _UID: Unique ID 12 | OperationRegion (ROP1, GenericSerialBus, Zero, 0x0100) 13 | Name (AVBL, Zero) 14 | Method (_REG, 2, NotSerialized) // _REG: Region Availability 15 | { 16 | If ((Arg0 == 0x09)) 17 | { 18 | AVBL = Arg1 19 | } 20 | } 21 | 22 | Method (_STA, 0, NotSerialized) // _STA: Status 23 | { 24 | Return (0xF) 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/Common/addSub.asl: -------------------------------------------------------------------------------- 1 | Name (PSUB, "MTP08998") 2 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/Common/adsprpc.asl: -------------------------------------------------------------------------------- 1 | // 2 | // ADSP RPC Driver 3 | // 4 | Device (ARPC) 5 | { 6 | Name (_DEP, Package (0x02) // _DEP: Dependencies 7 | { 8 | \_SB.MMU2, 9 | \_SB.GLNK 10 | }) 11 | Name (_HID, "QCOM0097") // _HID: Hardware ID 12 | Alias (\_SB.PSUB, _SUB) 13 | } 14 | 15 | // ARPD AUDIO Daemon Driver 16 | Device (ARPD) 17 | { 18 | Name (_DEP, Package (0x02) // _DEP: Dependencies 19 | { 20 | \_SB.ADSP, 21 | \_SB.ARPC 22 | }) 23 | Name (_HID, "QCOM00F8") // _HID: Hardware ID 24 | Alias (\_SB.PSUB, _SUB) 25 | } 26 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/Common/cust_arraybutton.asl: -------------------------------------------------------------------------------- 1 | Device (BTNS) 2 | { 3 | Name (_HID, "ACPI0011" /* Generic Buttons Device */) // _HID: Hardware ID 4 | Alias (\_SB.PSUB, _SUB) 5 | Name (_UID, Zero) // _UID: Unique ID 6 | Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings 7 | { 8 | Name (RBUF, ResourceTemplate () 9 | { 10 | //Power Button 11 | GpioInt (Edge, ActiveBoth, Exclusive, PullDown, 0x0000, 12 | "\\_SB.PM01", 0x00, ResourceConsumer, , 13 | ) 14 | { // Pin list 15 | 0x0040 16 | } 17 | // Volume Up button 18 | GpioInt (Edge, ActiveBoth, ExclusiveAndWake, PullUp, 0x0000, 19 | "\\_SB.PM01", 0x00, ResourceConsumer, , 20 | ) 21 | { // Pin list 22 | 0x0628 23 | } 24 | // Volume Down button 25 | GpioInt (Edge, ActiveBoth, ExclusiveAndWake, PullDown, 0x0000, 26 | "\\_SB.PM01", 0x00, ResourceConsumer, , 27 | ) 28 | { // Pin list 29 | 0x0041 30 | } 31 | }) 32 | Return (RBUF) /* \_SB_.BTNS._CRS.RBUF */ 33 | } 34 | 35 | Name (_DSD, Package (0x02) 36 | { 37 | ToUUID ("fa6bd625-9ce8-470d-a2c7-b3ca36c4282e"), 38 | Package() { 39 | Package(5) {0,1,0,0x01,0x0D}, // Portable Device Control Application Collection 40 | Package(5) {1,0,1,0x01,0x81}, // Sleep 41 | Package(5) {1,1,1,0x0C,0xE9}, // Volume Increment 42 | Package(5) {1,2,1,0x0C,0xEA}, // Volume Decrement 43 | // Package(5) {1,3,1,0x90,0x20}, // Camera Auto Focus 44 | // Package(5) {1,4,1,0x90,0x21}, // Camera Shutter 45 | }, 46 | }) 47 | } 48 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/Common/cust_dsdt.asl: -------------------------------------------------------------------------------- 1 | Include("cust_camera.asl") 2 | Include("cust_sensors.asl") 3 | 4 | OperationRegion (CP17, SystemMemory, 0x0357F000, 0x10) 5 | Field (CP17, DWordAcc, NoLock, Preserve) 6 | { 7 | PI1C, 32, 8 | PIN1, 32, 9 | PI1N, 32, 10 | PI1S, 32 11 | } 12 | 13 | OperationRegion (CP18, SystemMemory, 0x03585000, 0x10) 14 | Field (CP18, DWordAcc, NoLock, Preserve) 15 | { 16 | PI2C, 32, 17 | PIN2, 32, 18 | PI2N, 32, 19 | PI2S, 32 20 | } 21 | 22 | // BOARD VERSION (NBID) 23 | // NBID == 0x0 i.e. FULL MODEM BUILD 24 | // NBID == 0x1 i.e. NO MODEM BUILD 25 | 26 | Method (_BID, 0, Serialized) 27 | { 28 | Name (NBID, Zero) 29 | Name (TEMP, Zero) 30 | NBID = PIN1 /* \_SB_.PIN1 */ 31 | TEMP = PIN2 /* \_SB_.PIN2 */ 32 | NBID |= TEMP <<= One 33 | Return (NBID) /* \_SB_._BID.NBID */ 34 | } 35 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/Common/cust_win_mproc.asl: -------------------------------------------------------------------------------- 1 | Scope (\_SB.ADSP) 2 | { 3 | } 4 | 5 | Scope (\_SB.AMSS) 6 | { 7 | } 8 | 9 | Scope (\_SB.SCSS) 10 | { 11 | } 12 | 13 | Scope (\_SB.PILC) 14 | { 15 | } 16 | 17 | Scope (\_SB.CDI) 18 | { 19 | } 20 | 21 | Scope (\_SB.RPEN) 22 | { 23 | } 24 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/Common/data.asl: -------------------------------------------------------------------------------- 1 | // 2 | // data.asl: This file contains the Data Drivers 3 | // ACPI device definitions, configuration and look-up tables. 4 | // 5 | 6 | // 7 | // linklocal 8 | // 9 | // Device (LNK0) 10 | // { 11 | // Name (_HID, "QCOM02AA") 12 | // Name (_UID, 0) 13 | //} 14 | 15 | // Device (LNK1) 16 | //{ 17 | // Name (_HID, "QCOM02AA") 18 | // Name (_UID, 1) 19 | // } 20 | // Device (LNK2) 21 | // { 22 | // Name (_HID, "QCOM02AA") 23 | // Name (_UID, 2) 24 | // } 25 | // Device (LNK3) 26 | // { 27 | // Name (_HID, "QCOM02AA") 28 | // Name (_UID, 3) 29 | // } 30 | // Device (LNK4) 31 | // { 32 | // Name (_HID, "QCOM02AA") 33 | // Name (_UID, 4) 34 | // } 35 | // Device (LNK5) 36 | // { 37 | // Name (_HID, "QCOM02AA") 38 | // Name (_UID, 5) 39 | // } 40 | // Device (LNK6) 41 | // { 42 | // Name (_HID, "QCOM02AA") 43 | // Name (_UID, 6) 44 | // } 45 | // Device (LNK7) 46 | // { 47 | // Name (_HID, "QCOM02AA") 48 | // Name (_UID, 7) 49 | // } 50 | // Device (LNK8) 51 | // { 52 | // Name (_HID, "QCOM02AA") 53 | // Name (_UID, 8) 54 | // } 55 | 56 | // 57 | // Modembridge Driver 58 | // 59 | Device (MBRG) 60 | { 61 | Name (_HID, "QCOM000C") // _HID: Hardware ID 62 | Alias (\_SB.PSUB, _SUB) 63 | } 64 | 65 | // 66 | // Remote AT Command Processor Driver 67 | // 68 | Device (RMAT) 69 | { 70 | Name (_HID, "QCOM000F") // _HID: Hardware ID 71 | Alias (\_SB.PSUB, _SUB) 72 | } 73 | 74 | // 75 | // rmnetbridge 76 | // 77 | Device (RMNT) 78 | { 79 | Name (_HID, "QCOM000D") // _HID: Hardware ID 80 | Alias (\_SB.PSUB, _SUB) 81 | } 82 | 83 | // 84 | // dplbridge 85 | // 86 | Device (DPLB) 87 | { 88 | Name (_HID, "QCOM00C7") // _HID: Hardware ID 89 | Alias (\_SB.PSUB, _SUB) 90 | } 91 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/Common/gps.asl: -------------------------------------------------------------------------------- 1 | // 2 | // Qualcomm GPS driver 3 | // 4 | Device (GPS) //test 5 | { 6 | Name (_DEP, Package (One) // _DEP: Dependencies 7 | { 8 | \_SB.GLNK 9 | }) 10 | Name (_HID, "QCOM00B9") // _HID: Hardware ID 11 | Alias (\_SB.PSUB, _SUB) 12 | Name (_CID, "ACPIQCOM00B9") // _CID: Compatible ID 13 | Name (_UID, Zero) // _UID: Unique ID 14 | } 15 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/Common/gsi.asl: -------------------------------------------------------------------------------- 1 | // This file contains the Generic Software Interface(GSI) 2 | // ACPI device definitions. 3 | // GSI is the interface used by IPA driver to talk to IPA HW and is intended 4 | // as a replacement for BAM. 5 | // 6 | 7 | // Device Map: 8 | // GSI 9 | // 10 | 11 | Device (GSI) 12 | { 13 | Name (_DEP, Package (0x01) // _DEP: Dependencies 14 | { 15 | \_SB.PEP0 16 | }) 17 | Name (_HID, "QCOM00EC") // _HID: Hardware ID 18 | Alias (\_SB.PSUB, _SUB) 19 | Name (_UID, Zero) // _UID: Unique ID 20 | Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings 21 | { 22 | Name (RBUF, ResourceTemplate () 23 | { 24 | Memory32Fixed (ReadWrite, 25 | 0x01E00000, // Address Base 26 | 0x00030000, // Address Length 27 | ) 28 | Interrupt (ResourceConsumer, Edge, ActiveHigh, Exclusive, ,, ) 29 | { 30 | 0x000001D0, 31 | } 32 | }) 33 | Return (RBUF) /* \_SB_.GSI_._CRS.RBUF */ 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/Common/ipa.asl: -------------------------------------------------------------------------------- 1 | // 2 | // Device Map: 3 | // IPA 4 | // 5 | 6 | Device (IPA) 7 | { 8 | Name (_DEP, Package (0x06) // _DEP: Dependencies 9 | { 10 | \_SB.PEP0, 11 | \_SB.RPEN, 12 | \_SB.PILC, 13 | \_SB.MMU3, 14 | \_SB.GSI, 15 | \_SB.GLNK 16 | }) 17 | Name (_HID, "QCOM00B5") // _HID: Hardware ID 18 | Alias (\_SB.PSUB, _SUB) 19 | Name (_UID, Zero) // _UID: Unique ID 20 | Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings 21 | { 22 | Return (ResourceTemplate () 23 | { 24 | Memory32Fixed (ReadWrite, 25 | 0x01E40000, // Address Base 26 | 0x0001FFFF, // Address Length 27 | ) 28 | Interrupt (ResourceConsumer, Edge, ActiveHigh, Exclusive, ,, ) 29 | { 30 | 0x0000016D, 31 | } 32 | }) 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/Common/msft_resources.asl: -------------------------------------------------------------------------------- 1 | //=========================================================================== 2 | // 3 | // DESCRIPTION 4 | // This file contans the resources needed by microsoft drivers. 5 | // 6 | //=========================================================================== 7 | 8 | Scope (\_SB.PEP0) 9 | { 10 | Method (MPMD, 0, NotSerialized) 11 | { 12 | Return (MPCC) /* \_SB_.PEP0.MPCC */ 13 | } 14 | 15 | Name (MPCC, Package (0x00){}) 16 | } 17 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/Common/oem_resources.asl: -------------------------------------------------------------------------------- 1 | //=========================================================================== 2 | // 3 | // DESCRIPTION 4 | // This file contans the resources needed by oem drivers. 5 | // 6 | //=========================================================================== 7 | 8 | Scope (\_SB.PEP0) 9 | { 10 | Method (OPMD, 0, NotSerialized) 11 | { 12 | Return (OPCC) /* \_SB_.PEP0.OPCC */ 13 | } 14 | 15 | Name (OPCC, Package (0x00){}) 16 | } 17 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/Common/pep.asl: -------------------------------------------------------------------------------- 1 | //=========================================================================== 2 | // 3 | // DESCRIPTION 4 | // The PEP Device & Driver Related Configuration 5 | // 6 | //=========================================================================== 7 | 8 | Include("../Common/pep_common.asl") 9 | Include("cust_camera_resources.asl") 10 | Include("cust_touch_resources.asl") 11 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/Common/pep_libSPM.asl: -------------------------------------------------------------------------------- 1 | Scope (\_SB.PEP0) 2 | { 3 | Method (LSPM, 0, NotSerialized) 4 | { 5 | Return (NSPM) /* \_SB_.PEP0.NSPM */ 6 | } 7 | 8 | Name (NSPM, Package (0x05) 9 | { 10 | "SPM_CONFIG", 11 | 0x0B, 12 | 0x03, 13 | Package (0x04) 14 | { 15 | "SPM_CLUSTER_CONFIG", 16 | 0x05, 17 | 0x05, 18 | One 19 | }, 20 | 21 | Package (0x0C) 22 | { 23 | "SPM_PHYS_CONFIG", 24 | 0x17989000, 25 | 0x17999000, 26 | 0x179A9000, 27 | 0x179B9000, 28 | 0x17912000, 29 | 0x17889000, 30 | 0x17899000, 31 | 0x178A9000, 32 | 0x178B9000, 33 | 0x17812000, 34 | 0x179D2000 35 | } 36 | }) 37 | } 38 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/Common/pep_lmh.asl: -------------------------------------------------------------------------------- 1 | Scope (\_SB.PEP0) 2 | { 3 | Method (LLMH, 0, NotSerialized) 4 | { 5 | Return (NLMH) /* \_SB_.PEP0.NLMH */ 6 | } 7 | 8 | Name (NLMH, Package (One) 9 | { 10 | Package (0x03) 11 | { 12 | "PEP_LMH_CFG", 13 | Package (0x06) 14 | { 15 | Zero, 16 | Zero, 17 | 0x002DB400, 18 | 0x0D02, 19 | 0x0E4C, 20 | 0x0E60 21 | }, 22 | 23 | Package (0x06) 24 | { 25 | One, 26 | Zero, 27 | 0x002DB400, 28 | 0x0D02, 29 | 0x0E4C, 30 | 0x0E60 31 | } 32 | } 33 | }) 34 | } 35 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/Common/pep_vddresources.asl: -------------------------------------------------------------------------------- 1 | Scope (\_SB.PEP0) 2 | { 3 | Method (LVDD, 0, NotSerialized) 4 | { 5 | Return (NVDD) /* \_SB_.PEP0.NVDD */ 6 | } 7 | 8 | Name (NVDD, Package (0x02) 9 | { 10 | Package (0x02) 11 | { 12 | "PEP_VDD_CX", 13 | Package (0x04) 14 | { 15 | "PPP_RESOURCE_ID_RWAY_CX", 16 | 0x0B, 17 | "RAIL_VOLTAGE_LEVEL_NOMINAL", 18 | "RAIL_VOLTAGE_LEVEL_OFF" 19 | } 20 | }, 21 | 22 | Package (0x02) 23 | { 24 | "PEP_VDD_MX", 25 | Package (0x04) 26 | { 27 | "PPP_RESOURCE_ID_RWAY_MX", 28 | 0x0B, 29 | "RAIL_VOLTAGE_LEVEL_TURBO", 30 | "RAIL_VOLTAGE_LEVEL_OFF" 31 | } 32 | } 33 | }) 34 | } 35 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/Common/plat_win_mproc.asl: -------------------------------------------------------------------------------- 1 | Scope (\_SB.ADSP) 2 | { 3 | Method (_STA, 0, NotSerialized) // _STA: Status 4 | { 5 | Return (0x0F) 6 | } 7 | Method (SSRE, 0, NotSerialized) 8 | { 9 | Return (Package (0x01) 10 | { 11 | Zero 12 | }) 13 | } 14 | } 15 | 16 | Scope (\_SB.AMSS) 17 | { 18 | Method (_STA, 0, NotSerialized) // _STA: Status 19 | { 20 | Return (0x0F) 21 | } 22 | Method (SSRE, 0, NotSerialized) 23 | { 24 | Return (Package (0x01) 25 | { 26 | Zero 27 | }) 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/Common/qcdb.asl: -------------------------------------------------------------------------------- 1 | // 2 | // Qualcomm DIAG Bridge 3 | // 4 | Device (QCDB) 5 | { 6 | Name (_HID, "QCOM0098") // _HID: Hardware ID 7 | Alias (\_SB.PSUB, _SUB) 8 | } 9 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/Common/rfs.asl: -------------------------------------------------------------------------------- 1 | // 2 | // RemoteFS 3 | // 4 | Device (RFS0) 5 | { 6 | Name (_DEP, Package (0x02) // _DEP: Dependencies 7 | { 8 | \_SB.IPC0, 9 | \_SB.UFS0 10 | }) 11 | Name (_HID, "QCOM0033") // _HID: Hardware ID 12 | Alias (\_SB.PSUB, _SUB) 13 | Method (_CRS, 0x0, NotSerialized) { 14 | Name (RBUF, ResourceTemplate () 15 | { 16 | // RemoteFS Shared Memory 17 | Memory32Fixed (ReadWrite, 0x88888888, 0x99999999, RMTS) 18 | 19 | // RFSA MPSS Shared Memory 20 | Memory32Fixed (ReadWrite, 0x11111111, 0x22222222, RFSM) 21 | 22 | // RFSA ADSP Shared Memory 23 | Memory32Fixed (ReadWrite, 0x33333333, 0x44444444, RFSA) 24 | }) 25 | 26 | CreateDWordField (RBUF, RMTS._BAS, RMTA) 27 | CreateDWordField (RBUF, RMTS._LEN, RMTL) 28 | CreateDWordField (RBUF, RFSM._BAS, RFMA) 29 | CreateDWordField (RBUF, RFSM._LEN, RFML) 30 | CreateDWordField (RBUF, RFSA._BAS, RFAA) 31 | CreateDWordField (RBUF, RFSA._LEN, RFAL) 32 | 33 | Store(\_SB_.RMTB, RMTA) 34 | Store(\_SB_.RMTX, RMTL) 35 | Store(\_SB_.RFMB, RFMA) 36 | Store(\_SB_.RFMS, RFML) 37 | Store(\_SB_.RFAB, RFAA) 38 | Store(\_SB_.RFAS, RFAL) 39 | 40 | Return (RBUF) 41 | } 42 | 43 | Method (_STA, 0, NotSerialized) // _STA: Status 44 | { 45 | Return (0xF) 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/Common/sdc.asl: -------------------------------------------------------------------------------- 1 | // 2 | // Storage - SD card 3 | // 4 | Device (SDC2) 5 | { 6 | Name (_DEP, Package(0x2) { 7 | \_SB_.PEP0, 8 | \_SB_.GIO0 9 | }) 10 | 11 | Name (_HID, "QCOM2466") 12 | Alias(\_SB.PSUB, _SUB) 13 | Name (_CID, "ACPI\QCOM2466") 14 | Name (_UID, 1) 15 | Name (_CCA, 0) 16 | 17 | Method (_CRS, 0x0, NotSerialized) { 18 | Name (RBUF, ResourceTemplate () 19 | { 20 | // SDCC2 register address space 21 | Memory32Fixed (ReadWrite, 0xC0A4900, 0x200) 22 | 23 | Interrupt(ResourceConsumer, Level, ActiveHigh, Exclusive, , , ) {157} 24 | 25 | // Card detect GPIO 26 | GpioInt(Edge, ActiveBoth, SharedAndWake, PullNone, 5000, "\\_SB.GIO0", ,) {95} 27 | Gpioio(Shared, PullNone, 0, 0, , "\\_SB.GIO0", ,) {95} 28 | }) 29 | Return (RBUF) 30 | } 31 | 32 | Method(_DIS) 33 | { 34 | // Place holder to allow disable 35 | } 36 | Method (_STA) 37 | { 38 | Return(0xF) 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/Common/spmi.asl: -------------------------------------------------------------------------------- 1 | // 2 | //SPMI driver. 3 | // 4 | Device (SPMI) 5 | { 6 | Name (_HID, "QCOM0015") // _HID: Hardware ID 7 | Alias (\_SB.PSUB, _SUB) 8 | Name (_UID, One) // _UID: Unique ID 9 | Name (_CCA, Zero) // _CCA: Cache Coherency Attribute 10 | Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings 11 | { 12 | Name (RBUF, ResourceTemplate () 13 | { 14 | Memory32Fixed (ReadWrite, 15 | 0x08000000, // Address Base 16 | 0x02800000, // Address Length 17 | ) 18 | }) 19 | Return (RBUF) /* \_SB_.SPMI._CRS.RBUF */ 20 | } 21 | 22 | Method (CONF, 0, NotSerialized) 23 | { 24 | Name (XBUF, Buffer (0x1A) 25 | { 26 | /* 0000 */ 0x00, 0x01, 0x01, 0x01, 0xFF, 0x00, 0x02, 0x00, // ........ 27 | /* 0008 */ 0x07, 0x06, 0x04, 0x07, 0x01, 0xFF, 0x10, 0x01, // ........ 28 | /* 0010 */ 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x02, 0x80, // ........ 29 | /* 0018 */ 0x00, 0x00 // .. 30 | }) 31 | Return (XBUF) /* \_SB_.SPMI.CONF.XBUF */ 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/Common/ssm.asl: -------------------------------------------------------------------------------- 1 | // 2 | // SSM Driver 3 | // 4 | Device (SSM) 5 | { 6 | Name (_DEP, Package (0x02) // _DEP: Dependencies 7 | { 8 | \_SB.GLNK, 9 | \_SB.TREE 10 | }) 11 | Name (_HID, "QCOM0025") // _HID: Hardware ID 12 | Alias (\_SB.PSUB, _SUB) 13 | } 14 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/Common/ufs.asl: -------------------------------------------------------------------------------- 1 | // UFS Controller 2 | Device (UFS0) 3 | { 4 | Name (_DEP, Package(0x1) 5 | { 6 | \_SB.PEP0, 7 | }) 8 | 9 | Name (_HID, "QCOM24A5") 10 | Alias(\_SB.PSUB, _SUB) 11 | Name (_CID, "ACPI\QCOM24A5") 12 | Name (_UID, 0) 13 | Name (_CCA, 0) 14 | 15 | Method (_CRS, 0x0, NotSerialized) { 16 | Name (RBUF, ResourceTemplate () 17 | { 18 | // UFS register address space 19 | Memory32Fixed (ReadWrite, 0x1DA4000, 0x14000) 20 | Interrupt(ResourceConsumer, Level, ActiveHigh, Exclusive, , , ) {297} 21 | }) 22 | Return (RBUF) 23 | } 24 | 25 | // UFS Device 26 | Device (DEV0) 27 | { 28 | // Memory Type 29 | Method (_ADR) 30 | { 31 | Return (8) 32 | } 33 | 34 | // Non-removable 35 | Method (_RMV) 36 | { 37 | Return (0) 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/nx563j/cust_sensors.asl: -------------------------------------------------------------------------------- 1 | // This file contains the sensor ACPI device definitions. 2 | // 3 | 4 | // Qualcomm Sensor Collection 5 | Device (SEN1) 6 | { 7 | Name (_DEP, Package (0x02) // _DEP: Dependencies 8 | { 9 | \_SB.IPC0, 10 | \_SB.SCSS 11 | }) 12 | Name (_HID, "QCOM00A2") // _HID: Hardware ID 13 | Alias (\_SB.PSUB, _SUB) 14 | // Methods used for parsing the sensors configuration (.conf) file. 15 | // HARD corresponds to ":hardware" 16 | // PLAT corresponds to ":platform" 17 | Method (HARD, 0, NotSerialized) 18 | { 19 | Return ("8998") 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/nx563j/dsdt.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998ACPI/nubia/nx563j/dsdt.aml -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/nubia/nx563j/dsdt.asl: -------------------------------------------------------------------------------- 1 | // 2 | // NOTE: The 3rd parameter (i.e. ComplianceRevision) must be >=2 for 64-bit integer support. 3 | // 4 | DefinitionBlock ("", "DSDT", 2, "QCOMM ", "MSM8998 ", 3) 5 | { 6 | External (BLCK, IntObj) 7 | External (PCF1, IntObj) 8 | External (PCF2, IntObj) 9 | External (PCF3, IntObj) 10 | External (PCF6, IntObj) 11 | External (PCF7, IntObj) 12 | 13 | Scope (\_SB) { 14 | 15 | Include("../Common/addSub.asl") 16 | Include("dsdt_common.asl") 17 | Include("../Common/cust_dsdt.asl") 18 | 19 | Include("../Common/usb.asl") 20 | 21 | // Thermal Zone devices depend on PEP 22 | Include("../Common/cust_thermal_zones.asl") 23 | 24 | // 25 | // Hardware Notifications 26 | // 27 | Include("../Common/cust_hwn.asl") 28 | 29 | // 30 | // Buttons 31 | // 32 | Include("../Common/cust_arraybutton.asl") 33 | 34 | // 35 | // Touch 36 | // 37 | Include("cust_touch.asl") 38 | 39 | // 40 | // Data components 41 | // 42 | Include("../Common/data.asl") 43 | 44 | // 45 | // Qualcomm Diagnostic Consumer Interface 46 | // 47 | Device (QDCI) 48 | { 49 | Name (_DEP, Package (One) // _DEP: Dependencies 50 | { 51 | \_SB.GLNK 52 | }) 53 | Name (_HID, "QCOM0023") // _HID: Hardware ID 54 | Alias (\_SB.PSUB, _SUB) 55 | } 56 | 57 | // 58 | // Bluetooth 59 | // 60 | Include("../Common/wcnss_bt.asl") 61 | 62 | // 63 | // ADC driver 64 | // 65 | Include("../Common/adc.asl") 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/Common/SCM.asl: -------------------------------------------------------------------------------- 1 | // 2 | // Secure Channel Manager (SCM) Driver 3 | // 4 | Device (SCM0) 5 | { 6 | Name (_HID, "QCOM0013") // _HID: Hardware ID 7 | Alias (\_SB.PSUB, _SUB) 8 | Name (_UID, Zero) // _UID: Unique ID 9 | } 10 | 11 | // 12 | // TrEE Driver 13 | // 14 | Device (TREE) 15 | { 16 | Name (_HID, "QCOM00BF") // _HID: Hardware ID 17 | Alias (\_SB.PSUB, _SUB) 18 | Name (_UID, Zero) // _UID: Unique ID 19 | } 20 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/Common/abd.asl: -------------------------------------------------------------------------------- 1 | // 2 | // This file contains ASL Bridge Device definitions 3 | // 4 | 5 | // 6 | // ASL Bridge Device 7 | // 8 | Device (ABD) 9 | { 10 | Name (_HID, "QCOM003F") // _HID: Hardware ID 11 | Name (_UID, Zero) // _UID: Unique ID 12 | OperationRegion (ROP1, GenericSerialBus, Zero, 0x0100) 13 | Name (AVBL, Zero) 14 | Method (_REG, 2, NotSerialized) // _REG: Region Availability 15 | { 16 | If ((Arg0 == 0x09)) 17 | { 18 | AVBL = Arg1 19 | } 20 | } 21 | 22 | Method (_STA, 0, NotSerialized) // _STA: Status 23 | { 24 | Return (0xF) 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/Common/addSub.asl: -------------------------------------------------------------------------------- 1 | Name (PSUB, "MTP08998") 2 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/Common/adsprpc.asl: -------------------------------------------------------------------------------- 1 | // 2 | // ADSP RPC Driver 3 | // 4 | Device (ARPC) 5 | { 6 | Name (_DEP, Package (0x02) // _DEP: Dependencies 7 | { 8 | \_SB.MMU2, 9 | \_SB.GLNK 10 | }) 11 | Name (_HID, "QCOM0097") // _HID: Hardware ID 12 | Alias (\_SB.PSUB, _SUB) 13 | } 14 | 15 | // ARPD AUDIO Daemon Driver 16 | Device (ARPD) 17 | { 18 | Name (_DEP, Package (0x02) // _DEP: Dependencies 19 | { 20 | \_SB.ADSP, 21 | \_SB.ARPC 22 | }) 23 | Name (_HID, "QCOM00F8") // _HID: Hardware ID 24 | Alias (\_SB.PSUB, _SUB) 25 | } 26 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/Common/cust_arraybutton.asl: -------------------------------------------------------------------------------- 1 | Device (BTNS) 2 | { 3 | Name (_HID, "ACPI0011" /* Generic Buttons Device */) // _HID: Hardware ID 4 | Alias (\_SB.PSUB, _SUB) 5 | Name (_UID, Zero) // _UID: Unique ID 6 | Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings 7 | { 8 | Name (RBUF, ResourceTemplate () 9 | { 10 | //Power Button 11 | GpioInt (Edge, ActiveBoth, Exclusive, PullDown, 0x0000, 12 | "\\_SB.PM01", 0x00, ResourceConsumer, , 13 | ) 14 | { // Pin list 15 | 0x0040 16 | } 17 | // Volume Up button 18 | GpioInt (Edge, ActiveBoth, ExclusiveAndWake, PullUp, 0x0000, 19 | "\\_SB.PM01", 0x00, ResourceConsumer, , 20 | ) 21 | { // Pin list 22 | 0x0628 23 | } 24 | // Volume Down button 25 | GpioInt (Edge, ActiveBoth, ExclusiveAndWake, PullDown, 0x0000, 26 | "\\_SB.PM01", 0x00, ResourceConsumer, , 27 | ) 28 | { // Pin list 29 | 0x0041 30 | } 31 | }) 32 | Return (RBUF) /* \_SB_.BTNS._CRS.RBUF */ 33 | } 34 | 35 | Name (_DSD, Package (0x02) 36 | { 37 | ToUUID ("fa6bd625-9ce8-470d-a2c7-b3ca36c4282e"), 38 | Package() { 39 | Package(5) {0,1,0,0x01,0x0D}, // Portable Device Control Application Collection 40 | Package(5) {1,0,1,0x01,0x81}, // Sleep 41 | Package(5) {1,1,1,0x0C,0xE9}, // Volume Increment 42 | Package(5) {1,2,1,0x0C,0xEA}, // Volume Decrement 43 | // Package(5) {1,3,1,0x90,0x20}, // Camera Auto Focus 44 | // Package(5) {1,4,1,0x90,0x21}, // Camera Shutter 45 | }, 46 | }) 47 | } 48 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/Common/cust_sensors.asl: -------------------------------------------------------------------------------- 1 | // This file contains the sensor ACPI device definitions. 2 | // 3 | 4 | // Qualcomm Sensor Collection 5 | Device (SEN1) 6 | { 7 | Name (_DEP, Package (0x02) // _DEP: Dependencies 8 | { 9 | \_SB.IPC0, 10 | \_SB.SCSS 11 | }) 12 | Name (_HID, "QCOM00A2") // _HID: Hardware ID 13 | Alias (\_SB.PSUB, _SUB) 14 | // Methods used for parsing the sensors configuration (.conf) file. 15 | // HARD corresponds to ":hardware" 16 | // PLAT corresponds to ":platform" 17 | Method (HARD, 0, NotSerialized) 18 | { 19 | Return ("8998") 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/Common/data.asl: -------------------------------------------------------------------------------- 1 | // 2 | // data.asl: This file contains the Data Drivers 3 | // ACPI device definitions, configuration and look-up tables. 4 | // 5 | 6 | // 7 | // linklocal 8 | // 9 | // Device (LNK0) 10 | // { 11 | // Name (_HID, "QCOM02AA") 12 | // Name (_UID, 0) 13 | //} 14 | 15 | // Device (LNK1) 16 | //{ 17 | // Name (_HID, "QCOM02AA") 18 | // Name (_UID, 1) 19 | // } 20 | // Device (LNK2) 21 | // { 22 | // Name (_HID, "QCOM02AA") 23 | // Name (_UID, 2) 24 | // } 25 | // Device (LNK3) 26 | // { 27 | // Name (_HID, "QCOM02AA") 28 | // Name (_UID, 3) 29 | // } 30 | // Device (LNK4) 31 | // { 32 | // Name (_HID, "QCOM02AA") 33 | // Name (_UID, 4) 34 | // } 35 | // Device (LNK5) 36 | // { 37 | // Name (_HID, "QCOM02AA") 38 | // Name (_UID, 5) 39 | // } 40 | // Device (LNK6) 41 | // { 42 | // Name (_HID, "QCOM02AA") 43 | // Name (_UID, 6) 44 | // } 45 | // Device (LNK7) 46 | // { 47 | // Name (_HID, "QCOM02AA") 48 | // Name (_UID, 7) 49 | // } 50 | // Device (LNK8) 51 | // { 52 | // Name (_HID, "QCOM02AA") 53 | // Name (_UID, 8) 54 | // } 55 | 56 | // 57 | // Modembridge Driver 58 | // 59 | Device (MBRG) 60 | { 61 | Name (_HID, "QCOM000C") // _HID: Hardware ID 62 | Alias (\_SB.PSUB, _SUB) 63 | } 64 | 65 | // 66 | // Remote AT Command Processor Driver 67 | // 68 | Device (RMAT) 69 | { 70 | Name (_HID, "QCOM000F") // _HID: Hardware ID 71 | Alias (\_SB.PSUB, _SUB) 72 | } 73 | 74 | // 75 | // rmnetbridge 76 | // 77 | Device (RMNT) 78 | { 79 | Name (_HID, "QCOM000D") // _HID: Hardware ID 80 | Alias (\_SB.PSUB, _SUB) 81 | } 82 | 83 | // 84 | // dplbridge 85 | // 86 | Device (DPLB) 87 | { 88 | Name (_HID, "QCOM00C7") // _HID: Hardware ID 89 | Alias (\_SB.PSUB, _SUB) 90 | } 91 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/Common/gps.asl: -------------------------------------------------------------------------------- 1 | // 2 | // Qualcomm GPS driver 3 | // 4 | Device (GPS) //test 5 | { 6 | Name (_DEP, Package (One) // _DEP: Dependencies 7 | { 8 | \_SB.GLNK 9 | }) 10 | Name (_HID, "QCOM00B9") // _HID: Hardware ID 11 | Alias (\_SB.PSUB, _SUB) 12 | Name (_CID, "ACPIQCOM00B9") // _CID: Compatible ID 13 | Name (_UID, Zero) // _UID: Unique ID 14 | } 15 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/Common/gsi.asl: -------------------------------------------------------------------------------- 1 | // This file contains the Generic Software Interface(GSI) 2 | // ACPI device definitions. 3 | // GSI is the interface used by IPA driver to talk to IPA HW and is intended 4 | // as a replacement for BAM. 5 | // 6 | 7 | // Device Map: 8 | // GSI 9 | // 10 | 11 | Device (GSI) 12 | { 13 | Name (_DEP, Package (0x01) // _DEP: Dependencies 14 | { 15 | \_SB.PEP0 16 | }) 17 | Name (_HID, "QCOM00EC") // _HID: Hardware ID 18 | Alias (\_SB.PSUB, _SUB) 19 | Name (_UID, Zero) // _UID: Unique ID 20 | Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings 21 | { 22 | Name (RBUF, ResourceTemplate () 23 | { 24 | Memory32Fixed (ReadWrite, 25 | 0x01E00000, // Address Base 26 | 0x00030000, // Address Length 27 | ) 28 | Interrupt (ResourceConsumer, Edge, ActiveHigh, Exclusive, ,, ) 29 | { 30 | 0x000001D0, 31 | } 32 | }) 33 | Return (RBUF) /* \_SB_.GSI_._CRS.RBUF */ 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/Common/ipa.asl: -------------------------------------------------------------------------------- 1 | // 2 | // Device Map: 3 | // IPA 4 | // 5 | 6 | Device (IPA) 7 | { 8 | Name (_DEP, Package (0x06) // _DEP: Dependencies 9 | { 10 | \_SB.PEP0, 11 | \_SB.RPEN, 12 | \_SB.PILC, 13 | \_SB.MMU3, 14 | \_SB.GSI, 15 | \_SB.GLNK 16 | }) 17 | Name (_HID, "QCOM00B5") // _HID: Hardware ID 18 | Alias (\_SB.PSUB, _SUB) 19 | Name (_UID, Zero) // _UID: Unique ID 20 | Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings 21 | { 22 | Return (ResourceTemplate () 23 | { 24 | Memory32Fixed (ReadWrite, 25 | 0x01E40000, // Address Base 26 | 0x0001FFFF, // Address Length 27 | ) 28 | Interrupt (ResourceConsumer, Edge, ActiveHigh, Exclusive, ,, ) 29 | { 30 | 0x0000016D, 31 | } 32 | }) 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/Common/msft_resources.asl: -------------------------------------------------------------------------------- 1 | //=========================================================================== 2 | // 3 | // DESCRIPTION 4 | // This file contans the resources needed by microsoft drivers. 5 | // 6 | //=========================================================================== 7 | 8 | Scope (\_SB.PEP0) 9 | { 10 | Method (MPMD, 0, NotSerialized) 11 | { 12 | Return (MPCC) /* \_SB_.PEP0.MPCC */ 13 | } 14 | 15 | Name (MPCC, Package (0x00){}) 16 | } 17 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/Common/oem_resources.asl: -------------------------------------------------------------------------------- 1 | //=========================================================================== 2 | // 3 | // DESCRIPTION 4 | // This file contans the resources needed by oem drivers. 5 | // 6 | //=========================================================================== 7 | 8 | Scope (\_SB.PEP0) 9 | { 10 | Method (OPMD, 0, NotSerialized) 11 | { 12 | Return (OPCC) /* \_SB_.PEP0.OPCC */ 13 | } 14 | 15 | Name (OPCC, Package (0x00){}) 16 | } 17 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/Common/pep.asl: -------------------------------------------------------------------------------- 1 | //=========================================================================== 2 | // 3 | // DESCRIPTION 4 | // The PEP Device & Driver Related Configuration 5 | // 6 | //=========================================================================== 7 | 8 | Include("../Common/pep_common.asl") 9 | Include("cust_camera_resources.asl") 10 | Include("cust_touch_resources.asl") 11 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/Common/pep_libSPM.asl: -------------------------------------------------------------------------------- 1 | Scope (\_SB.PEP0) 2 | { 3 | Method (LSPM, 0, NotSerialized) 4 | { 5 | Return (NSPM) /* \_SB_.PEP0.NSPM */ 6 | } 7 | 8 | Name (NSPM, Package (0x05) 9 | { 10 | "SPM_CONFIG", 11 | 0x0B, 12 | 0x03, 13 | Package (0x04) 14 | { 15 | "SPM_CLUSTER_CONFIG", 16 | 0x05, 17 | 0x05, 18 | One 19 | }, 20 | 21 | Package (0x0C) 22 | { 23 | "SPM_PHYS_CONFIG", 24 | 0x17989000, 25 | 0x17999000, 26 | 0x179A9000, 27 | 0x179B9000, 28 | 0x17912000, 29 | 0x17889000, 30 | 0x17899000, 31 | 0x178A9000, 32 | 0x178B9000, 33 | 0x17812000, 34 | 0x179D2000 35 | } 36 | }) 37 | } 38 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/Common/pep_lmh.asl: -------------------------------------------------------------------------------- 1 | Scope (\_SB.PEP0) 2 | { 3 | Method (LLMH, 0, NotSerialized) 4 | { 5 | Return (NLMH) /* \_SB_.PEP0.NLMH */ 6 | } 7 | 8 | Name (NLMH, Package (One) 9 | { 10 | Package (0x03) 11 | { 12 | "PEP_LMH_CFG", 13 | Package (0x06) 14 | { 15 | Zero, 16 | Zero, 17 | 0x002DB400, 18 | 0x0D02, 19 | 0x0E4C, 20 | 0x0E60 21 | }, 22 | 23 | Package (0x06) 24 | { 25 | One, 26 | Zero, 27 | 0x002DB400, 28 | 0x0D02, 29 | 0x0E4C, 30 | 0x0E60 31 | } 32 | } 33 | }) 34 | } 35 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/Common/pep_vddresources.asl: -------------------------------------------------------------------------------- 1 | Scope (\_SB.PEP0) 2 | { 3 | Method (LVDD, 0, NotSerialized) 4 | { 5 | Return (NVDD) /* \_SB_.PEP0.NVDD */ 6 | } 7 | 8 | Name (NVDD, Package (0x02) 9 | { 10 | Package (0x02) 11 | { 12 | "PEP_VDD_CX", 13 | Package (0x04) 14 | { 15 | "PPP_RESOURCE_ID_RWAY_CX", 16 | 0x0B, 17 | "RAIL_VOLTAGE_LEVEL_NOMINAL", 18 | "RAIL_VOLTAGE_LEVEL_OFF" 19 | } 20 | }, 21 | 22 | Package (0x02) 23 | { 24 | "PEP_VDD_MX", 25 | Package (0x04) 26 | { 27 | "PPP_RESOURCE_ID_RWAY_MX", 28 | 0x0B, 29 | "RAIL_VOLTAGE_LEVEL_TURBO", 30 | "RAIL_VOLTAGE_LEVEL_OFF" 31 | } 32 | } 33 | }) 34 | } 35 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/Common/pmic_batt_fuel_gauges.asl: -------------------------------------------------------------------------------- 1 | Device (BAT1) 2 | { 3 | Name (_HID, "BQB1380") // _HID: Hardware ID // BQ27411 4 | Name (_UID, One) // _UID: Unique ID 5 | Name (_DEP, Package (One) // _DEP: Dependencies 6 | { 7 | \_SB.I2C7 8 | }) 9 | Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings 10 | { 11 | Name (RBUF, ResourceTemplate () 12 | { 13 | I2cSerialBusV2 (0x0055, ControllerInitiated, 0x000186A0, 14 | AddressingMode7Bit, "\\_SB.I2C7", 15 | 0x00, ResourceConsumer, , Exclusive, 16 | ) 17 | }) 18 | Return (RBUF) /* \_SB_.BAT1._CRS.RBUF */ 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/Common/qcdb.asl: -------------------------------------------------------------------------------- 1 | // 2 | // Qualcomm DIAG Bridge 3 | // 4 | Device (QCDB) 5 | { 6 | Name (_HID, "QCOM0098") // _HID: Hardware ID 7 | Alias (\_SB.PSUB, _SUB) 8 | } 9 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/Common/rfs.asl: -------------------------------------------------------------------------------- 1 | // 2 | // RemoteFS 3 | // 4 | Device (RFS0) 5 | { 6 | Name (_DEP, Package (0x02) // _DEP: Dependencies 7 | { 8 | \_SB.IPC0, 9 | \_SB.UFS0 10 | }) 11 | Name (_HID, "QCOM0033") // _HID: Hardware ID 12 | Alias (\_SB.PSUB, _SUB) 13 | Method (_CRS, 0x0, NotSerialized) { 14 | Name (RBUF, ResourceTemplate () 15 | { 16 | // RemoteFS Shared Memory 17 | Memory32Fixed (ReadWrite, 0x88888888, 0x99999999, RMTS) 18 | 19 | // RFSA MPSS Shared Memory 20 | Memory32Fixed (ReadWrite, 0x11111111, 0x22222222, RFSM) 21 | 22 | // RFSA ADSP Shared Memory 23 | Memory32Fixed (ReadWrite, 0x33333333, 0x44444444, RFSA) 24 | }) 25 | 26 | CreateDWordField (RBUF, RMTS._BAS, RMTA) 27 | CreateDWordField (RBUF, RMTS._LEN, RMTL) 28 | CreateDWordField (RBUF, RFSM._BAS, RFMA) 29 | CreateDWordField (RBUF, RFSM._LEN, RFML) 30 | CreateDWordField (RBUF, RFSA._BAS, RFAA) 31 | CreateDWordField (RBUF, RFSA._LEN, RFAL) 32 | 33 | Store(\_SB_.RMTB, RMTA) 34 | Store(\_SB_.RMTX, RMTL) 35 | Store(\_SB_.RFMB, RFMA) 36 | Store(\_SB_.RFMS, RFML) 37 | Store(\_SB_.RFAB, RFAA) 38 | Store(\_SB_.RFAS, RFAL) 39 | 40 | Return (RBUF) 41 | } 42 | 43 | Method (_STA, 0, NotSerialized) // _STA: Status 44 | { 45 | Return (0xF) 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/Common/sdc.asl: -------------------------------------------------------------------------------- 1 | // 2 | // Storage - SD card 3 | // 4 | Device (SDC2) 5 | { 6 | Name (_DEP, Package(0x2) { 7 | \_SB_.PEP0, 8 | \_SB_.GIO0 9 | }) 10 | 11 | Name (_HID, "QCOM2466") 12 | Alias(\_SB.PSUB, _SUB) 13 | Name (_CID, "ACPI\QCOM2466") 14 | Name (_UID, 1) 15 | Name (_CCA, 0) 16 | 17 | Method (_CRS, 0x0, NotSerialized) { 18 | Name (RBUF, ResourceTemplate () 19 | { 20 | // SDCC2 register address space 21 | Memory32Fixed (ReadWrite, 0xC0A4900, 0x200) 22 | 23 | Interrupt(ResourceConsumer, Level, ActiveHigh, Exclusive, , , ) {157} 24 | 25 | // Card detect GPIO 26 | GpioInt(Edge, ActiveBoth, SharedAndWake, PullNone, 5000, "\\_SB.GIO0", ,) {95} 27 | Gpioio(Shared, PullNone, 0, 0, , "\\_SB.GIO0", ,) {95} 28 | }) 29 | Return (RBUF) 30 | } 31 | 32 | Method(_DIS) 33 | { 34 | // Place holder to allow disable 35 | } 36 | Method (_STA) 37 | { 38 | Return(0xF) 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/Common/spmi.asl: -------------------------------------------------------------------------------- 1 | // 2 | //SPMI driver. 3 | // 4 | Device (SPMI) 5 | { 6 | Name (_HID, "QCOM0015") // _HID: Hardware ID 7 | Alias (\_SB.PSUB, _SUB) 8 | Name (_UID, One) // _UID: Unique ID 9 | Name (_CCA, Zero) // _CCA: Cache Coherency Attribute 10 | Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings 11 | { 12 | Name (RBUF, ResourceTemplate () 13 | { 14 | Memory32Fixed (ReadWrite, 15 | 0x08000000, // Address Base 16 | 0x02800000, // Address Length 17 | ) 18 | }) 19 | Return (RBUF) /* \_SB_.SPMI._CRS.RBUF */ 20 | } 21 | 22 | Method (CONF, 0, NotSerialized) 23 | { 24 | Name (XBUF, Buffer (0x1A) 25 | { 26 | /* 0000 */ 0x00, 0x01, 0x01, 0x01, 0xFF, 0x00, 0x02, 0x00, // ........ 27 | /* 0008 */ 0x07, 0x06, 0x04, 0x07, 0x01, 0xFF, 0x10, 0x01, // ........ 28 | /* 0010 */ 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x02, 0x80, // ........ 29 | /* 0018 */ 0x00, 0x00 // .. 30 | }) 31 | Return (XBUF) /* \_SB_.SPMI.CONF.XBUF */ 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/Common/ssm.asl: -------------------------------------------------------------------------------- 1 | // 2 | // SSM Driver 3 | // 4 | Device (SSM) 5 | { 6 | Name (_DEP, Package (0x02) // _DEP: Dependencies 7 | { 8 | \_SB.GLNK, 9 | \_SB.TREE 10 | }) 11 | Name (_HID, "QCOM0025") // _HID: Hardware ID 12 | Alias (\_SB.PSUB, _SUB) 13 | } 14 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/Common/ufs.asl: -------------------------------------------------------------------------------- 1 | // UFS Controller 2 | Device (UFS0) 3 | { 4 | Name (_DEP, Package(0x1) 5 | { 6 | \_SB.PEP0, 7 | }) 8 | 9 | Name (_HID, "QCOM24A5") 10 | Alias(\_SB.PSUB, _SUB) 11 | Name (_CID, "ACPI\QCOM24A5") 12 | Name (_UID, 0) 13 | Name (_CCA, 0) 14 | 15 | Method (_CRS, 0x0, NotSerialized) { 16 | Name (RBUF, ResourceTemplate () 17 | { 18 | // UFS register address space 19 | Memory32Fixed (ReadWrite, 0x1DA4000, 0x14000) 20 | Interrupt(ResourceConsumer, Level, ActiveHigh, Exclusive, , , ) {297} 21 | }) 22 | Return (RBUF) 23 | } 24 | 25 | // UFS Device 26 | Device (DEV0) 27 | { 28 | // Memory Type 29 | Method (_ADR) 30 | { 31 | Return (8) 32 | } 33 | 34 | // Non-removable 35 | Method (_RMV) 36 | { 37 | Return (0) 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/cheeseburger/cust_dsdt.asl: -------------------------------------------------------------------------------- 1 | Include("../Common/cust_camera.asl") 2 | Include("../Common/cust_sensors.asl") 3 | 4 | OperationRegion (CP17, SystemMemory, 0x0357F000, 0x10) 5 | Field (CP17, DWordAcc, NoLock, Preserve) 6 | { 7 | PI1C, 32, 8 | PIN1, 32, 9 | PI1N, 32, 10 | PI1S, 32 11 | } 12 | 13 | OperationRegion (CP18, SystemMemory, 0x03585000, 0x10) 14 | Field (CP18, DWordAcc, NoLock, Preserve) 15 | { 16 | PI2C, 32, 17 | PIN2, 32, 18 | PI2N, 32, 19 | PI2S, 32 20 | } 21 | 22 | // BOARD VERSION (NBID) 23 | // NBID == 0x0 i.e. FULL MODEM BUILD 24 | // NBID == 0x1 i.e. NO MODEM BUILD 25 | 26 | Method (_BID, 0, Serialized) 27 | { 28 | Name (NBID, Zero) 29 | Name (TEMP, Zero) 30 | NBID = PIN1 /* \_SB_.PIN1 */ 31 | TEMP = PIN2 /* \_SB_.PIN2 */ 32 | NBID |= TEMP <<= One 33 | Return (NBID) /* \_SB_._BID.NBID */ 34 | } 35 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/cheeseburger/cust_win_mproc.asl: -------------------------------------------------------------------------------- 1 | Scope (\_SB.ADSP) 2 | { 3 | } 4 | 5 | Scope (\_SB.AMSS) 6 | { 7 | } 8 | 9 | Scope (\_SB.SCSS) 10 | { 11 | } 12 | 13 | Scope (\_SB.PILC) 14 | { 15 | } 16 | 17 | Scope (\_SB.CDI) 18 | { 19 | } 20 | 21 | Scope (\_SB.RPEN) 22 | { 23 | } 24 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/cheeseburger/dsdt.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998ACPI/oneplus/cheeseburger/dsdt.aml -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/cheeseburger/dsdt.asl: -------------------------------------------------------------------------------- 1 | // 2 | // NOTE: The 3rd parameter (i.e. ComplianceRevision) must be >=2 for 64-bit integer support. 3 | // 4 | DefinitionBlock ("", "DSDT", 2, "QCOMM ", "MSM8998 ", 3) 5 | { 6 | External (BLCK, IntObj) 7 | External (PCF1, IntObj) 8 | External (PCF2, IntObj) 9 | External (PCF3, IntObj) 10 | External (PCF6, IntObj) 11 | External (PCF7, IntObj) 12 | 13 | Scope (\_SB) { 14 | 15 | Include("../Common/addSub.asl") 16 | Include("dsdt_common.asl") 17 | Include("cust_dsdt.asl") 18 | 19 | Include("../Common/usb.asl") 20 | 21 | // Thermal Zone devices depend on PEP 22 | Include("../Common/cust_thermal_zones.asl") 23 | 24 | // 25 | // Hardware Notifications 26 | // 27 | Include("../Common/cust_hwn.asl") 28 | 29 | // 30 | // Buttons 31 | // 32 | Include("../Common/cust_arraybutton.asl") 33 | 34 | // 35 | // Touch 36 | // 37 | Include("cust_touch.asl") 38 | 39 | // 40 | // Data components 41 | // 42 | Include("../Common/data.asl") 43 | 44 | // 45 | // Qualcomm Diagnostic Consumer Interface 46 | // 47 | Device (QDCI) 48 | { 49 | Name (_DEP, Package (One) // _DEP: Dependencies 50 | { 51 | \_SB.GLNK 52 | }) 53 | Name (_HID, "QCOM0023") // _HID: Hardware ID 54 | Alias (\_SB.PSUB, _SUB) 55 | } 56 | 57 | // 58 | // Bluetooth 59 | // 60 | Include("../Common/wcnss_bt.asl") 61 | 62 | // 63 | // ADC driver 64 | // 65 | Include("adc.asl") 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/cheeseburger/plat_win_mproc.asl: -------------------------------------------------------------------------------- 1 | Scope (\_SB.ADSP) 2 | { 3 | Method (_STA, 0, NotSerialized) // _STA: Status 4 | { 5 | Return (0x0F) 6 | } 7 | Method (SSRE, 0, NotSerialized) 8 | { 9 | Return (Package (0x01) 10 | { 11 | Zero 12 | }) 13 | } 14 | } 15 | 16 | Scope (\_SB.AMSS) 17 | { 18 | Method (_STA, 0, NotSerialized) // _STA: Status 19 | { 20 | Return (0x0F) 21 | } 22 | Method (SSRE, 0, NotSerialized) 23 | { 24 | Return (Package (0x01) 25 | { 26 | Zero 27 | }) 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/dumpling/cust_dsdt.asl: -------------------------------------------------------------------------------- 1 | Include("../Common/cust_camera.asl") 2 | Include("../Common/cust_sensors.asl") 3 | 4 | OperationRegion (CP17, SystemMemory, 0x0357F000, 0x10) 5 | Field (CP17, DWordAcc, NoLock, Preserve) 6 | { 7 | PI1C, 32, 8 | PIN1, 32, 9 | PI1N, 32, 10 | PI1S, 32 11 | } 12 | 13 | OperationRegion (CP18, SystemMemory, 0x03585000, 0x10) 14 | Field (CP18, DWordAcc, NoLock, Preserve) 15 | { 16 | PI2C, 32, 17 | PIN2, 32, 18 | PI2N, 32, 19 | PI2S, 32 20 | } 21 | 22 | // BOARD VERSION (NBID) 23 | // NBID == 0x0 i.e. FULL MODEM BUILD 24 | // NBID == 0x1 i.e. NO MODEM BUILD 25 | 26 | Method (_BID, 0, Serialized) 27 | { 28 | Name (NBID, Zero) 29 | Name (TEMP, Zero) 30 | NBID = PIN1 /* \_SB_.PIN1 */ 31 | TEMP = PIN2 /* \_SB_.PIN2 */ 32 | NBID |= TEMP <<= One 33 | Return (NBID) /* \_SB_._BID.NBID */ 34 | } 35 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/dumpling/cust_win_mproc.asl: -------------------------------------------------------------------------------- 1 | Scope (\_SB.ADSP) 2 | { 3 | } 4 | 5 | Scope (\_SB.AMSS) 6 | { 7 | } 8 | 9 | Scope (\_SB.SCSS) 10 | { 11 | } 12 | 13 | Scope (\_SB.PILC) 14 | { 15 | } 16 | 17 | Scope (\_SB.CDI) 18 | { 19 | } 20 | 21 | Scope (\_SB.RPEN) 22 | { 23 | } 24 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/dumpling/dsdt.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998ACPI/oneplus/dumpling/dsdt.aml -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/dumpling/dsdt.asl: -------------------------------------------------------------------------------- 1 | // 2 | // NOTE: The 3rd parameter (i.e. ComplianceRevision) must be >=2 for 64-bit integer support. 3 | // 4 | DefinitionBlock ("", "DSDT", 2, "QCOMM ", "MSM8998 ", 3) 5 | { 6 | External (BLCK, IntObj) 7 | External (PCF1, IntObj) 8 | External (PCF2, IntObj) 9 | External (PCF3, IntObj) 10 | External (PCF6, IntObj) 11 | External (PCF7, IntObj) 12 | 13 | Scope (\_SB) { 14 | 15 | Include("../Common/addSub.asl") 16 | Include("dsdt_common.asl") 17 | Include("cust_dsdt.asl") 18 | 19 | Include("../Common/usb.asl") 20 | 21 | // Thermal Zone devices depend on PEP 22 | Include("../Common/cust_thermal_zones.asl") 23 | 24 | // 25 | // Hardware Notifications 26 | // 27 | Include("../Common/cust_hwn.asl") 28 | 29 | // 30 | // Buttons 31 | // 32 | Include("../Common/cust_arraybutton.asl") 33 | 34 | // 35 | // Touch 36 | // 37 | Include("cust_touch.asl") 38 | 39 | // 40 | // Data components 41 | // 42 | Include("../Common/data.asl") 43 | 44 | // 45 | // Qualcomm Diagnostic Consumer Interface 46 | // 47 | Device (QDCI) 48 | { 49 | Name (_DEP, Package (One) // _DEP: Dependencies 50 | { 51 | \_SB.GLNK 52 | }) 53 | Name (_HID, "QCOM0023") // _HID: Hardware ID 54 | Alias (\_SB.PSUB, _SUB) 55 | } 56 | 57 | // 58 | // Bluetooth 59 | // 60 | Include("../Common/wcnss_bt.asl") 61 | 62 | // 63 | // ADC driver 64 | // 65 | Include("adc.asl") 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/oneplus/dumpling/plat_win_mproc.asl: -------------------------------------------------------------------------------- 1 | Scope (\_SB.ADSP) 2 | { 3 | Method (_STA, 0, NotSerialized) // _STA: Status 4 | { 5 | Return (0x0F) 6 | } 7 | Method (SSRE, 0, NotSerialized) 8 | { 9 | Return (Package (0x01) 10 | { 11 | Zero 12 | }) 13 | } 14 | } 15 | 16 | Scope (\_SB.AMSS) 17 | { 18 | Method (_STA, 0, NotSerialized) // _STA: Status 19 | { 20 | Return (0x0F) 21 | } 22 | Method (SSRE, 0, NotSerialized) 23 | { 24 | Return (Package (0x01) 25 | { 26 | Zero 27 | }) 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/xiaomi/chiron/dsdt.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998ACPI/xiaomi/chiron/dsdt.aml -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/xiaomi/chiron/wcnss_bt.asl: -------------------------------------------------------------------------------- 1 | // 2 | // WCN3990 Bluetooth 3 | // 4 | Device(BTH0) 5 | { 6 | Name(_HID, "QCOM00B7") 7 | Alias(\_SB.PSUB, _SUB) 8 | Name(_DEP, Package(0x3) 9 | { 10 | \_SB_.PEP0, 11 | \_SB_.PMIC, 12 | \_SB_.UAR3 // depends on UART ACPI definition 13 | }) 14 | Name(_PRW, Package(0x2) 15 | { 16 | Zero, 17 | Zero 18 | }) 19 | Name(_S4W, 0x2) 20 | Name(_S0W, 0x2) 21 | Method(_CRS, 0x0, NotSerialized) 22 | { 23 | Name(PBUF, ResourceTemplate() 24 | { 25 | UARTSerialBus( 26 | 115200, // ConnectionSpeed 27 | DataBitsEight, // BitsPerByte (defaults to DataBitsEight) 28 | StopBitsOne, // StopBits (defaults to StopBitsOne) 29 | 0xC0, // LinesInUse 30 | LittleEndian, // IsBigEndian (defaults to LittleEndian) 31 | ParityTypeNone, // Parity (defaults to ParityTypeNone) 32 | FlowControlHardware, // FlowControl (defaults to FlowControlNone) 33 | 0x20, // ReceiveBufferSize 34 | 0x20, // TransmitBufferSize 35 | "\\_SB.UAR3", // depends on UART ACPI definition 36 | 0, // ResourceSourceIndex (defaults to 0) 37 | ResourceConsumer, // ResourceUsage (defaults to ResourceConsumer) 38 | , // DescriptorName 39 | ) 40 | 41 | // GpioIo(Exclusive, PullDown, 0, 0, , "\\_SB.PM01", , , , ) {146} // 0x690 - PM_INT__PM1_GPIO19__GPIO_IN_STS 42 | }) 43 | Return(PBUF) 44 | } 45 | Method(_STA, 0x0, NotSerialized) 46 | { 47 | Return(0xF) 48 | } 49 | }//End BTH0 50 | -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/xiaomi/sagit/dsdt.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998ACPI/xiaomi/sagit/dsdt.aml -------------------------------------------------------------------------------- /Platforms/Msm8998ACPI/xiaomi/sagit/wcnss_bt.asl: -------------------------------------------------------------------------------- 1 | // 2 | // WCN3990 Bluetooth 3 | // 4 | Device(BTH0) 5 | { 6 | Name(_HID, "QCOM00B7") 7 | Alias(\_SB.PSUB, _SUB) 8 | Name(_DEP, Package(0x3) 9 | { 10 | \_SB_.PEP0, 11 | \_SB_.PMIC, 12 | \_SB_.UAR3 // depends on UART ACPI definition 13 | }) 14 | Name(_PRW, Package(0x2) 15 | { 16 | Zero, 17 | Zero 18 | }) 19 | Name(_S4W, 0x2) 20 | Name(_S0W, 0x2) 21 | Method(_CRS, 0x0, NotSerialized) 22 | { 23 | Name(PBUF, ResourceTemplate() 24 | { 25 | UARTSerialBus( 26 | 115200, // ConnectionSpeed 27 | DataBitsEight, // BitsPerByte (defaults to DataBitsEight) 28 | StopBitsOne, // StopBits (defaults to StopBitsOne) 29 | 0xC0, // LinesInUse 30 | LittleEndian, // IsBigEndian (defaults to LittleEndian) 31 | ParityTypeNone, // Parity (defaults to ParityTypeNone) 32 | FlowControlHardware, // FlowControl (defaults to FlowControlNone) 33 | 0x20, // ReceiveBufferSize 34 | 0x20, // TransmitBufferSize 35 | "\\_SB.UAR3", // depends on UART ACPI definition 36 | 0, // ResourceSourceIndex (defaults to 0) 37 | ResourceConsumer, // ResourceUsage (defaults to ResourceConsumer) 38 | , // DescriptorName 39 | ) 40 | 41 | // GpioIo(Exclusive, PullDown, 0, 0, , "\\_SB.PM01", , , , ) {146} // 0x690 - PM_INT__PM1_GPIO19__GPIO_IN_STS 42 | }) 43 | Return(PBUF) 44 | } 45 | Method(_STA, 0x0, NotSerialized) 46 | { 47 | Return(0xF) 48 | } 49 | }//End BTH0 50 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/cheeseburger/Binaries/TzDxe/TzDxeLA.depex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/cheeseburger/Binaries/TzDxe/TzDxeLA.depex -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/cheeseburger/Binaries/TzDxe/TzDxeLA.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/cheeseburger/Binaries/TzDxe/TzDxeLA.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/cheeseburger/Binaries/TzDxe/TzDxeLA.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS TzDxeLA.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2022-12-11 07:14:39Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = TzDxe 10 | FILE_GUID = 6925FAD3-E243-4B69-AD61-3F978C8ABC60 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|TzDxeLA.depex|* 17 | PE32|TzDxeLA.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/cheeseburger/PatchedBinaries/ButtonsDxe/ButtonsDxe.depex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/cheeseburger/PatchedBinaries/ButtonsDxe/ButtonsDxe.depex -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/cheeseburger/PatchedBinaries/ButtonsDxe/ButtonsDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/cheeseburger/PatchedBinaries/ButtonsDxe/ButtonsDxe.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/cheeseburger/PatchedBinaries/ButtonsDxe/ButtonsDxe.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS ButtonsDxe.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:42Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = ButtonsDxe 10 | FILE_GUID = 5BD181DB-0487-4F1A-AE73-820E165611B3 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|ButtonsDxe.depex|* 17 | PE32|ButtonsDxe.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/chiron/PatchedBinaries/ButtonsDxe/ButtonsDxe.depex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/chiron/PatchedBinaries/ButtonsDxe/ButtonsDxe.depex -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/chiron/PatchedBinaries/ButtonsDxe/ButtonsDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/chiron/PatchedBinaries/ButtonsDxe/ButtonsDxe.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/chiron/PatchedBinaries/ButtonsDxe/ButtonsDxe.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS ButtonsDxe.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:42Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = ButtonsDxe 10 | FILE_GUID = 5BD181DB-0487-4F1A-AE73-820E165611B3 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|ButtonsDxe.depex|* 17 | PE32|ButtonsDxe.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/AdcDxe/AdcDxe.depex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/AdcDxe/AdcDxe.depex -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/AdcDxe/AdcDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/AdcDxe/AdcDxe.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/AdcDxe/AdcDxe.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS AdcDxe.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:42Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = AdcDxe 10 | FILE_GUID = 5A5CB8CA-9382-4E0C-B383-77FB517CD9EB 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|AdcDxe.depex|* 17 | PE32|AdcDxe.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/ButtonsDxe/ButtonsDxe.depex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/ButtonsDxe/ButtonsDxe.depex -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/ButtonsDxe/ButtonsDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/ButtonsDxe/ButtonsDxe.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/ButtonsDxe/ButtonsDxe.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS ButtonsDxe.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:42Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = ButtonsDxe 10 | FILE_GUID = 5BD181DB-0487-4F1A-AE73-820E165611B3 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|ButtonsDxe.depex|* 17 | PE32|ButtonsDxe.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/ChipInfo/ChipInfo.depex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/ChipInfo/ChipInfo.depex -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/ChipInfo/ChipInfo.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/ChipInfo/ChipInfo.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/ChipInfo/ChipInfo.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS ChipInfo.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:41Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = ChipInfo 10 | FILE_GUID = 10E193DF-9966-44E7-B17C-59DD831E20FC 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|ChipInfo.depex|* 17 | PE32|ChipInfo.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/ClockDxe/ClockDxe.depex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/ClockDxe/ClockDxe.depex -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/ClockDxe/ClockDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/ClockDxe/ClockDxe.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/ClockDxe/ClockDxe.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS ClockDxe.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:41Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = ClockDxe 10 | FILE_GUID = 4DB5DEA6-5302-4D1A-8A82-677A683B0D29 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|ClockDxe.depex|* 17 | PE32|ClockDxe.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/DALSys/DALSys.depex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/DALSys/DALSys.depex -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/DALSys/DALSys.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/DALSys/DALSys.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/DALSys/DALSys.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS DALSys.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:41Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = DALSys 10 | FILE_GUID = 8E9BD160-B184-11DF-94E2-0800200C9A66 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|DALSys.depex|* 17 | PE32|DALSys.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/DALTLMM/DALTLMM.depex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/DALTLMM/DALTLMM.depex -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/DALTLMM/DALTLMM.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/DALTLMM/DALTLMM.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/DALTLMM/DALTLMM.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS DALTLMM.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:41Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = DALTLMM 10 | FILE_GUID = 8681cc5a-0df6-441e-b4b8-e915c538f067 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|DALTLMM.depex|* 17 | PE32|DALTLMM.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/GlinkDxe/GlinkDxe.depex: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/GlinkDxe/GlinkDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/GlinkDxe/GlinkDxe.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/GlinkDxe/GlinkDxe.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS GlinkDxe.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:41Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = GlinkDxe 10 | FILE_GUID = 7942A7EB-B7D5-4E2E-B908-831E4DE55B58 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|GlinkDxe.depex|* 17 | PE32|GlinkDxe.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/HWIODxeDriver/HWIODxeDriver.depex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/HWIODxeDriver/HWIODxeDriver.depex -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/HWIODxeDriver/HWIODxeDriver.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/HWIODxeDriver/HWIODxeDriver.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/HWIODxeDriver/HWIODxeDriver.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS HWIODxeDriver.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:41Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = HWIODxeDriver 10 | FILE_GUID = af9763a2-033b-4109-8e17-56a98d380c92 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|HWIODxeDriver.depex|* 17 | PE32|HWIODxeDriver.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/I2C/I2C.depex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/I2C/I2C.depex -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/I2C/I2C.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/I2C/I2C.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/I2C/I2C.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS I2C.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:41Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = I2C 10 | FILE_GUID = 04DE8591-D2B3-4077-BBBE-B12070094EB6 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|I2C.depex|* 17 | PE32|I2C.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/MpPowerDxe/MpPowerDxe.depex: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/MpPowerDxe/MpPowerDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/MpPowerDxe/MpPowerDxe.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/MpPowerDxe/MpPowerDxe.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS MpPowerDxe.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:42Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = MpPowerDxe 10 | FILE_GUID = 88ABF42E-EFA7-4D72-A9C8-8B29ACDCF64F 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|MpPowerDxe.depex|* 17 | PE32|MpPowerDxe.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/NpaDxe/NpaDxe.depex: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/NpaDxe/NpaDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/NpaDxe/NpaDxe.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/NpaDxe/NpaDxe.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS NpaDxe.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:41Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = NpaDxe 10 | FILE_GUID = CB29F4D1-7F37-4692-A416-93E82E219711 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|NpaDxe.depex|* 17 | PE32|NpaDxe.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/PlatformInfoDxeDriver/PlatformInfoDxeDriver.depex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/PlatformInfoDxeDriver/PlatformInfoDxeDriver.depex -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/PlatformInfoDxeDriver/PlatformInfoDxeDriver.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/PlatformInfoDxeDriver/PlatformInfoDxeDriver.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/PlatformInfoDxeDriver/PlatformInfoDxeDriver.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS PlatformInfoDxeDriver.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:42Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = PlatformInfoDxeDriver 10 | FILE_GUID = B105211B-BBBD-4ADD-A3B0-D1CF4A52154C 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|PlatformInfoDxeDriver.depex|* 17 | PE32|PlatformInfoDxeDriver.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/PmicDxe/PmicDxe.depex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/PmicDxe/PmicDxe.depex -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/PmicDxe/PmicDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/PmicDxe/PmicDxe.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/PmicDxe/PmicDxe.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS PmicDxe.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:42Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = PmicDxe 10 | FILE_GUID = C44697D5-B4AA-4030-9749-29860844183D 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|PmicDxe.depex|* 17 | PE32|PmicDxe.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/SPI/SPI.depex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/SPI/SPI.depex -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/SPI/SPI.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/SPI/SPI.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/SPI/SPI.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS SPI.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:41Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = SPI 10 | FILE_GUID = 7A32BD23-F735-4F57-AA1A-447D2FE3BE0D 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|SPI.depex|* 17 | PE32|SPI.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/SPMI/SPMI.depex: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/SPMI/SPMI.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/SPMI/SPMI.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/SPMI/SPMI.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS SPMI.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:41Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = SPMI 10 | FILE_GUID = 2A7B4BEF-80CD-49E1-B473-374BA4D673FC 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|SPMI.depex|* 17 | PE32|SPMI.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/SdccDxe/SdccDxe.depex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/SdccDxe/SdccDxe.depex -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/SdccDxe/SdccDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/SdccDxe/SdccDxe.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/SdccDxe/SdccDxe.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS SdccDxe.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:42Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = SdccDxe 10 | FILE_GUID = F10F76DB-42C1-533F-34A8-69BE24653110 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|SdccDxe.depex|* 17 | PE32|SdccDxe.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/SmemDxe/SmemDxe.depex: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/SmemDxe/SmemDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/SmemDxe/SmemDxe.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/SmemDxe/SmemDxe.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS SmemDxe.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:41Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = SmemDxe 10 | FILE_GUID = F541D663-4A48-40AA-AABF-FF158CCAE34C 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|SmemDxe.depex|* 17 | PE32|SmemDxe.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UFSDxe/UFSDxe.depex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/UFSDxe/UFSDxe.depex -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UFSDxe/UFSDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/UFSDxe/UFSDxe.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UFSDxe/UFSDxe.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS UFSDxe.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2022-12-11 07:14:40Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = UFSDxe 10 | FILE_GUID = 0D35CD8E-97EA-4F9A-96AF-0F0D89F76567 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|UFSDxe.depex|* 17 | PE32|UFSDxe.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/ULogDxe/ULogDxe.depex: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/ULogDxe/ULogDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/ULogDxe/ULogDxe.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/ULogDxe/ULogDxe.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS ULogDxe.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:41Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = ULogDxe 10 | FILE_GUID = E43128A8-8692-42B6-8AFA-676158578D18 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|ULogDxe.depex|* 17 | PE32|ULogDxe.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UsbConfigDxe/UsbConfigDxe.depex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/UsbConfigDxe/UsbConfigDxe.depex -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UsbConfigDxe/UsbConfigDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/UsbConfigDxe/UsbConfigDxe.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UsbConfigDxe/UsbConfigDxe.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS UsbConfigDxe.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:43Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = UsbConfigDxe 10 | FILE_GUID = CD823A4D-7DEC-4531-AE5D-4134FA4127B8 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|UsbConfigDxe.depex|* 17 | PE32|UsbConfigDxe.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UsbDeviceDxe/UsbDeviceDxe.depex: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UsbDeviceDxe/UsbDeviceDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/UsbDeviceDxe/UsbDeviceDxe.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UsbDeviceDxe/UsbDeviceDxe.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS UsbDeviceDxe.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:43Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = UsbDeviceDxe 10 | FILE_GUID = 3299A266-15F0-4346-8318-716336736D3E 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|UsbDeviceDxe.depex|* 17 | PE32|UsbDeviceDxe.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UsbInitDxe/UsbInitDxe.depex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/UsbInitDxe/UsbInitDxe.depex -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UsbInitDxe/UsbInitDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/UsbInitDxe/UsbInitDxe.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UsbInitDxe/UsbInitDxe.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS UsbInitDxe.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:43Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = UsbInitDxe 10 | FILE_GUID = 0A134F0E-075E-40B3-9C63-3B3906804663 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|UsbInitDxe.depex|* 17 | PE32|UsbInitDxe.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UsbKbDxe/UsbKbDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/UsbKbDxe/UsbKbDxe.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UsbKbDxe/UsbKbDxe.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS UsbKbDxe.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:43Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = UsbKbDxe 10 | FILE_GUID = 2D2E62CF-9ECF-43B7-8219-94E7FC713DFE 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | 14 | [Binaries.AARCH64] 15 | PE32|UsbKbDxe.efi|* 16 | 17 | # AUTOGEN ENDS 18 | # **************************************************************************** 19 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UsbMouseDxe/UsbMouseDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/UsbMouseDxe/UsbMouseDxe.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UsbMouseDxe/UsbMouseDxe.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS UsbMouseDxe.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:43Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = UsbMouseDxe 10 | FILE_GUID = 2D2E62AA-9ECF-43B7-8219-94E7FC713DFE 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | 14 | [Binaries.AARCH64] 15 | PE32|UsbMouseDxe.efi|* 16 | 17 | # AUTOGEN ENDS 18 | # **************************************************************************** 19 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UsbMsdDxe/UsbMsdDxe.depex: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UsbMsdDxe/UsbMsdDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/UsbMsdDxe/UsbMsdDxe.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UsbMsdDxe/UsbMsdDxe.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS UsbMsdDxe.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:43Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = UsbMsdDxe 10 | FILE_GUID = 5AF77F10-90DF-4E7E-8325-A17EC09D5443 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|UsbMsdDxe.depex|* 17 | PE32|UsbMsdDxe.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UsbTypeCDxe/UsbTypeCDxe.depex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/UsbTypeCDxe/UsbTypeCDxe.depex -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UsbTypeCDxe/UsbTypeCDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/UsbTypeCDxe/UsbTypeCDxe.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UsbTypeCDxe/UsbTypeCDxe.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS UsbTypeCDxe.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:43Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = UsbTypeCDxe 10 | FILE_GUID = DD0616C8-B50D-4A58-B9BE-10C9F3F7156C 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|UsbTypeCDxe.depex|* 17 | PE32|UsbTypeCDxe.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UsbfnChgDxe/UsbfnChgDxe.depex: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UsbfnChgDxe/UsbfnChgDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/UsbfnChgDxe/UsbfnChgDxe.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UsbfnChgDxe/UsbfnChgDxe.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS UsbfnChgDxe.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:43Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = UsbfnChgDxe 10 | FILE_GUID = 51D4273A-C3FB-48FD-B5B7-97CE091A58A6 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|UsbfnChgDxe.depex|* 17 | PE32|UsbfnChgDxe.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UsbfnDwc3Dxe/UsbfnDwc3Dxe.depex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/UsbfnDwc3Dxe/UsbfnDwc3Dxe.depex -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UsbfnDwc3Dxe/UsbfnDwc3Dxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/UsbfnDwc3Dxe/UsbfnDwc3Dxe.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/UsbfnDwc3Dxe/UsbfnDwc3Dxe.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS UsbfnDwc3Dxe.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:42Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = UsbfnDwc3Dxe 10 | FILE_GUID = 94F8A6A7-DC34-4101-88C1-99179CCEAE83 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|UsbfnDwc3Dxe.depex|* 17 | PE32|UsbfnDwc3Dxe.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/XhciDxe/XhciDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/XhciDxe/XhciDxe.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/XhciDxe/XhciDxe.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS XhciDxe.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:43Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = XhciDxe 10 | FILE_GUID = B7F50E91-A759-412C-ADE4-DCD03E7F7C28 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | 14 | [Binaries.AARCH64] 15 | PE32|XhciDxe.efi|* 16 | 17 | # AUTOGEN ENDS 18 | # **************************************************************************** 19 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/XhciPciEmulation/XhciPciEmulation.depex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/XhciPciEmulation/XhciPciEmulation.depex -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/XhciPciEmulation/XhciPciEmulation.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/common/Binaries/XhciPciEmulation/XhciPciEmulation.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/common/Binaries/XhciPciEmulation/XhciPciEmulation.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS XhciPciEmulation.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:43Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = XhciPciEmulation 10 | FILE_GUID = BEB12BEE-F6E1-11E1-9FB8-6C626DE4AEB1 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|XhciPciEmulation.depex|* 17 | PE32|XhciPciEmulation.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/htc_ocmdtwl/PatchedBinaries/ButtonsDxe/ButtonsDxe.depex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/htc_ocmdtwl/PatchedBinaries/ButtonsDxe/ButtonsDxe.depex -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/htc_ocmdtwl/PatchedBinaries/ButtonsDxe/ButtonsDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/htc_ocmdtwl/PatchedBinaries/ButtonsDxe/ButtonsDxe.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/htc_ocmdtwl/PatchedBinaries/ButtonsDxe/ButtonsDxe.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS ButtonsDxe.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:42Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = ButtonsDxe 10 | FILE_GUID = 5BD181DB-0487-4F1A-AE73-820E165611B3 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|ButtonsDxe.depex|* 17 | PE32|ButtonsDxe.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/joan/PatchedBinaries/ButtonsDxe/ButtonsDxe.depex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/joan/PatchedBinaries/ButtonsDxe/ButtonsDxe.depex -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/joan/PatchedBinaries/ButtonsDxe/ButtonsDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/joan/PatchedBinaries/ButtonsDxe/ButtonsDxe.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/joan/PatchedBinaries/ButtonsDxe/ButtonsDxe.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS ButtonsDxe.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:42Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = ButtonsDxe 10 | FILE_GUID = 5BD181DB-0487-4F1A-AE73-820E165611B3 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|ButtonsDxe.depex|* 17 | PE32|ButtonsDxe.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/sagit/PatchedBinaries/ButtonsDxe/ButtonsDxe.depex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/sagit/PatchedBinaries/ButtonsDxe/ButtonsDxe.depex -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/sagit/PatchedBinaries/ButtonsDxe/ButtonsDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Binaries/sagit/PatchedBinaries/ButtonsDxe/ButtonsDxe.efi -------------------------------------------------------------------------------- /Platforms/Msm8998Binaries/sagit/PatchedBinaries/ButtonsDxe/ButtonsDxe.inf: -------------------------------------------------------------------------------- 1 | # **************************************************************************** 2 | # AUTOGENERATED BY UEFIReader 3 | # AUTOGENED AS ButtonsDxe.inf 4 | # DO NOT MODIFY 5 | # GENERATED ON: 2023-05-20 12:55:42Z 6 | 7 | [Defines] 8 | INF_VERSION = 0x0001001B 9 | BASE_NAME = ButtonsDxe 10 | FILE_GUID = 5BD181DB-0487-4F1A-AE73-820E165611B3 11 | MODULE_TYPE = DXE_DRIVER 12 | VERSION_STRING = 1.0 13 | ENTRY_POINT = EfiEntry 14 | 15 | [Binaries.AARCH64] 16 | DXE_DEPEX|ButtonsDxe.depex|* 17 | PE32|ButtonsDxe.efi|* 18 | 19 | [Depex] 20 | TRUE 21 | # AUTOGEN ENDS 22 | # **************************************************************************** 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Drivers/GenericKeypadDeviceDxe/GenericKeypadDevice.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | 7 | typedef struct { 8 | VENDOR_DEVICE_PATH Keypad; 9 | EFI_DEVICE_PATH End; 10 | } KEYPAD_DEVICE_PATH; 11 | 12 | KEYPAD_DEVICE_PATH mInternalDevicePath = { 13 | { 14 | { 15 | HARDWARE_DEVICE_PATH, 16 | HW_VENDOR_DP, 17 | { 18 | (UINT8)(sizeof(VENDOR_DEVICE_PATH)), 19 | (UINT8)((sizeof(VENDOR_DEVICE_PATH)) >> 8), 20 | }, 21 | }, 22 | EFI_CALLER_ID_GUID, 23 | }, 24 | { 25 | END_DEVICE_PATH_TYPE, 26 | END_ENTIRE_DEVICE_PATH_SUBTYPE, 27 | { sizeof (EFI_DEVICE_PATH_PROTOCOL), 0 } 28 | } 29 | }; 30 | 31 | STATIC KEYPAD_DEVICE_PROTOCOL mInternalKeypadDevice = { 32 | KeypadDeviceImplReset, 33 | KeypadDeviceImplGetKeys, 34 | }; 35 | 36 | EFI_STATUS 37 | EFIAPI 38 | KeypadDeviceDxeInitialize ( 39 | IN EFI_HANDLE ImageHandle, 40 | IN EFI_SYSTEM_TABLE *SystemTable 41 | ) 42 | { 43 | EFI_STATUS Status; 44 | 45 | Status = gBS->InstallMultipleProtocolInterfaces( 46 | &ImageHandle, 47 | &gEFIDroidKeypadDeviceProtocolGuid, 48 | &mInternalKeypadDevice, 49 | &gEfiDevicePathProtocolGuid, 50 | &mInternalDevicePath, 51 | NULL 52 | ); 53 | ASSERT_EFI_ERROR(Status); 54 | 55 | return Status; 56 | } 57 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Drivers/GenericKeypadDeviceDxe/GenericKeypadDeviceDxe.inf: -------------------------------------------------------------------------------- 1 | [Defines] 2 | INF_VERSION = 0x00010005 3 | BASE_NAME = GenericKeypadDeviceDxe 4 | FILE_GUID = 39A24CF8-411E-48EB-8BEA-3ED07327F400 5 | MODULE_TYPE = DXE_DRIVER 6 | VERSION_STRING = 1.0 7 | 8 | ENTRY_POINT = KeypadDeviceDxeInitialize 9 | 10 | [Sources.common] 11 | GenericKeypadDevice.c 12 | 13 | [Packages] 14 | MdePkg/MdePkg.dec 15 | ArmPkg/ArmPkg.dec 16 | EmbeddedPkg/EmbeddedPkg.dec 17 | 18 | [LibraryClasses] 19 | UefiDriverEntryPoint 20 | MemoryAllocationLib 21 | KeypadDeviceImplLib 22 | 23 | [Protocols] 24 | gEFIDroidKeypadDeviceProtocolGuid 25 | gEfiDevicePathProtocolGuid 26 | 27 | [Depex] 28 | TRUE 29 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Drivers/KeypadDxe/KeypadDxe.inf: -------------------------------------------------------------------------------- 1 | ## @file 2 | # Keypad Driver. 3 | # 4 | # Keypad Driver for UEFI. The keypad type implemented follows IBM 5 | # compatible PS2 protocol using Scan Code Set 1. 6 | # 7 | # Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.
8 | # 9 | # This program and the accompanying materials 10 | # are licensed and made available under the terms and conditions of the BSD License 11 | # which accompanies this distribution. The full text of the license may be found at 12 | # http://opensource.org/licenses/bsd-license.php 13 | # 14 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 15 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 16 | # 17 | # 18 | ## 19 | 20 | [Defines] 21 | INF_VERSION = 0x00010005 22 | BASE_NAME = KeypadDxe 23 | FILE_GUID = 463C9415-765B-4AE8-9B1A-AA5C6ECB2892 24 | MODULE_TYPE = UEFI_DRIVER 25 | VERSION_STRING = 1.0 26 | ENTRY_POINT = InitializeKeypad 27 | 28 | [Sources] 29 | ComponentName.c 30 | Keypad.h 31 | KeypadController.c 32 | KeypadTextIn.c 33 | Keypad.c 34 | 35 | [Packages] 36 | MdePkg/MdePkg.dec 37 | MdeModulePkg/MdeModulePkg.dec 38 | 39 | [LibraryClasses] 40 | MemoryAllocationLib 41 | UefiRuntimeServicesTableLib 42 | DebugLib 43 | DevicePathLib 44 | UefiBootServicesTableLib 45 | UefiLib 46 | UefiDriverEntryPoint 47 | BaseLib 48 | BaseMemoryLib 49 | TimerLib 50 | PcdLib 51 | IoLib 52 | 53 | [Protocols] 54 | gEfiSimpleTextInProtocolGuid ## BY_START 55 | gEfiSimpleTextInputExProtocolGuid ## BY_START 56 | gEFIDroidKeypadDeviceProtocolGuid 57 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Drivers/KeypadDxe/Source.txt: -------------------------------------------------------------------------------- 1 | URL: https://github.com/tianocore/edk2/tree/master/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe 2 | BRANCH: master @ 35dadd7c54 3 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Drivers/LogoDxe/Logo.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998FamilyPkg/Drivers/LogoDxe/Logo.bmp -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Drivers/LogoDxe/Logo.idf: -------------------------------------------------------------------------------- 1 | // /** @file 2 | // Platform Logo image definition file. 3 | // 4 | // Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.
5 | // 6 | // This program and the accompanying materials 7 | // are licensed and made available under the terms and conditions of the BSD License 8 | // which accompanies this distribution. The full text of the license may be found at 9 | // http://opensource.org/licenses/bsd-license.php 10 | // THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 12 | // 13 | // **/ 14 | 15 | #image IMG_LOGO Logo.bmp 16 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Drivers/LogoDxe/Logo.inf: -------------------------------------------------------------------------------- 1 | ## @file 2 | # The default logo bitmap picture shown on setup screen, which is corresponding to gEfiDefaultBmpLogoGuid. 3 | # 4 | # Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
5 | # 6 | # This program and the accompanying materials 7 | # are licensed and made available under the terms and conditions of the BSD License 8 | # which accompanies this distribution. The full text of the license may be found at 9 | # http://opensource.org/licenses/bsd-license.php 10 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 12 | # 13 | # 14 | ## 15 | 16 | [Defines] 17 | INF_VERSION = 0x00010005 18 | BASE_NAME = Logo 19 | MODULE_UNI_FILE = Logo.uni 20 | FILE_GUID = 395CD006-FE97-785E-6DEE-4569C3B4411B 21 | MODULE_TYPE = USER_DEFINED 22 | VERSION_STRING = 1.1 23 | 24 | # 25 | # The following information is for reference only and not required by the build tools. 26 | # 27 | # VALID_ARCHITECTURES = IA32 X64 IPF EBC ARM AARCH64 28 | # 29 | 30 | [Binaries] 31 | BIN|Logo.bmp|* 32 | 33 | [UserExtensions.TianoCore."ExtraFiles"] 34 | LogoExtra.uni 35 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Drivers/LogoDxe/Logo.uni: -------------------------------------------------------------------------------- 1 | // /** @file 2 | // The default logo bitmap picture shown on setup screen, which is corresponding to gEfiDefaultBmpLogoGuid. 3 | // 4 | // This module provides the default logo bitmap picture shown on setup screen, which corresponds to gEfiDefaultBmpLogoGuid. 5 | // 6 | // Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
7 | // 8 | // This program and the accompanying materials 9 | // are licensed and made available under the terms and conditions of the BSD License 10 | // which accompanies this distribution. The full text of the license may be found at 11 | // http://opensource.org/licenses/bsd-license.php 12 | // THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 13 | // WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 14 | // 15 | // **/ 16 | 17 | 18 | #string STR_MODULE_ABSTRACT #language en-US "Provides the default logo bitmap picture shown on setup screen, which corresponds to gEfiDefaultBmpLogoGuid" 19 | 20 | #string STR_MODULE_DESCRIPTION #language en-US "This module provides the default logo bitmap picture shown on setup screen, which corresponds to gEfiDefaultBmpLogoGuid." 21 | 22 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Drivers/LogoDxe/LogoDxe.uni: -------------------------------------------------------------------------------- 1 | // /** @file 2 | // The default logo bitmap picture shown on setup screen. 3 | // 4 | // This module provides the default logo bitmap picture shown on setup screen, through EDKII Platform Logo protocol. 5 | // 6 | // Copyright (c) 2016, Intel Corporation. All rights reserved.
7 | // 8 | // This program and the accompanying materials 9 | // are licensed and made available under the terms and conditions of the BSD License 10 | // which accompanies this distribution. The full text of the license may be found at 11 | // http://opensource.org/licenses/bsd-license.php 12 | // THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 13 | // WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 14 | // 15 | // **/ 16 | 17 | 18 | #string STR_MODULE_ABSTRACT #language en-US "Little Moe LLC Logo" 19 | 20 | #string STR_MODULE_DESCRIPTION #language en-US "This module provides the default logo bitmap picture shown on setup screen, through EDKII Platform Logo protocol." 21 | 22 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Drivers/LogoDxe/LogoDxeExtra.uni: -------------------------------------------------------------------------------- 1 | // /** @file 2 | // Logo Localized Strings and Content 3 | // 4 | // Copyright (c) 2016, Intel Corporation. All rights reserved.
5 | // 6 | // This program and the accompanying materials 7 | // are licensed and made available under the terms and conditions of the BSD License 8 | // which accompanies this distribution. The full text of the license may be found at 9 | // http://opensource.org/licenses/bsd-license.php 10 | // THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 12 | // 13 | // **/ 14 | 15 | #string STR_PROPERTIES_MODULE_NAME 16 | #language en-US 17 | "Logo Image File" 18 | 19 | 20 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Drivers/LogoDxe/LogoExtra.uni: -------------------------------------------------------------------------------- 1 | // /** @file 2 | // Logo Localized Strings and Content 3 | // 4 | // Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.
5 | // 6 | // This program and the accompanying materials 7 | // are licensed and made available under the terms and conditions of the BSD License 8 | // which accompanies this distribution. The full text of the license may be found at 9 | // http://opensource.org/licenses/bsd-license.php 10 | // THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 12 | // 13 | // **/ 14 | 15 | #string STR_PROPERTIES_MODULE_NAME 16 | #language en-US 17 | "Logo Image File" 18 | 19 | 20 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Drivers/SimpleFbDxe/SimpleFbDxe.inf: -------------------------------------------------------------------------------- 1 | # SimpleFbDxe.inf: Implements Simple FrameBuffer in UEFI. 2 | 3 | [Defines] 4 | INF_VERSION = 0x00010005 5 | BASE_NAME = SimpleFbDxe 6 | FILE_GUID = dcfd1e6d-788d-4ffc-8e1b-ca2f75651a92 7 | MODULE_TYPE = DXE_DRIVER 8 | VERSION_STRING = 1.0 9 | ENTRY_POINT = SimpleFbDxeInitialize 10 | 11 | [Sources.common] 12 | SimpleFbDxe.c 13 | 14 | [Packages] 15 | MdePkg/MdePkg.dec 16 | MdeModulePkg/MdeModulePkg.dec 17 | EmbeddedPkg/EmbeddedPkg.dec 18 | ArmPkg/ArmPkg.dec 19 | Platforms/Msm8998FamilyPkg/Msm8998FamilyPkg.dec 20 | 21 | [LibraryClasses] 22 | BaseLib 23 | ReportStatusCodeLib 24 | UefiLib 25 | UefiBootServicesTableLib 26 | UefiDriverEntryPoint 27 | BaseMemoryLib 28 | DebugLib 29 | PcdLib 30 | FrameBufferBltLib 31 | CacheMaintenanceLib 32 | 33 | [Protocols] 34 | gEfiGraphicsOutputProtocolGuid ## PRODUCES 35 | gEfiCpuArchProtocolGuid 36 | 37 | [FixedPcd] 38 | gMSM8998PkgTokenSpaceGuid.PcdMipiFrameBufferAddress 39 | gMSM8998PkgTokenSpaceGuid.PcdMipiFrameBufferWidth 40 | gMSM8998PkgTokenSpaceGuid.PcdMipiFrameBufferHeight 41 | 42 | [Guids] 43 | gEfiMdeModulePkgTokenSpaceGuid 44 | 45 | [Pcd] 46 | gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution 47 | gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution 48 | 49 | [Depex] 50 | gEfiCpuArchProtocolGuid 51 | 52 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Drivers/SynapticsRmi4Dxe/SynapticsTouchDevice.inf: -------------------------------------------------------------------------------- 1 | [Defines] 2 | INF_VERSION = 0x00010005 3 | BASE_NAME = SynapticsTouchDeviceDxe 4 | FILE_GUID = f0d87c5e-4d5d-4fb5-939f-a6768ae8a310 5 | MODULE_TYPE = DXE_DRIVER 6 | VERSION_STRING = 1.0 7 | ENTRY_POINT = SynaDeviceInitialize 8 | 9 | [Sources.common] 10 | SynapticsTouchDevice.c 11 | 12 | [Packages] 13 | MdePkg/MdePkg.dec 14 | ArmPkg/ArmPkg.dec 15 | EmbeddedPkg/EmbeddedPkg.dec 16 | Platforms/Msm8998FamilyPkg/Msm8998FamilyPkg.dec 17 | 18 | [BuildOptions.AARCH64] 19 | GCC:*_*_*_CC_FLAGS = -Werror -Wno-error=unused-variable 20 | 21 | [LibraryClasses] 22 | ArmLib 23 | UefiDriverEntryPoint 24 | IoLib 25 | TimerLib 26 | BaseLib 27 | DebugLib 28 | PrintLib 29 | CompilerIntrinsicsLib 30 | CacheMaintenanceLib 31 | UefiLib 32 | 33 | [Pcd] 34 | gQcomTokenSpaceGuid.PcdMipiFrameBufferWidth 35 | gQcomTokenSpaceGuid.PcdMipiFrameBufferHeight 36 | gQcomTokenSpaceGuid.PcdTouchCtlrAddress 37 | gQcomTokenSpaceGuid.PcdTouchCtlrResetPin 38 | gQcomTokenSpaceGuid.PcdTouchCtlrIntPin 39 | gQcomTokenSpaceGuid.PcdTouchCtlrI2cDevice 40 | gQcomTokenSpaceGuid.PcdTouchMinX 41 | gQcomTokenSpaceGuid.PcdTouchMaxX 42 | gQcomTokenSpaceGuid.PcdTouchInvertedX 43 | gQcomTokenSpaceGuid.PcdTouchMinY 44 | gQcomTokenSpaceGuid.PcdTouchMaxY 45 | gQcomTokenSpaceGuid.PcdTouchInvertedY 46 | gQcomTokenSpaceGuid.PcdTouchCtlrVddPin 47 | gQcomTokenSpaceGuid.PcdTouchCtlrVddIoPin 48 | gQcomTokenSpaceGuid.PcdTouchCtlrVddPinActiveLow 49 | 50 | 51 | [Protocols] 52 | gQcomI2cProtocolGuid 53 | gQcomTlmmProtocolGuid 54 | gHardwareInterruptProtocolGuid 55 | gSynapticsTouchDeviceProtocolGuid 56 | gEfiDevicePathProtocolGuid 57 | 58 | [Depex] 59 | gQcomI2cProtocolGuid AND gQcomTlmmProtocolGuid 60 | 61 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Drivers/SynapticsRmi4Dxe/SynapticsTouchDxe.inf: -------------------------------------------------------------------------------- 1 | [Defines] 2 | INF_VERSION = 0x00010005 3 | BASE_NAME = SynapticsTouchDxe 4 | FILE_GUID = f0d87c5e-4d5d-4fb5-939f-a6768ae8a309 5 | MODULE_TYPE = DXE_DRIVER 6 | VERSION_STRING = 1.0 7 | ENTRY_POINT = SynaInitialize 8 | 9 | [Sources.common] 10 | SynapticsTouchDxe.c 11 | I2cOps.c 12 | ComponentName.c 13 | 14 | [Packages] 15 | MdePkg/MdePkg.dec 16 | ArmPkg/ArmPkg.dec 17 | EmbeddedPkg/EmbeddedPkg.dec 18 | Platforms/Msm8998FamilyPkg/Msm8998FamilyPkg.dec 19 | 20 | [BuildOptions.AARCH64] 21 | GCC:*_*_*_CC_FLAGS = -Werror -Wno-error=unused-variable 22 | 23 | [LibraryClasses] 24 | ArmLib 25 | UefiDriverEntryPoint 26 | IoLib 27 | TimerLib 28 | BaseLib 29 | DebugLib 30 | PrintLib 31 | CompilerIntrinsicsLib 32 | CacheMaintenanceLib 33 | UefiLib 34 | 35 | [Protocols] 36 | gQcomI2cProtocolGuid 37 | gQcomTlmmProtocolGuid 38 | gHardwareInterruptProtocolGuid 39 | gEfiAbsolutePointerProtocolGuid 40 | gSynapticsTouchDeviceProtocolGuid 41 | gEfiDevicePathProtocolGuid 42 | 43 | [Guids] 44 | gEfiEventExitBootServicesGuid 45 | 46 | [Depex] 47 | gSynapticsTouchDeviceProtocolGuid 48 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Drivers/msm8998Dxe/msm8998Dxe.h: -------------------------------------------------------------------------------- 1 | /** @file 2 | * 3 | * Copyright (c) 2018, Linaro Ltd. All rights reserved. 4 | * 5 | * This program and the accompanying materials 6 | * are licensed and made available under the terms and conditions of the BSD License 7 | * which accompanies this distribution. The full text of the license may be found at 8 | * http://opensource.org/licenses/bsd-license.php 9 | * 10 | * THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 11 | * WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 12 | * 13 | **/ 14 | 15 | #ifndef __PIXEL3XLDXE_H__ 16 | #define __PIXEL3XLDXE_H__ 17 | 18 | #endif /* __PIXEL3XLDXE_H__ */ 19 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Drivers/msm8998Dxe/msm8998Dxe.inf: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2018, Linaro Limited. All rights reserved. 3 | # 4 | # This program and the accompanying materials 5 | # are licensed and made available under the terms and conditions of the BSD License 6 | # which accompanies this distribution. The full text of the license may be found at 7 | # http://opensource.org/licenses/bsd-license.php 8 | # 9 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 10 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 11 | # 12 | 13 | [Defines] 14 | INF_VERSION = 0x0001001a 15 | BASE_NAME = msm8998Dxe 16 | FILE_GUID = 422BB380-0FFB-41EC-B86E-AE70F8A02DA3 17 | MODULE_TYPE = DXE_DRIVER 18 | VERSION_STRING = 1.0 19 | ENTRY_POINT = msm8998EntryPoint 20 | 21 | [Sources.common] 22 | msm8998Dxe.c 23 | 24 | [Packages] 25 | EmbeddedPkg/EmbeddedPkg.dec 26 | MdeModulePkg/MdeModulePkg.dec 27 | MdePkg/MdePkg.dec 28 | 29 | [LibraryClasses] 30 | BaseMemoryLib 31 | CacheMaintenanceLib 32 | DxeServicesTableLib 33 | IoLib 34 | PcdLib 35 | TimerLib 36 | UefiDriverEntryPoint 37 | UefiLib 38 | 39 | [Protocols] 40 | gEfiDevicePathFromTextProtocolGuid 41 | gEfiLoadedImageProtocolGuid 42 | gEfiCpuArchProtocolGuid 43 | 44 | [Guids] 45 | gEfiEndOfDxeEventGroupGuid 46 | 47 | [Depex] 48 | gEfiCpuArchProtocolGuid 49 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Include/Configuration/BootDevices.h: -------------------------------------------------------------------------------- 1 | #ifndef _BOOT_DEVICES_H_ 2 | #define _BOOT_DEVICES_H_ 3 | 4 | #include 5 | #include 6 | 7 | #define PLAT_KEYPAD_DEVICE_GUID \ 8 | { \ 9 | 0xD7F58A0E, 0xBED2, 0x4B5A, \ 10 | { \ 11 | 0xBB, 0x43, 0x8A, 0xB2, 0x3D, 0xD0, 0xE2, 0xB0 \ 12 | } \ 13 | } 14 | 15 | /* DevicePath definition for Button driver */ 16 | #pragma pack(1) 17 | typedef struct { 18 | VENDOR_DEVICE_PATH VendorDevicePath; 19 | EFI_DEVICE_PATH_PROTOCOL End; 20 | } EFI_KEYPAD_DEVICE_PATH; 21 | #pragma pack() 22 | 23 | EFI_KEYPAD_DEVICE_PATH KeyPadDxeDevicePath = { 24 | {{HARDWARE_DEVICE_PATH, 25 | HW_VENDOR_DP, 26 | {(UINT8)(sizeof(VENDOR_DEVICE_PATH)), 27 | (UINT8)((sizeof(VENDOR_DEVICE_PATH)) >> 8)}}, 28 | PLAT_KEYPAD_DEVICE_GUID}, 29 | {END_DEVICE_PATH_TYPE, 30 | END_ENTIRE_DEVICE_PATH_SUBTYPE, 31 | {(UINT8)(END_DEVICE_PATH_LENGTH), 32 | (UINT8)((END_DEVICE_PATH_LENGTH) >> 8)}}}; 33 | 34 | #endif -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Include/Configuration/Hob.h: -------------------------------------------------------------------------------- 1 | #ifndef __LOCAL_HOB_H__ 2 | #define __LOCAL_HOB_H__ 3 | 4 | #define PRELOADER_ENV_ADDR 0xaf000000 5 | #define PRELOADER_VERSION_MIN 0x1000 6 | 7 | #define PRELOADER_HEADER SIGNATURE_32('B', 'S', 'E', 'N') 8 | 9 | typedef struct _PRELOADER_ENVIRONMENT { 10 | UINT32 Header; 11 | UINT32 PreloaderVersion; 12 | CHAR8 PreloaderRelease[64]; 13 | EFI_TIME BootTimeEpoch; 14 | UINT32 UefiDisplayInfo[30]; 15 | UINT32 Crc32; 16 | } PRELOADER_ENVIRONMENT, *PPRELOADER_ENVIRONMENT; 17 | 18 | #endif -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Include/Library/FrameBufferSerialPortLib.h: -------------------------------------------------------------------------------- 1 | #ifndef _FRAMEBUFFER_SERIALPORT_LIB_H_ 2 | #define _FRAMEBUFFER_SERIALPORT_LIB_H_ 3 | 4 | typedef struct _FBCON_POSITION { 5 | INTN x; 6 | INTN y; 7 | } FBCON_POSITION, *PFBCON_POSITION; 8 | 9 | typedef struct _FBCON_COLOR { 10 | UINTN Foreground; 11 | UINTN Background; 12 | } FBCON_COLOR, *PFBCON_COLOR; 13 | 14 | enum FbConMsgType { 15 | /* type for menu */ 16 | FBCON_COMMON_MSG = 0, 17 | FBCON_UNLOCK_TITLE_MSG, 18 | FBCON_TITLE_MSG, 19 | FBCON_SUBTITLE_MSG, 20 | 21 | /* type for warning */ 22 | FBCON_YELLOW_MSG, 23 | FBCON_ORANGE_MSG, 24 | FBCON_RED_MSG, 25 | FBCON_GREEN_MSG, 26 | 27 | /* and the select message's background */ 28 | FBCON_SELECT_MSG_BG_COLOR, 29 | }; 30 | 31 | void ResetFb(void); 32 | 33 | UINTN 34 | EFIAPI 35 | SerialPortWriteCritical 36 | ( 37 | IN UINT8 *Buffer, 38 | IN UINTN NumberOfBytes 39 | ); 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Include/Resources/FbColor.h: -------------------------------------------------------------------------------- 1 | #ifndef _FB_COLOR_H_ 2 | #define _FB_COLOR_H_ 3 | 4 | #define FB_BGRA8888_BLACK 0xff000000 5 | #define FB_BGRA8888_WHITE 0xffffffff 6 | #define FB_BGRA8888_CYAN 0xff00ffff 7 | #define FB_BGRA8888_BLUE 0xff0000ff 8 | #define FB_BGRA8888_SILVER 0xffc0c0c0 9 | #define FB_BGRA8888_YELLOW 0xffffff00 10 | #define FB_BGRA8888_ORANGE 0xffffa500 11 | #define FB_BGRA8888_RED 0xffff0000 12 | #define FB_BGRA8888_GREEN 0xff00ff00 13 | 14 | #endif -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Library/ArmMmuLib/AArch64/ArmMmuLibReplaceEntry.S: -------------------------------------------------------------------------------- 1 | #------------------------------------------------------------------------------ 2 | # 3 | # Copyright (c) 2016, Linaro Limited. All rights reserved. 4 | # 5 | # SPDX-License-Identifier: BSD-2-Clause-Patent 6 | # 7 | #------------------------------------------------------------------------------ 8 | 9 | #include 10 | 11 | .set CTRL_M_BIT, (1 << 0) 12 | 13 | .macro __replace_entry, el 14 | 15 | // disable the MMU 16 | mrs x8, sctlr_el\el 17 | bic x9, x8, #CTRL_M_BIT 18 | msr sctlr_el\el, x9 19 | isb 20 | 21 | // write updated entry 22 | str x1, [x0] 23 | 24 | // invalidate again to get rid of stale clean cachelines that may 25 | // have been filled speculatively since the last invalidate 26 | dmb sy 27 | dc ivac, x0 28 | 29 | // flush translations for the target address from the TLBs 30 | lsr x2, x2, #12 31 | .if \el == 1 32 | tlbi vaae1, x2 33 | .else 34 | tlbi vae\el, x2 35 | .endif 36 | dsb nsh 37 | 38 | // re-enable the MMU 39 | msr sctlr_el\el, x8 40 | isb 41 | .endm 42 | 43 | //VOID 44 | //ArmReplaceLiveTranslationEntry ( 45 | // IN UINT64 *Entry, 46 | // IN UINT64 Value, 47 | // IN UINT64 Address 48 | // ) 49 | ASM_FUNC(ArmReplaceLiveTranslationEntry) 50 | 51 | // disable interrupts 52 | mrs x4, daif 53 | msr daifset, #0xf 54 | isb 55 | 56 | // clean and invalidate first so that we don't clobber 57 | // adjacent entries that are dirty in the caches 58 | dc civac, x0 59 | dsb nsh 60 | 61 | EL1_OR_EL2_OR_EL3(x3) 62 | 1:__replace_entry 1 63 | b 4f 64 | 2:__replace_entry 2 65 | b 4f 66 | 3:__replace_entry 3 67 | 68 | 4:msr daif, x4 69 | ret 70 | 71 | ASM_GLOBAL ASM_PFX(ArmReplaceLiveTranslationEntrySize) 72 | 73 | ASM_PFX(ArmReplaceLiveTranslationEntrySize): 74 | .long . - ArmReplaceLiveTranslationEntry 75 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Library/ArmMmuLib/Arm/ArmMmuLibV7Support.S: -------------------------------------------------------------------------------- 1 | #------------------------------------------------------------------------------ 2 | # 3 | # Copyright (c) 2016, Linaro Limited. All rights reserved. 4 | # 5 | # SPDX-License-Identifier: BSD-2-Clause-Patent 6 | # 7 | #------------------------------------------------------------------------------ 8 | 9 | #include 10 | 11 | .text 12 | .align 2 13 | 14 | GCC_ASM_EXPORT (ArmReadIdMmfr0) 15 | GCC_ASM_EXPORT (ArmHasMpExtensions) 16 | 17 | #------------------------------------------------------------------------------ 18 | 19 | ASM_PFX (ArmHasMpExtensions): 20 | mrc p15,0,R0,c0,c0,5 21 | // Get Multiprocessing extension (bit31) 22 | lsr R0, R0, #31 23 | bx LR 24 | 25 | ASM_PFX(ArmReadIdMmfr0): 26 | mrc p15, 0, r0, c0, c1, 4 @ Read ID_MMFR0 Register 27 | bx lr 28 | 29 | ASM_FUNCTION_REMOVE_IF_UNREFERENCED 30 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Library/ArmMmuLib/Arm/ArmMmuLibV7Support.asm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // Copyright (c) 2016, Linaro Limited. All rights reserved. 4 | // 5 | // SPDX-License-Identifier: BSD-2-Clause-Patent 6 | // 7 | //------------------------------------------------------------------------------ 8 | 9 | 10 | 11 | INCLUDE AsmMacroExport.inc 12 | 13 | 14 | //------------------------------------------------------------------------------ 15 | 16 | RVCT_ASM_EXPORT ArmHasMpExtensions 17 | mrc p15,0,R0,c0,c0,5 18 | // Get Multiprocessing extension (bit31) 19 | lsr R0, R0, #31 20 | bx LR 21 | 22 | RVCT_ASM_EXPORT ArmReadIdMmfr0 23 | mrc p15, 0, r0, c0, c1, 4 ; Read ID_MMFR0 Register 24 | bx lr 25 | 26 | END 27 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf: -------------------------------------------------------------------------------- 1 | #/** @file 2 | # 3 | # Copyright (c) 2016 Linaro Ltd. All rights reserved. 4 | # 5 | # SPDX-License-Identifier: BSD-2-Clause-Patent 6 | # 7 | # 8 | #**/ 9 | 10 | [Defines] 11 | INF_VERSION = 0x00010005 12 | BASE_NAME = ArmMmuBaseLib 13 | FILE_GUID = 459A0113-F77B-4270-7C40-ED473B985ED5 14 | MODULE_TYPE = BASE 15 | VERSION_STRING = 1.1 16 | LIBRARY_CLASS = ArmMmuLib 17 | CONSTRUCTOR = ArmMmuBaseLibConstructor 18 | 19 | [Sources.AARCH64] 20 | AArch64/ArmMmuLibCore.c 21 | AArch64/ArmMmuLibReplaceEntry.S 22 | 23 | [Sources.ARM] 24 | Arm/ArmMmuLibCore.c 25 | Arm/ArmMmuLibV7Support.S |GCC 26 | Arm/ArmMmuLibV7Support.asm |RVCT 27 | 28 | [Packages] 29 | ArmPkg/ArmPkg.dec 30 | EmbeddedPkg/EmbeddedPkg.dec 31 | MdePkg/MdePkg.dec 32 | 33 | [LibraryClasses] 34 | ArmLib 35 | CacheMaintenanceLib 36 | MemoryAllocationLib 37 | 38 | [Pcd.ARM] 39 | gArmTokenSpaceGuid.PcdNormalMemoryNonshareableOverride 40 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Library/ArmMmuLib/ArmMmuPeiLib.inf: -------------------------------------------------------------------------------- 1 | #/** @file 2 | # 3 | # Copyright (c) 2016 Linaro Ltd. All rights reserved. 4 | # 5 | # SPDX-License-Identifier: BSD-2-Clause-Patent 6 | # 7 | # 8 | #**/ 9 | 10 | [Defines] 11 | INF_VERSION = 0x00010005 12 | BASE_NAME = ArmMmuPeiLib 13 | FILE_GUID = 2FD24913-D00D-6E81-35DE-0EFA5A0AE893 14 | MODULE_TYPE = PEIM 15 | VERSION_STRING = 1.1 16 | LIBRARY_CLASS = ArmMmuLib|PEIM 17 | CONSTRUCTOR = ArmMmuPeiLibConstructor 18 | 19 | [Sources.AARCH64] 20 | AArch64/ArmMmuLibCore.c 21 | AArch64/ArmMmuPeiLibConstructor.c 22 | AArch64/ArmMmuLibReplaceEntry.S 23 | 24 | [Packages] 25 | ArmPkg/ArmPkg.dec 26 | EmbeddedPkg/EmbeddedPkg.dec 27 | MdePkg/MdePkg.dec 28 | 29 | [LibraryClasses] 30 | ArmLib 31 | CacheMaintenanceLib 32 | MemoryAllocationLib 33 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Library/ArmPlatformLib/ArmPlatformLib.inf: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2018, Linaro Limited. All rights reserved. 3 | # 4 | # This program and the accompanying materials 5 | # are licensed and made available under the terms and conditions of the BSD License 6 | # which accompanies this distribution. The full text of the license may be found at 7 | # http://opensource.org/licenses/bsd-license.php 8 | # 9 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 10 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 11 | # 12 | 13 | [Defines] 14 | INF_VERSION = 0x00010019 15 | BASE_NAME = ArmPlatformLib 16 | FILE_GUID = 61620091-45BA-4EFF-8F58-F7ABF228CEBC 17 | MODULE_TYPE = BASE 18 | VERSION_STRING = 1.0 19 | LIBRARY_CLASS = ArmPlatformLib 20 | 21 | [Packages] 22 | ArmPkg/ArmPkg.dec 23 | ArmPlatformPkg/ArmPlatformPkg.dec 24 | EmbeddedPkg/EmbeddedPkg.dec 25 | MdePkg/MdePkg.dec 26 | MdeModulePkg/MdeModulePkg.dec 27 | Platforms/Msm8998FamilyPkg/Msm8998FamilyPkg.dec 28 | SimpleInit.dec 29 | 30 | [LibraryClasses] 31 | ArmLib 32 | HobLib 33 | IoLib 34 | MemoryAllocationLib 35 | PlatformMemoryMapLib 36 | SerialPortLib 37 | 38 | [Sources.common] 39 | ArmPlatformLib.c 40 | ArmPlatformLibMem.c 41 | 42 | [Sources.AArch64] 43 | AArch64/ArmPlatformHelper.S 44 | 45 | [FixedPcd] 46 | gArmTokenSpaceGuid.PcdArmPrimaryCore 47 | gArmTokenSpaceGuid.PcdArmPrimaryCoreMask 48 | gArmTokenSpaceGuid.PcdSystemMemoryBase 49 | gArmTokenSpaceGuid.PcdSystemMemorySize 50 | gArmTokenSpaceGuid.PcdFdBaseAddress 51 | gArmTokenSpaceGuid.PcdFdSize 52 | gSimpleInitTokenSpaceGuid.PcdDeviceTreeStore 53 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Library/FrameBufferSerialPortLib/FrameBufferSerialPortLib.h: -------------------------------------------------------------------------------- 1 | #ifndef _FRAMEBUFFER_SERIALPORT_LIB_H_ 2 | #define _FRAMEBUFFER_SERIALPORT_LIB_H_ 3 | 4 | typedef struct _FBCON_POSITION { 5 | INTN x; 6 | INTN y; 7 | } FBCON_POSITION, *PFBCON_POSITION; 8 | 9 | typedef struct _FBCON_COLOR { 10 | UINTN Foreground; 11 | UINTN Background; 12 | } FBCON_COLOR, *PFBCON_COLOR; 13 | 14 | enum FbConMsgType { 15 | /* type for menu */ 16 | FBCON_COMMON_MSG = 0, 17 | FBCON_UNLOCK_TITLE_MSG, 18 | FBCON_TITLE_MSG, 19 | FBCON_SUBTITLE_MSG, 20 | 21 | /* type for warning */ 22 | FBCON_YELLOW_MSG, 23 | FBCON_ORANGE_MSG, 24 | FBCON_RED_MSG, 25 | FBCON_GREEN_MSG, 26 | 27 | /* and the select message's background */ 28 | FBCON_SELECT_MSG_BG_COLOR, 29 | }; 30 | 31 | void ResetFb(void); 32 | 33 | UINTN 34 | EFIAPI 35 | SerialPortWriteCritical 36 | ( 37 | IN UINT8 *Buffer, 38 | IN UINTN NumberOfBytes 39 | ); 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Library/FrameBufferSerialPortLib/FrameBufferSerialPortLib.inf: -------------------------------------------------------------------------------- 1 | [Defines] 2 | INF_VERSION = 0x00010005 3 | FILE_GUID = 33220897-2430-1CD5-EA89-CB01B138CF39 4 | BASE_NAME = FrameBufferSerialPortLib 5 | MODULE_TYPE = BASE 6 | VERSION_STRING = 1.1 7 | LIBRARY_CLASS = SerialPortLib 8 | 9 | [Sources.common] 10 | FrameBufferSerialPortLib.c 11 | 12 | [Packages] 13 | MdePkg/MdePkg.dec 14 | ArmPkg/ArmPkg.dec 15 | Platforms/Msm8998FamilyPkg/Msm8998FamilyPkg.dec 16 | 17 | [LibraryClasses] 18 | ArmLib 19 | PcdLib 20 | IoLib 21 | HobLib 22 | CompilerIntrinsicsLib 23 | CacheMaintenanceLib 24 | 25 | [Pcd] 26 | gMSM8998PkgTokenSpaceGuid.PcdMipiFrameBufferAddress 27 | gMSM8998PkgTokenSpaceGuid.PcdMipiFrameBufferWidth 28 | gMSM8998PkgTokenSpaceGuid.PcdMipiFrameBufferHeight 29 | gMSM8998PkgTokenSpaceGuid.PcdMipiFrameBufferPixelBpp 30 | gMSM8998PkgTokenSpaceGuid.PcdMipiFrameBufferVisibleWidth 31 | gMSM8998PkgTokenSpaceGuid.PcdMipiFrameBufferVisibleHeight 32 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Library/InMemorySerialPortLib/InMemorySerialPortLib.inf: -------------------------------------------------------------------------------- 1 | ## @file 2 | # Null instance of Serial Port Library with empty functions. 3 | # 4 | # Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
5 | # 6 | # This program and the accompanying materials 7 | # are licensed and made available under the terms and conditions of the BSD License 8 | # which accompanies this distribution. The full text of the license may be found at 9 | # http://opensource.org/licenses/bsd-license.php. 10 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 12 | # 13 | # 14 | ## 15 | 16 | [Defines] 17 | INF_VERSION = 0x00010005 18 | BASE_NAME = InMemorySerialPortLib 19 | MODULE_UNI_FILE = InMemorySerialPortLib.uni 20 | FILE_GUID = 762fbf9a-984a-4960-9c7c-e0a076860304 21 | MODULE_TYPE = BASE 22 | VERSION_STRING = 1.0 23 | LIBRARY_CLASS = SerialPortLib 24 | 25 | 26 | # 27 | # VALID_ARCHITECTURES = IA32 X64 EBC 28 | # 29 | 30 | [Sources] 31 | InMemorySerialPortLib.c 32 | 33 | 34 | [Packages] 35 | MdePkg/MdePkg.dec 36 | 37 | [LibraryClasses] 38 | CacheMaintenanceLib 39 | 40 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Library/InMemorySerialPortLib/InMemorySerialPortLib.uni: -------------------------------------------------------------------------------- 1 | // /** @file 2 | // Null instance of Serial Port Library with empty functions. 3 | // 4 | // Null instance of Serial Port Library with empty functions. 5 | // 6 | // Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
7 | // 8 | // This program and the accompanying materials 9 | // are licensed and made available under the terms and conditions of the BSD License 10 | // which accompanies this distribution. The full text of the license may be found at 11 | // http://opensource.org/licenses/bsd-license.php. 12 | // THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 13 | // WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 14 | // 15 | // **/ 16 | 17 | 18 | #string STR_MODULE_ABSTRACT #language en-US "Serial Port Library that dumps everything written to in memory buffer" 19 | 20 | #string STR_MODULE_DESCRIPTION #language en-US "Serial Port Library that dumps everything written to in memory buffer" 21 | 22 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.inf: -------------------------------------------------------------------------------- 1 | #/* @file 2 | # 3 | # Implement dummy EFI RealTimeClock runtime services. 4 | # 5 | # Copyright (c), 2018, Andrei Warkentin 6 | # Copyright (c) Microsoft Corporation. All rights reserved. 7 | # 8 | # This program and the accompanying materials 9 | # are licensed and made available under the terms and conditions of the BSD License 10 | # which accompanies this distribution. The full text of the license may be found at 11 | # http://opensource.org/licenses/bsd-license.php 12 | # 13 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 15 | # 16 | #*/ 17 | 18 | [Defines] 19 | INF_VERSION = 0x00010005 20 | BASE_NAME = VirtualRealTimeClockLib 21 | FILE_GUID = 775732DA-086B-4416-8CA9-C284E4585EA7 22 | MODULE_TYPE = BASE 23 | VERSION_STRING = 1.1 24 | LIBRARY_CLASS = RealTimeClockLib 25 | 26 | [Sources.common] 27 | VirtualRealTimeClockLib.c 28 | 29 | [Packages] 30 | ArmPkg/ArmPkg.dec 31 | MdePkg/MdePkg.dec 32 | EmbeddedPkg/EmbeddedPkg.dec 33 | Platforms/Msm8998FamilyPkg/Msm8998FamilyPkg.dec 34 | 35 | [LibraryClasses] 36 | IoLib 37 | DebugLib 38 | TimerLib 39 | HobLib 40 | PcdLib 41 | 42 | [FixedPcd] 43 | gMSM8998PkgTokenSpaceGuid.PcdBootShimInfo1 -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/LinuxSimpleMassStorage/LinuxSimpleMassStorage.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998FamilyPkg/LinuxSimpleMassStorage/LinuxSimpleMassStorage.efi -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/LinuxSimpleMassStorage/LinuxSimpleMassStorage.inf: -------------------------------------------------------------------------------- 1 | # Author: BigfooTACA 2 | # URL: https://github.com/BigfootACA/linux-simple-mass-storage 3 | # Kernel: https://github.com/edk2-porting/linux-snapdragon 4 | 5 | [Defines] 6 | INF_VERSION = 0x00010005 7 | BASE_NAME = LinuxSimpleMassStorage 8 | FILE_GUID = 2a24787e-e09c-43ce-b5cf-d03066f6092f 9 | MODULE_TYPE = UEFI_APPLICATION 10 | VERSION_STRING = 1.0 11 | 12 | [Binaries.AARCH64] 13 | PE32|LinuxSimpleMassStorage.efi|RELEASE 14 | -------------------------------------------------------------------------------- /Platforms/Msm8998FamilyPkg/MemoryInitPei/MemoryInitPeiLib.inf: -------------------------------------------------------------------------------- 1 | #/** @file 2 | # 3 | # Copyright (c) 2011-2014, ARM Ltd. All rights reserved.
4 | # Copyright (c) 2016, Linaro, Ltd. All rights reserved.
5 | # This program and the accompanying materials 6 | # are licensed and made available under the terms and conditions of the BSD License 7 | # which accompanies this distribution. The full text of the license may be found at 8 | # http://opensource.org/licenses/bsd-license.php 9 | # 10 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 12 | # 13 | #**/ 14 | 15 | [Defines] 16 | INF_VERSION = 0x00010005 17 | BASE_NAME = MemoryInitPeiLib 18 | FILE_GUID = 4bbc9c10-a100-43fb-8311-332ba497d1b4 19 | MODULE_TYPE = BASE 20 | VERSION_STRING = 1.0 21 | LIBRARY_CLASS = MemoryInitPeiLib|SEC PEIM 22 | 23 | [Sources] 24 | MemoryInitPeiLib.c 25 | 26 | [Packages] 27 | MdePkg/MdePkg.dec 28 | MdeModulePkg/MdeModulePkg.dec 29 | EmbeddedPkg/EmbeddedPkg.dec 30 | ArmPkg/ArmPkg.dec 31 | ArmPlatformPkg/ArmPlatformPkg.dec 32 | Platforms/Msm8998FamilyPkg/Msm8998FamilyPkg.dec 33 | SimpleInit.dec 34 | 35 | [LibraryClasses] 36 | DebugLib 37 | HobLib 38 | ArmMmuLib 39 | ArmPlatformLib 40 | SimpleInitLib 41 | 42 | [Guids] 43 | gEfiMemoryTypeInformationGuid 44 | 45 | [FeaturePcd] 46 | gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob 47 | 48 | [FixedPcd] 49 | gArmTokenSpaceGuid.PcdSystemMemoryBase 50 | gArmTokenSpaceGuid.PcdSystemMemorySize 51 | gSimpleInitTokenSpaceGuid.PcdDeviceTreeStore 52 | 53 | [Depex] 54 | TRUE 55 | -------------------------------------------------------------------------------- /Platforms/Msm8998Pkg/Device/essential/mata/DeviceTreeBlob/Android/Android-mata.dtb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Pkg/Device/essential/mata/DeviceTreeBlob/Android/Android-mata.dtb -------------------------------------------------------------------------------- /Platforms/Msm8998Pkg/Device/essential/mata/DeviceTreeBlob/Linux/msm8998-generic-msd.dtb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Pkg/Device/essential/mata/DeviceTreeBlob/Linux/msm8998-generic-msd.dtb -------------------------------------------------------------------------------- /Platforms/Msm8998Pkg/Device/essential/mata/mata.dsc: -------------------------------------------------------------------------------- 1 | [Defines] 2 | VENDOR_NAME = ssential 3 | PLATFORM_NAME = mata 4 | PLATFORM_GUID = 28f1a3bf-193a-47e3-a7b9-5a435eaab2ee 5 | PLATFORM_VERSION = 0.1 6 | DSC_SPECIFICATION = 0x00010019 7 | OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME) 8 | SUPPORTED_ARCHITECTURES = AARCH64 9 | BUILD_TARGETS = DEBUG|RELEASE 10 | SKUID_IDENTIFIER = DEFAULT 11 | FLASH_DEFINITION = Platforms/Msm8998Pkg/Device/essential/mata/mata.fdf 12 | 13 | !include Platforms/Msm8998Pkg/Msm8998.dsc 14 | 15 | [PcdsFixedAtBuild.common] 16 | 17 | gSimpleInitTokenSpaceGuid.PcdGuiDefaultDPI|440 18 | 19 | gMSM8998PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1440 20 | gMSM8998PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2560 21 | 22 | # Device Info 23 | gMSM8998PkgTokenSpaceGuid.PcdDeviceVendor|"Essential" 24 | gMSM8998PkgTokenSpaceGuid.PcdDeviceProduct|"mata" 25 | gMSM8998PkgTokenSpaceGuid.PcdDeviceCodeName|"mata" 26 | -------------------------------------------------------------------------------- /Platforms/Msm8998Pkg/Device/htc/htc_ocmdtwl/DeviceTreeBlob/Android/Android-htc_ocmdtwl.dtb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Pkg/Device/htc/htc_ocmdtwl/DeviceTreeBlob/Android/Android-htc_ocmdtwl.dtb -------------------------------------------------------------------------------- /Platforms/Msm8998Pkg/Device/htc/htc_ocmdtwl/htc_ocmdtwl.dsc: -------------------------------------------------------------------------------- 1 | [Defines] 2 | VENDOR_NAME = htc 3 | PLATFORM_NAME = htc_ocmdtwl 4 | PLATFORM_GUID = 28f1a3bf-193a-47e3-a7b9-5a435eaab2ee 5 | PLATFORM_VERSION = 0.1 6 | DSC_SPECIFICATION = 0x00010019 7 | OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME) 8 | SUPPORTED_ARCHITECTURES = AARCH64 9 | BUILD_TARGETS = DEBUG|RELEASE 10 | SKUID_IDENTIFIER = DEFAULT 11 | FLASH_DEFINITION = Platforms/Msm8998Pkg/Device/htc/htc_ocmdtwl/htc_ocmdtwl.fdf 12 | 13 | !include Platforms/Msm8998Pkg/Msm8998.dsc 14 | 15 | [PcdsFixedAtBuild.common] 16 | 17 | gMSM8998PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1440 18 | gMSM8998PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2880 19 | 20 | # Device Info 21 | gMSM8998PkgTokenSpaceGuid.PcdDeviceVendor|"HTC" 22 | gMSM8998PkgTokenSpaceGuid.PcdDeviceProduct|"HTC 2Q4D200" 23 | gMSM8998PkgTokenSpaceGuid.PcdDeviceCodeName|"htc_ocmdtwl" 24 | -------------------------------------------------------------------------------- /Platforms/Msm8998Pkg/Device/lg/joan/DeviceTreeBlob/Android/Android-joan.dtb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Pkg/Device/lg/joan/DeviceTreeBlob/Android/Android-joan.dtb -------------------------------------------------------------------------------- /Platforms/Msm8998Pkg/Device/lg/joan/joan.dsc: -------------------------------------------------------------------------------- 1 | [Defines] 2 | VENDOR_NAME = lg 3 | PLATFORM_NAME = joan 4 | PLATFORM_GUID = 28f1a3bf-193a-47e3-a7b9-5a435eaab2ee 5 | PLATFORM_VERSION = 0.1 6 | DSC_SPECIFICATION = 0x00010019 7 | OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME) 8 | SUPPORTED_ARCHITECTURES = AARCH64 9 | BUILD_TARGETS = DEBUG|RELEASE 10 | SKUID_IDENTIFIER = DEFAULT 11 | FLASH_DEFINITION = Platforms/Msm8998Pkg/Device/lg/joan/joan.fdf 12 | 13 | !include Platforms/Msm8998Pkg/Msm8998.dsc 14 | 15 | [BuildOptions.common] 16 | GCC:*_*_AARCH64_CC_FLAGS = -DLG_PIL_FIXED=1 17 | 18 | [PcdsFixedAtBuild.common] 19 | 20 | gSimpleInitTokenSpaceGuid.PcdGuiDefaultDPI|550 21 | 22 | gMSM8998PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1440 23 | gMSM8998PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2880 24 | 25 | # Device Info 26 | gMSM8998PkgTokenSpaceGuid.PcdDeviceVendor|"LG" 27 | gMSM8998PkgTokenSpaceGuid.PcdDeviceProduct|"V30" 28 | gMSM8998PkgTokenSpaceGuid.PcdDeviceCodeName|"joan" 29 | -------------------------------------------------------------------------------- /Platforms/Msm8998Pkg/Device/nubia/nx563j/DeviceTreeBlob/Android/Android-nx563j.dtb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Pkg/Device/nubia/nx563j/DeviceTreeBlob/Android/Android-nx563j.dtb -------------------------------------------------------------------------------- /Platforms/Msm8998Pkg/Device/nubia/nx563j/DeviceTreeBlob/Linux/msm8998-generic-msd.dtb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Pkg/Device/nubia/nx563j/DeviceTreeBlob/Linux/msm8998-generic-msd.dtb -------------------------------------------------------------------------------- /Platforms/Msm8998Pkg/Device/nubia/nx563j/nx563j.dsc: -------------------------------------------------------------------------------- 1 | [Defines] 2 | VENDOR_NAME = nubia 3 | PLATFORM_NAME = nx563j 4 | PLATFORM_GUID = 28f1a3bf-193a-47e3-a7b9-5a435eaab2ee 5 | PLATFORM_VERSION = 0.1 6 | DSC_SPECIFICATION = 0x00010019 7 | OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME) 8 | SUPPORTED_ARCHITECTURES = AARCH64 9 | BUILD_TARGETS = DEBUG|RELEASE 10 | SKUID_IDENTIFIER = DEFAULT 11 | FLASH_DEFINITION = Platforms/Msm8998Pkg/Device/nubia/nx563j/nx563j.fdf 12 | 13 | !include Platforms/Msm8998Pkg/Msm8998.dsc 14 | 15 | [PcdsFixedAtBuild.common] 16 | 17 | gSimpleInitTokenSpaceGuid.PcdGuiDefaultDPI|440 18 | 19 | gMSM8998PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 20 | gMSM8998PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|1920 21 | 22 | # Device Info 23 | gMSM8998PkgTokenSpaceGuid.PcdDeviceVendor|"Nubia" 24 | gMSM8998PkgTokenSpaceGuid.PcdDeviceProduct|"Z17" 25 | gMSM8998PkgTokenSpaceGuid.PcdDeviceCodeName|"nx563j" 26 | -------------------------------------------------------------------------------- /Platforms/Msm8998Pkg/Device/oneplus/cheeseburger/DeviceTreeBlob/Android/Android-cheeseburger.dtb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Pkg/Device/oneplus/cheeseburger/DeviceTreeBlob/Android/Android-cheeseburger.dtb -------------------------------------------------------------------------------- /Platforms/Msm8998Pkg/Device/oneplus/cheeseburger/DeviceTreeBlob/Linux/Linux-cheeseburger.dtb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Pkg/Device/oneplus/cheeseburger/DeviceTreeBlob/Linux/Linux-cheeseburger.dtb -------------------------------------------------------------------------------- /Platforms/Msm8998Pkg/Device/oneplus/cheeseburger/cheeseburger.dsc: -------------------------------------------------------------------------------- 1 | [Defines] 2 | VENDOR_NAME = Oneplus 3 | PLATFORM_NAME = cheeseburger 4 | PLATFORM_GUID = 28f1a3bf-193a-47e3-a7b9-5a435eaab2ee 5 | PLATFORM_VERSION = 0.1 6 | DSC_SPECIFICATION = 0x00010019 7 | OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME) 8 | SUPPORTED_ARCHITECTURES = AARCH64 9 | BUILD_TARGETS = DEBUG|RELEASE 10 | SKUID_IDENTIFIER = DEFAULT 11 | FLASH_DEFINITION = Platforms/Msm8998Pkg/Device/oneplus/cheeseburger/cheeseburger.fdf 12 | 13 | !include Platforms/Msm8998Pkg/Msm8998.dsc 14 | 15 | [PcdsFixedAtBuild.common] 16 | 17 | gMSM8998PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 18 | gMSM8998PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|1920 19 | 20 | # Device Info 21 | gMSM8998PkgTokenSpaceGuid.PcdDeviceVendor|"Oneplus" 22 | gMSM8998PkgTokenSpaceGuid.PcdDeviceProduct|"5" 23 | gMSM8998PkgTokenSpaceGuid.PcdDeviceCodeName|"cheeseburger" 24 | -------------------------------------------------------------------------------- /Platforms/Msm8998Pkg/Device/oneplus/dumpling/DeviceTreeBlob/Android/Android-dumpling.dtb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Pkg/Device/oneplus/dumpling/DeviceTreeBlob/Android/Android-dumpling.dtb -------------------------------------------------------------------------------- /Platforms/Msm8998Pkg/Device/oneplus/dumpling/DeviceTreeBlob/Linux/Linux-dumpling.dtb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Pkg/Device/oneplus/dumpling/DeviceTreeBlob/Linux/Linux-dumpling.dtb -------------------------------------------------------------------------------- /Platforms/Msm8998Pkg/Device/oneplus/dumpling/dumpling.dsc: -------------------------------------------------------------------------------- 1 | [Defines] 2 | VENDOR_NAME = Oneplus 3 | PLATFORM_NAME = dumpling 4 | PLATFORM_GUID = 28f1a3bf-193a-47e3-a7b9-5a435eaab2ee 5 | PLATFORM_VERSION = 0.1 6 | DSC_SPECIFICATION = 0x00010019 7 | OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME) 8 | SUPPORTED_ARCHITECTURES = AARCH64 9 | BUILD_TARGETS = DEBUG|RELEASE 10 | SKUID_IDENTIFIER = DEFAULT 11 | FLASH_DEFINITION = Platforms/Msm8998Pkg/Device/oneplus/dumpling/dumpling.fdf 12 | 13 | 14 | !include Platforms/Msm8998Pkg/Msm8998.dsc 15 | 16 | [PcdsFixedAtBuild.common] 17 | 18 | gMSM8998PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 19 | gMSM8998PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2160 20 | 21 | # Device Info 22 | gMSM8998PkgTokenSpaceGuid.PcdDeviceVendor|"Oneplus" 23 | gMSM8998PkgTokenSpaceGuid.PcdDeviceProduct|"5T" 24 | gMSM8998PkgTokenSpaceGuid.PcdDeviceCodeName|"dumpling" 25 | -------------------------------------------------------------------------------- /Platforms/Msm8998Pkg/Device/xiaomi/chiron/DeviceTreeBlob/Android/Android-chiron.dtb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Pkg/Device/xiaomi/chiron/DeviceTreeBlob/Android/Android-chiron.dtb -------------------------------------------------------------------------------- /Platforms/Msm8998Pkg/Device/xiaomi/chiron/DeviceTreeBlob/Linux/msm8998-generic-msd.dtb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Pkg/Device/xiaomi/chiron/DeviceTreeBlob/Linux/msm8998-generic-msd.dtb -------------------------------------------------------------------------------- /Platforms/Msm8998Pkg/Device/xiaomi/chiron/chiron.dsc: -------------------------------------------------------------------------------- 1 | [Defines] 2 | VENDOR_NAME = xiaomi 3 | PLATFORM_NAME = chiron 4 | PLATFORM_GUID = 28f1a3bf-193a-47e3-a7b9-5a435eaab2ee 5 | PLATFORM_VERSION = 0.1 6 | DSC_SPECIFICATION = 0x00010019 7 | OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME) 8 | SUPPORTED_ARCHITECTURES = AARCH64 9 | BUILD_TARGETS = DEBUG|RELEASE 10 | SKUID_IDENTIFIER = DEFAULT 11 | FLASH_DEFINITION = Platforms/Msm8998Pkg/Device/xiaomi/chiron/chiron.fdf 12 | 13 | !include Platforms/Msm8998Pkg/Msm8998.dsc 14 | 15 | [PcdsFixedAtBuild.common] 16 | 17 | gMSM8998PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 18 | gMSM8998PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2160 19 | 20 | # Device Info 21 | gMSM8998PkgTokenSpaceGuid.PcdDeviceVendor|"Xiaomi" 22 | gMSM8998PkgTokenSpaceGuid.PcdDeviceProduct|"Mix2" 23 | gMSM8998PkgTokenSpaceGuid.PcdDeviceCodeName|"chiron" -------------------------------------------------------------------------------- /Platforms/Msm8998Pkg/Device/xiaomi/sagit/DeviceTreeBlob/Android/Android-sagit.dtb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Pkg/Device/xiaomi/sagit/DeviceTreeBlob/Android/Android-sagit.dtb -------------------------------------------------------------------------------- /Platforms/Msm8998Pkg/Device/xiaomi/sagit/DeviceTreeBlob/Linux/msm8998-generic-msd.dtb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edk2-porting/edk2-msm8998/ace27110b9b9b6c591387d50cf748ec646402b4a/Platforms/Msm8998Pkg/Device/xiaomi/sagit/DeviceTreeBlob/Linux/msm8998-generic-msd.dtb -------------------------------------------------------------------------------- /Platforms/Msm8998Pkg/Device/xiaomi/sagit/sagit.dsc: -------------------------------------------------------------------------------- 1 | [Defines] 2 | VENDOR_NAME = xiaomi 3 | PLATFORM_NAME = sagit 4 | PLATFORM_GUID = 28f1a3bf-193a-47e3-a7b9-5a435eaab2ee 5 | PLATFORM_VERSION = 0.1 6 | DSC_SPECIFICATION = 0x00010019 7 | OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME) 8 | SUPPORTED_ARCHITECTURES = AARCH64 9 | BUILD_TARGETS = DEBUG|RELEASE 10 | SKUID_IDENTIFIER = DEFAULT 11 | FLASH_DEFINITION = Platforms/Msm8998Pkg/Device/xiaomi/sagit/sagit.fdf 12 | 13 | !include Platforms/Msm8998Pkg/Msm8998.dsc 14 | 15 | [PcdsFixedAtBuild.common] 16 | gMSM8998PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 17 | gMSM8998PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|1920 18 | 19 | # Device Info 20 | gMSM8998PkgTokenSpaceGuid.PcdDeviceVendor|"Xiaomi" 21 | gMSM8998PkgTokenSpaceGuid.PcdDeviceProduct|"6" 22 | gMSM8998PkgTokenSpaceGuid.PcdDeviceCodeName|"sagit" 23 | -------------------------------------------------------------------------------- /Platforms/Msm8998Pkg/Msm8998.dsc: -------------------------------------------------------------------------------- 1 | ## @file 2 | # 3 | # Copyright (c) 2011-2015, ARM Limited. All rights reserved. 4 | # Copyright (c) 2014, Linaro Limited. All rights reserved. 5 | # Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved. 6 | # Copyright (c) 2018 - 2019, Bingxing Wang. All rights reserved. 7 | # Copyright (c) 2023, qaz6750 lzy. All rights reserved. 8 | # 9 | # SPDX-License-Identifier: BSD-2-Clause-Patent 10 | # 11 | ## 12 | 13 | [BuildOptions] 14 | RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG 15 | GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG 16 | 17 | [PcdsFixedAtBuild.common] 18 | gArmTokenSpaceGuid.PcdSystemMemorySize|0xF0000000 # System Memory (4GB) 19 | 20 | [PcdsDynamicHii.common.DEFAULT] 21 | gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|0 # Variable: L"Timeout" 22 | 23 | [LibraryClasses.common] 24 | PlatformMemoryMapLib|Silicon/QC/Msm8998/QcomPkg/Library/PlatformMemoryMapLib/PlatformMemoryMapLib.inf 25 | PlatformPeiLib|Silicon/QC/Msm8998/QcomPkg/Library/PlatformPeiLib/PlatformPeiLib.inf 26 | 27 | !include Silicon/QC/Msm8998/QcomPkg/QcomPkg.dsc.inc 28 | !include Platforms/Msm8998FamilyPkg/Msm8998FamilyPkg.dsc.inc 29 | -------------------------------------------------------------------------------- /Silicon/QC/Msm8998/QcomPkg/Library/PlatformMemoryMapLib/PlatformMemoryMapLib.inf: -------------------------------------------------------------------------------- 1 | ## @file 2 | # PlatformMemoryMapLib 3 | # 4 | # Copyright (c) DuoWoA authors. All rights reserved. 5 | # Copyright (c) Renegade Project. All rights reserved. 6 | # SPDX-License-Identifier: BSD-2-Clause-Patent 7 | ## 8 | [Defines] 9 | INF_VERSION = 0x00010005 10 | BASE_NAME = PlatformMemoryMapLib 11 | FILE_GUID = 59C11815-F8DA-4F49-B4FB-EC1E41ED1F01 12 | MODULE_TYPE = BASE 13 | VERSION_STRING = 1.0 14 | LIBRARY_CLASS = PlatformMemoryMapLib 15 | 16 | [Sources] 17 | PlatformMemoryMapLib.c 18 | 19 | [Packages] 20 | ArmPkg/ArmPkg.dec 21 | MdePkg/MdePkg.dec 22 | MdeModulePkg/MdeModulePkg.dec 23 | EmbeddedPkg/EmbeddedPkg.dec 24 | Platforms/Msm8998FamilyPkg/Msm8998FamilyPkg.dec 25 | 26 | [LibraryClasses] 27 | BaseLib 28 | -------------------------------------------------------------------------------- /Silicon/QC/Msm8998/QcomPkg/Library/PlatformPeiLib/PlatformPeiLib.c: -------------------------------------------------------------------------------- 1 | /** @file 2 | * 3 | * Copyright (c) 2011-2014, ARM Limited. All rights reserved. 4 | * Copyright (c) 2014, Linaro Limited. All rights reserved. 5 | * 6 | * This program and the accompanying materials 7 | * are licensed and made available under the terms and conditions of the BSD 8 | *License which accompanies this distribution. The full text of the license may 9 | *be found at http://opensource.org/licenses/bsd-license.php 10 | * 11 | * THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR 13 | *IMPLIED. 14 | * 15 | **/ 16 | 17 | #include 18 | 19 | #include 20 | #include 21 | #include 22 | #include 23 | 24 | EFI_STATUS 25 | EFIAPI 26 | PlatformPeim(VOID) 27 | { 28 | 29 | BuildFvHob(PcdGet64(PcdFvBaseAddress), PcdGet32(PcdFvSize)); 30 | 31 | return EFI_SUCCESS; 32 | } -------------------------------------------------------------------------------- /Silicon/QC/Msm8998/QcomPkg/Library/PlatformPeiLib/PlatformPeiLib.inf: -------------------------------------------------------------------------------- 1 | #/** @file 2 | # 3 | # Copyright (c) 2011-2015, ARM Limited. All rights reserved. 4 | # Copyright (c) 2014, Linaro Limited. All rights reserved. 5 | # 6 | # This program and the accompanying materials 7 | # are licensed and made available under the terms and conditions of the BSD License 8 | # which accompanies this distribution. The full text of the license may be found at 9 | # http://opensource.org/licenses/bsd-license.php 10 | # 11 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 13 | # 14 | #**/ 15 | 16 | [Defines] 17 | INF_VERSION = 0x00010005 18 | BASE_NAME = PlatformPeiLib 19 | FILE_GUID = F6E440DB-F728-4D8F-B237-88E00FAF4CB5 20 | MODULE_TYPE = SEC 21 | VERSION_STRING = 1.1 22 | LIBRARY_CLASS = PlatformPeiLib 23 | 24 | [Sources] 25 | PlatformPeiLib.c 26 | 27 | [Packages] 28 | ArmPkg/ArmPkg.dec 29 | MdePkg/MdePkg.dec 30 | MdeModulePkg/MdeModulePkg.dec 31 | EmbeddedPkg/EmbeddedPkg.dec 32 | Platforms/Msm8998FamilyPkg/Msm8998FamilyPkg.dec 33 | 34 | [LibraryClasses] 35 | DebugLib 36 | HobLib 37 | 38 | [FixedPcd] 39 | gArmTokenSpaceGuid.PcdFvSize 40 | 41 | [Pcd] 42 | gArmTokenSpaceGuid.PcdFvBaseAddress 43 | 44 | [Depex] 45 | gEfiPeiMemoryDiscoveredPpiGuid 46 | -------------------------------------------------------------------------------- /Silicon/QC/Msm8998/QcomPkg/QcomPkg.dsc.inc: -------------------------------------------------------------------------------- 1 | ## @file 2 | # 3 | # Copyright (c) 2011-2015, ARM Limited. All rights reserved. 4 | # Copyright (c) 2014, Linaro Limited. All rights reserved. 5 | # Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved. 6 | # Copyright (c) 2018 - 2019, Bingxing Wang. All rights reserved. 7 | # Copyright (c) 2023, qaz6750 lzy. All rights reserved. 8 | # 9 | # SPDX-License-Identifier: BSD-2-Clause-Patent 10 | # 11 | ## 12 | 13 | [PcdsFixedAtBuild.common] 14 | gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000 15 | gArmTokenSpaceGuid.PcdArmArchTimerIntrNum|0x12 16 | gArmTokenSpaceGuid.PcdArmArchTimerVirtIntrNum|0x13 17 | # ARM General Interrupt Controller 18 | gArmTokenSpaceGuid.PcdGicDistributorBase|0x17a00000 19 | gArmTokenSpaceGuid.PcdGicRedistributorsBase|0x17b00000 20 | 21 | gMSM8998PkgTokenSpaceGuid.PcdMipiFrameBufferAddress|0x9d400000 22 | 23 | gSimpleInitTokenSpaceGuid.PcdDeviceTreeStore|0x83300000 24 | 25 | # We bring up eight cores here! 26 | gArmPlatformTokenSpaceGuid.PcdCoreCount|8 27 | gArmPlatformTokenSpaceGuid.PcdClusterCount|2 28 | 29 | # GUID of the UI app 30 | gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 } 31 | gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|4 32 | gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|5 33 | 34 | gEmbeddedTokenSpaceGuid.PcdMetronomeTickPeriod|1000 35 | 36 | # Fastboot 37 | gEmbeddedTokenSpaceGuid.PcdAndroidFastbootUsbVendorId|0x18d1 38 | gEmbeddedTokenSpaceGuid.PcdAndroidFastbootUsbProductId|0xd00d 39 | 40 | gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"1.0.1-beta.1" 41 | gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE 42 | # Make VariableRuntimeDxe work at emulated non-volatile variable mode. 43 | gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable|TRUE 44 | gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiExposedTableVersions|0x20 --------------------------------------------------------------------------------