├── .gitignore ├── Quark_EDKII ├── IA32FamilyCpuBasePkg │ ├── CpuArchDxe │ │ ├── Cpu.c │ │ ├── Cpu.h │ │ ├── CpuArchDxe.inf │ │ ├── Exception.h │ │ ├── IA32 │ │ │ ├── ArchSpecific.c │ │ │ ├── ArchSpecificDef.h │ │ │ ├── CpuAsm.S │ │ │ ├── CpuAsm.asm │ │ │ └── Exception.c │ │ ├── MemoryAttribute.c │ │ ├── MemoryAttribute.h │ │ ├── MtrrSync.c │ │ └── MtrrSync.h │ ├── CpuMpDxe │ │ ├── Analysis.c │ │ ├── Cpu.h │ │ ├── CpuMpDxe.inf │ │ ├── DataCollection.c │ │ ├── Feature.h │ │ ├── IA32 │ │ │ ├── ArchSpecific.c │ │ │ ├── ArchSpecificDef.h │ │ │ ├── AsmInclude.inc │ │ │ ├── CpuAsm.S │ │ │ ├── CpuAsm.asm │ │ │ ├── CpuOnlyReset.c │ │ │ ├── CpuOnlyReset.h │ │ │ ├── Exception.c │ │ │ ├── MpFuncs.S │ │ │ └── MpFuncs.asm │ │ ├── LimitCpuIdValue.c │ │ ├── LimitCpuIdValue.h │ │ ├── MpApic.c │ │ ├── MpApic.h │ │ ├── MpCommon.c │ │ ├── MpCommon.h │ │ ├── MpService.c │ │ ├── MpService.h │ │ ├── ProcessorConfig.c │ │ ├── SMBIOS │ │ │ ├── Cache.h │ │ │ ├── CacheSubClass.c │ │ │ ├── CpuSmbios.c │ │ │ ├── Processor.h │ │ │ ├── ProcessorData.c │ │ │ └── ProcessorSubClass.c │ │ ├── SelectLfp.c │ │ ├── Setting.c │ │ ├── Strings.uni │ │ ├── Xd.c │ │ └── Xd.h │ ├── CpuPei │ │ ├── Bist.c │ │ ├── Bist.h │ │ ├── Cache.c │ │ ├── CpuPei.h │ │ ├── CpuPei.inf │ │ └── CpuPeim.c │ ├── IA32FamilyCpuBasePkg.dec │ ├── IA32FamilyCpuBasePkg.dsc │ ├── Include │ │ ├── AcpiCpuData.h │ │ ├── CpuHotPlugData.h │ │ ├── Guid │ │ │ ├── HtBistHob.h │ │ │ └── IA32FamilyCpuPkgTokenSpace.h │ │ ├── Library │ │ │ ├── CpuConfigLib.h │ │ │ ├── CpuOnlyResetLib.h │ │ │ ├── PlatformSecLib.h │ │ │ ├── SmmCpuPlatformHookLib.h │ │ │ └── SocketLga775Lib.h │ │ ├── Ppi │ │ │ └── Cache.h │ │ └── Protocol │ │ │ ├── SmmCpuService.h │ │ │ ├── SmmCpuSync.h │ │ │ └── SmmCpuSync2.h │ ├── Library │ │ ├── CpuConfigLib │ │ │ ├── CpuConfig.c │ │ │ ├── CpuConfig.h │ │ │ └── CpuConfigLib.inf │ │ ├── CpuLocalApicTimerLib │ │ │ ├── CpuLocalApicTimerLib.c │ │ │ └── CpuLocalApicTimerLib.inf │ │ ├── CpuOnlyResetLibNull │ │ │ ├── CpuOnlyResetLibNull.c │ │ │ └── CpuOnlyResetLibNull.inf │ │ ├── PlatformSecLibNull │ │ │ ├── PlatformSecLibNull.c │ │ │ └── PlatformSecLibNull.inf │ │ └── SmmCpuPlatformHookLibNull │ │ │ ├── SmmCpuPlatformHookLibNull.c │ │ │ └── SmmCpuPlatformHookLibNull.inf │ ├── PiSmmCommunication │ │ ├── PiSmmCommunicationPei.c │ │ ├── PiSmmCommunicationPei.inf │ │ ├── PiSmmCommunicationPrivate.h │ │ ├── PiSmmCommunicationSmm.c │ │ └── PiSmmCommunicationSmm.inf │ ├── PiSmmCpuDxeSmm │ │ ├── CpuS3.c │ │ ├── CpuService.c │ │ ├── CpuService.h │ │ ├── Ia32 │ │ │ ├── MpFuncs.S │ │ │ ├── MpFuncs.asm │ │ │ ├── PageTbl.c │ │ │ ├── Semaphore.c │ │ │ ├── SmiEntry.S │ │ │ ├── SmiEntry.asm │ │ │ ├── SmiException.S │ │ │ ├── SmiException.asm │ │ │ ├── SmmInit.S │ │ │ ├── SmmInit.asm │ │ │ ├── SmmProfileArch.c │ │ │ └── SmmProfileArch.h │ │ ├── MpService.c │ │ ├── PiSmmCpuDxeSmm.c │ │ ├── PiSmmCpuDxeSmm.h │ │ ├── PiSmmCpuDxeSmm.inf │ │ ├── SmmFeatures.c │ │ ├── SmmFeatures.h │ │ ├── SmmProfile.c │ │ ├── SmmProfile.h │ │ ├── SmmProfileInternal.h │ │ └── SyncTimer.c │ └── SecCore │ │ ├── FindPeiCore.c │ │ ├── Ia32 │ │ ├── ResetVec.S16 │ │ ├── ResetVec.asm16 │ │ ├── Stack.S │ │ └── Stack.asm │ │ ├── SecCore.inf │ │ ├── SecMain.c │ │ ├── SecMain.h │ │ └── Vtf0SecCore.inf ├── LICENSE ├── QuarkPlatformPkg │ ├── Acpi │ │ ├── AcpiTables │ │ │ ├── AcpiTables.inf │ │ │ ├── Cpu0Cst │ │ │ │ └── Cpu0Cst.asl │ │ │ ├── Cpu0Ist │ │ │ │ └── Cpu0Ist.asl │ │ │ ├── Cpu0Tst │ │ │ │ └── Cpu0Tst.asl │ │ │ ├── CpuPm │ │ │ │ └── CpuPm.asl │ │ │ ├── Dsdt │ │ │ │ ├── AD7298.asi │ │ │ │ ├── ADC108S102.asi │ │ │ │ ├── CAT24C08.asi │ │ │ │ ├── CY8C9540A.asi │ │ │ │ ├── GpioClient.asi │ │ │ │ ├── LpcDev.asi │ │ │ │ ├── PCA9685.asi │ │ │ │ ├── PCAL9555A.asi │ │ │ │ ├── PciHostBridge.asi │ │ │ │ ├── PciIrq.asi │ │ │ │ ├── PcieExpansionPrt.asi │ │ │ │ ├── Platform.asl │ │ │ │ ├── QNC.asi │ │ │ │ ├── QNCApic.asi │ │ │ │ ├── QNCLpc.asi │ │ │ │ ├── QuarkSouthCluster.asi │ │ │ │ └── Tpm.asi │ │ │ ├── Facs │ │ │ │ ├── Facs.aslc │ │ │ │ └── Facs.h │ │ │ ├── Fadt │ │ │ │ ├── Fadt.h │ │ │ │ ├── Fadt1.0.aslc │ │ │ │ └── Fadt2.0.aslc │ │ │ ├── Hpet │ │ │ │ ├── Hpet.aslc │ │ │ │ └── Hpet.h │ │ │ └── Mcfg │ │ │ │ ├── Mcfg.aslc │ │ │ │ └── Mcfg.h │ │ ├── Dxe │ │ │ ├── AcpiPlatform │ │ │ │ ├── AcpiPciUpdate.c │ │ │ │ ├── AcpiPciUpdate.h │ │ │ │ ├── AcpiPlatform.c │ │ │ │ ├── AcpiPlatform.h │ │ │ │ ├── AcpiPlatform.inf │ │ │ │ ├── Madt.h │ │ │ │ └── MadtPlatform.c │ │ │ └── BootScriptExecutorDxe │ │ │ │ ├── BootScriptExecutorDxe.inf │ │ │ │ ├── IA32 │ │ │ │ ├── S3Asm.S │ │ │ │ ├── S3Asm.asm │ │ │ │ └── SetIdtEntry.c │ │ │ │ ├── ScriptExecute.c │ │ │ │ └── ScriptExecute.h │ │ └── DxeSmm │ │ │ ├── AcpiSmm │ │ │ ├── AcpiSmmPlatform.c │ │ │ ├── AcpiSmmPlatform.h │ │ │ └── AcpiSmmPlatform.inf │ │ │ └── SmmPowerManagement │ │ │ ├── Ppm.c │ │ │ ├── Ppm.h │ │ │ ├── SmmPowerManagement.c │ │ │ ├── SmmPowerManagement.h │ │ │ └── SmmPowerManagement.inf │ ├── Applications │ │ ├── CapsuleApp.efi │ │ └── CapsuleApp │ │ │ ├── CapsuleApp.c │ │ │ └── CapsuleApp.inf │ ├── Bds │ │ ├── BdsDxe │ │ │ ├── Bds.h │ │ │ ├── BdsDxe.inf │ │ │ ├── BdsEntry.c │ │ │ ├── HwErrRecSupport.c │ │ │ ├── HwErrRecSupport.h │ │ │ ├── Language.c │ │ │ └── Language.h │ │ ├── BootManagerMenuApp │ │ │ ├── BootManagerMenu.c │ │ │ ├── BootManagerMenu.h │ │ │ ├── BootManagerMenuApp.inf │ │ │ └── BootManagerMenuStrings.uni │ │ └── Library │ │ │ └── UefiBootManagerLib │ │ │ ├── BdsBoot.c │ │ │ ├── BdsConnect.c │ │ │ ├── BdsConsole.c │ │ │ ├── BdsHotkey.c │ │ │ ├── BdsLoadOption.c │ │ │ ├── BdsMisc.c │ │ │ ├── Capsules.c │ │ │ ├── InternalBdsLib.h │ │ │ ├── Performance.c │ │ │ └── UefiBootManagerLib.inf │ ├── Binary │ │ ├── Payload │ │ │ └── PayloadSample.efi │ │ ├── PlatformData │ │ │ ├── clantonhill-platform-data.bin │ │ │ ├── crosshill-platform-data.bin │ │ │ ├── galileo-gen2-platform-data.bin │ │ │ ├── galileo-platform-data.bin │ │ │ ├── kipsbay-platform-data.bin │ │ │ └── svp-platform-data.bin │ │ └── SIZE_8KB.bin │ ├── Cpu │ │ └── Sec │ │ │ └── ResetVector │ │ │ ├── CallbackServices.c │ │ │ ├── CallbackServices.h │ │ │ ├── Ia32 │ │ │ ├── Flat32.S │ │ │ ├── Flat32.asm │ │ │ ├── Platform.inc │ │ │ ├── ResetVec.S16 │ │ │ └── ResetVec.asm16 │ │ │ └── QuarkResetVector.inf │ ├── Include │ │ ├── CommonIncludes.h │ │ ├── Cpu │ │ │ └── CpuRegs.h │ │ ├── EfiFlashMap.h │ │ ├── FlashLayout.h │ │ ├── FlashMap.h │ │ ├── Guid │ │ │ ├── AcpiVariable.h │ │ │ ├── CapsuleOnDataCD.h │ │ │ ├── CapsuleOnFatFloppyDisk.h │ │ │ ├── CapsuleOnFatIdeDisk.h │ │ │ ├── CapsuleOnFatUsbDisk.h │ │ │ ├── FlashMapHob.h │ │ │ ├── MemoryConfigData.h │ │ │ ├── PlatformDataFileNameGuids.h │ │ │ ├── PlatformInfo.h │ │ │ ├── PlatformMemoryLayout.h │ │ │ ├── QuarkCapsuleGuid.h │ │ │ ├── QuarkVariableLock.h │ │ │ └── SystemNvDataHobGuid.h │ │ ├── Iio │ │ │ ├── IioRegs.h │ │ │ ├── IioUniversalData.h │ │ │ └── PciAccess.h │ │ ├── Library │ │ │ ├── LogoLib.h │ │ │ ├── MfhLib.h │ │ │ ├── PlatformBootManagerLib.h │ │ │ ├── PlatformDataLib.h │ │ │ ├── PlatformHelperLib.h │ │ │ ├── PlatformPcieHelperLib.h │ │ │ ├── PlatformSecServicesLib.h │ │ │ ├── QuarkBootRomLib.h │ │ │ ├── RecoveryOemHookLib.h │ │ │ ├── SmmScriptLib.h │ │ │ ├── SwBpeLib.h │ │ │ └── UefiBootManagerLib.h │ │ ├── Mfh.h │ │ ├── Pcal9555.h │ │ ├── Platform.h │ │ ├── PlatformBoards.h │ │ ├── PlatformData.h │ │ ├── Ppi │ │ │ ├── FlashMap.h │ │ │ └── SStateBootMode.h │ │ ├── Protocol │ │ │ ├── FirmwareVolumeBlockSecurity.h │ │ │ ├── FvbExtension.h │ │ │ ├── GlobalNvsArea.h │ │ │ ├── IioUds.h │ │ │ ├── PlatformSmmSpiReady.h │ │ │ ├── PlatformType.h │ │ │ └── SecureBootHelper.h │ │ ├── QuarkPlatformDxe.h │ │ ├── QuarkPlatformPeim.h │ │ └── Tbd │ │ │ └── EfiBootScript.h │ ├── Library │ │ ├── LogoLib │ │ │ ├── Logo.c │ │ │ └── LogoLib.inf │ │ ├── MfhLib │ │ │ ├── MfhLib.c │ │ │ └── MfhLib.inf │ │ ├── PlatformBootManagerLib │ │ │ ├── BdsPlatform.c │ │ │ ├── BdsPlatform.h │ │ │ ├── MemoryTest.c │ │ │ ├── PlatformBootManagerLib.inf │ │ │ ├── PlatformData.c │ │ │ └── Strings.uni │ │ ├── PlatformCapsuleLib │ │ │ ├── IA32 │ │ │ │ ├── TrigSmi.S │ │ │ │ └── TrigSmi.asm │ │ │ ├── PlatformCapsuleLib.c │ │ │ └── PlatformCapsuleLib.inf │ │ ├── PlatformDataLib │ │ │ ├── PlatformDataLib.c │ │ │ └── PlatformDataLib.inf │ │ ├── PlatformHelperLib │ │ │ ├── CommonHeader.h │ │ │ ├── Crc32.c │ │ │ ├── DxePlatformHelperLib.inf │ │ │ ├── PeiPlatformHelperLib.inf │ │ │ ├── PlatformHelperDxe.c │ │ │ ├── PlatformHelperLib.c │ │ │ ├── PlatformHelperPei.c │ │ │ ├── PlatformLeds.c │ │ │ └── PlatformSecureBoot.c │ │ ├── PlatformPcieHelperLib │ │ │ ├── CommonHeader.h │ │ │ ├── PlatformPcieHelperLib.c │ │ │ ├── PlatformPcieHelperLib.inf │ │ │ └── SocUnit.c │ │ ├── PlatformSecServicesLib │ │ │ ├── PlatformSecServicesLib.c │ │ │ └── PlatformSecServicesLib.inf │ │ ├── PlatformSecureLib │ │ │ ├── PlatformSecureLib.c │ │ │ └── PlatformSecureLib.inf │ │ ├── PlatformUnProvisionedHandlerLib │ │ │ ├── PlatformUnProvisionedHandlerLib.c │ │ │ └── PlatformUnProvisionedHandlerLib.inf │ │ ├── QuarkBootRomLib │ │ │ ├── QuarkBootRomLib.c │ │ │ └── QuarkBootRomLib.inf │ │ ├── QuarkSecLib │ │ │ ├── Ia32 │ │ │ │ ├── Flat32.S │ │ │ │ ├── Flat32.asm │ │ │ │ ├── Ia32.inc │ │ │ │ ├── Platform.inc │ │ │ │ ├── SecCpu.S │ │ │ │ └── SecCpu.asm │ │ │ ├── QuarkSecLib.c │ │ │ ├── QuarkSecLib.h │ │ │ └── QuarkSecLib.inf │ │ ├── RecoveryOemHookLib │ │ │ ├── CommonHeader.h │ │ │ ├── RecoveryOemHookLib.c │ │ │ └── RecoveryOemHookLib.inf │ │ ├── SecureBootHelperLib │ │ │ ├── CommonHeader.h │ │ │ ├── SecureBootCrypto.c │ │ │ ├── SecureBootCrypto.h │ │ │ ├── SecureBootHelperLib.c │ │ │ ├── SecureBootHelperLib.inf │ │ │ ├── SecureBootPeImage.c │ │ │ ├── SecureBootPeImage.h │ │ │ ├── SecureBootVariable.c │ │ │ └── SecureBootVariable.h │ │ ├── SmmCpuPlatformHookLib │ │ │ ├── SmmCpuPlatformHookLib.c │ │ │ └── SmmCpuPlatformHookLib.inf │ │ ├── SmmScriptLib │ │ │ ├── SmmScriptLib.c │ │ │ └── SmmScriptLib.inf │ │ └── SwBpeLib │ │ │ ├── CommonHeader.h │ │ │ ├── DsConfig.c │ │ │ ├── DsConfig.h │ │ │ ├── Ia32 │ │ │ ├── SwBpeAccess.S │ │ │ └── SwBpeAccess.asm │ │ │ ├── PeiDsAlloc.c │ │ │ ├── SwBpe.h │ │ │ ├── SwBpeLib.c │ │ │ └── SwBpeLib.inf │ ├── Override │ │ ├── BaseTools │ │ │ └── Conf │ │ │ │ ├── build_rule.template │ │ │ │ └── tools_def.template │ │ ├── MdeModulePkg │ │ │ ├── Bus │ │ │ │ ├── Pci │ │ │ │ │ └── EhciDxe │ │ │ │ │ │ ├── Ehci.c │ │ │ │ │ │ ├── EhciDxe.inf │ │ │ │ │ │ └── EhciSched.c │ │ │ │ └── Usb │ │ │ │ │ └── UsbBusDxe │ │ │ │ │ ├── UsbBusDxe.inf │ │ │ │ │ ├── UsbDesc.c │ │ │ │ │ ├── UsbEnumer.c │ │ │ │ │ └── UsbHub.c │ │ │ ├── Core │ │ │ │ └── DxeIplPeim │ │ │ │ │ ├── DxeIpl.inf │ │ │ │ │ └── DxeLoad.c │ │ │ └── Universal │ │ │ │ ├── FaultTolerantWriteDxe │ │ │ │ ├── FaultTolerantWriteDxe.inf │ │ │ │ ├── FaultTolerantWriteSmm.inf │ │ │ │ ├── FtwMisc.c │ │ │ │ └── UpdateWorkingBlock.c │ │ │ │ ├── LockBox │ │ │ │ └── SmmLockBox │ │ │ │ │ ├── SmmLockBox.c │ │ │ │ │ └── SmmLockBox.inf │ │ │ │ └── Variable │ │ │ │ └── RuntimeDxe │ │ │ │ ├── Variable.c │ │ │ │ └── VariableSmm.inf │ │ ├── MdePkg │ │ │ └── Include │ │ │ │ └── Library │ │ │ │ └── DebugLib.h │ │ ├── PcAtChipsetPkg │ │ │ └── PcatRealTimeClockRuntimeDxe │ │ │ │ ├── PcRtc.c │ │ │ │ └── PcatRealTimeClockRuntimeDxe.inf │ │ ├── SecurityPkg │ │ │ ├── Library │ │ │ │ └── TpmCommLib │ │ │ │ │ ├── TisPc.c │ │ │ │ │ ├── TpmAccess.c │ │ │ │ │ ├── TpmAccess.h │ │ │ │ │ └── TpmCommLib.inf │ │ │ └── Tcg │ │ │ │ └── TcgDxe │ │ │ │ ├── TcgDxe.c │ │ │ │ ├── TcgDxe.inf │ │ │ │ ├── TisDxe.c │ │ │ │ ├── TpmComm.c │ │ │ │ └── TpmComm.h │ │ └── UefiCpuPkg │ │ │ └── Universal │ │ │ └── Acpi │ │ │ └── S3Resume2Pei │ │ │ ├── S3Resume.c │ │ │ └── S3Resume2Pei.inf │ ├── Pci │ │ └── Dxe │ │ │ ├── PciHostBridge │ │ │ ├── PciHostBridge.c │ │ │ ├── PciHostBridge.h │ │ │ ├── PciHostBridge.inf │ │ │ ├── PciHostBridgeSupport.c │ │ │ ├── PciHostResource.h │ │ │ ├── PciRootBridge.h │ │ │ └── PciRootBridgeIo.c │ │ │ └── PciPlatform │ │ │ ├── CommonHeader.h │ │ │ ├── PciPlatform.c │ │ │ ├── PciPlatform.h │ │ │ └── PciPlatform.inf │ ├── Platform │ │ ├── Dxe │ │ │ ├── MemorySubClass │ │ │ │ ├── MemorySubClass.c │ │ │ │ ├── MemorySubClass.h │ │ │ │ ├── MemorySubClass.inf │ │ │ │ └── MemorySubClassStrings.uni │ │ │ ├── PlatformInit │ │ │ │ ├── DxeFvSecurity.c │ │ │ │ ├── DxeFvSecurity.h │ │ │ │ ├── PlatformConfig.c │ │ │ │ ├── PlatformInitDxe.c │ │ │ │ ├── PlatformInitDxe.h │ │ │ │ └── PlatformInitDxe.inf │ │ │ ├── SaveMemoryConfig │ │ │ │ ├── SaveMemoryConfig.c │ │ │ │ └── SaveMemoryConfig.inf │ │ │ ├── Setup │ │ │ │ ├── CommonHeader.h │ │ │ │ ├── DxePlatform.inf │ │ │ │ ├── KeyboardLayout.c │ │ │ │ ├── QNCRegTable.c │ │ │ │ ├── SetupPlatform.c │ │ │ │ ├── SetupPlatform.h │ │ │ │ ├── Strings.uni │ │ │ │ └── processor.c │ │ │ └── SmbiosMiscDxe │ │ │ │ ├── CommonHeader.h │ │ │ │ ├── MiscBaseBoardManufacturer.uni │ │ │ │ ├── MiscBaseBoardManufacturerData.c │ │ │ │ ├── MiscBaseBoardManufacturerFunction.c │ │ │ │ ├── MiscBiosVendor.uni │ │ │ │ ├── MiscBiosVendorData.c │ │ │ │ ├── MiscBiosVendorFunction.c │ │ │ │ ├── MiscBootInformationData.c │ │ │ │ ├── MiscBootInformationFunction.c │ │ │ │ ├── MiscChassisManufacturer.uni │ │ │ │ ├── MiscChassisManufacturerData.c │ │ │ │ ├── MiscChassisManufacturerFunction.c │ │ │ │ ├── MiscDevicePath.h │ │ │ │ ├── MiscNumberOfInstallableLanguagesData.c │ │ │ │ ├── MiscNumberOfInstallableLanguagesFunction.c │ │ │ │ ├── MiscOemString.uni │ │ │ │ ├── MiscOemStringData.c │ │ │ │ ├── MiscOemStringFunction.c │ │ │ │ ├── MiscOnboardDevice.uni │ │ │ │ ├── MiscOnboardDeviceData.c │ │ │ │ ├── MiscOnboardDeviceFunction.c │ │ │ │ ├── MiscPortInternalConnectorDesignator.uni │ │ │ │ ├── MiscPortInternalConnectorDesignatorData.c │ │ │ │ ├── MiscPortInternalConnectorDesignatorFunction.c │ │ │ │ ├── MiscSystemManufacturer.uni │ │ │ │ ├── MiscSystemManufacturerData.c │ │ │ │ ├── MiscSystemManufacturerFunction.c │ │ │ │ ├── MiscSystemOptionString.uni │ │ │ │ ├── MiscSystemOptionStringData.c │ │ │ │ ├── MiscSystemOptionStringFunction.c │ │ │ │ ├── MiscSystemSlotDesignation.uni │ │ │ │ ├── MiscSystemSlotDesignationData.c │ │ │ │ ├── MiscSystemSlotDesignationFunction.c │ │ │ │ ├── MiscSystemSlotOnboardDevices.uni │ │ │ │ ├── SmbiosMisc.h │ │ │ │ ├── SmbiosMiscDataTable.c │ │ │ │ ├── SmbiosMiscDxe.inf │ │ │ │ ├── SmbiosMiscEntryPoint.c │ │ │ │ └── SmbiosMiscStrings.uni │ │ ├── DxeSmm │ │ │ └── SMIFlashDxe │ │ │ │ ├── AccessViolationHandler.c │ │ │ │ ├── AccessViolationHandler.h │ │ │ │ ├── SMIFlashDxe.c │ │ │ │ ├── SMIFlashDxe.h │ │ │ │ └── SMIFlashDxe.inf │ │ ├── Pei │ │ │ ├── PlatformConfig │ │ │ │ ├── PlatformConfigPei.c │ │ │ │ ├── PlatformConfigPei.h │ │ │ │ └── PlatformConfigPei.inf │ │ │ ├── PlatformInfo │ │ │ │ ├── PlatformInfo.c │ │ │ │ ├── PlatformInfo.h │ │ │ │ └── PlatformInfo.inf │ │ │ └── PlatformInit │ │ │ │ ├── BootMode.c │ │ │ │ ├── Capsule.c │ │ │ │ ├── Common │ │ │ │ └── FlashMap.c │ │ │ │ ├── CommonHeader.h │ │ │ │ ├── Generic │ │ │ │ └── Recovery.c │ │ │ │ ├── MemoryCallback.c │ │ │ │ ├── MrcWrapper.c │ │ │ │ ├── MrcWrapper.h │ │ │ │ ├── PeiFvSecurity.c │ │ │ │ ├── PeiFvSecurity.h │ │ │ │ ├── PlatformEarlyInit.c │ │ │ │ ├── PlatformEarlyInit.h │ │ │ │ ├── PlatformEarlyInit.inf │ │ │ │ └── PlatformErratas.c │ │ └── SpiFvbServices │ │ │ ├── FvbInfo.c │ │ │ ├── FwBlockService.c │ │ │ ├── FwBlockService.h │ │ │ ├── PlatformSmmSpi.c │ │ │ ├── PlatformSmmSpi.inf │ │ │ ├── PlatformSpi.inf │ │ │ ├── SpiFlashDevice.c │ │ │ └── SpiFlashDevice.h │ ├── QuarkPlatformPkg.dec │ ├── QuarkPlatformPkg.dsc │ ├── QuarkPlatformPkg.fdf │ ├── QuarkPlatformPkgConfig.dsc │ └── Tools │ │ ├── CapsuleCreate │ │ ├── CapsuleCreate.c │ │ ├── CapsuleCreate.exe │ │ ├── GNUmakefile │ │ ├── Makefile │ │ └── QuarkPlatformPkgCapsuleComponents.inf │ │ ├── QuarkSpiFixup │ │ └── QuarkSpiFixup.py │ │ └── SignTool │ │ ├── DummySignTool.c │ │ ├── DummySignTool.exe │ │ ├── GNUmakefile │ │ └── Makefile ├── QuarkSocPkg │ ├── Override │ │ ├── MdePkg │ │ │ └── Library │ │ │ │ ├── BaseLib │ │ │ │ ├── BaseLib.inf │ │ │ │ ├── CpuDeadLoop.c │ │ │ │ ├── Ia32 │ │ │ │ │ ├── FlushCacheLine.c │ │ │ │ │ ├── GccInline.c │ │ │ │ │ ├── LShiftU64.S │ │ │ │ │ ├── LShiftU64.c │ │ │ │ │ ├── MsrUtils.S │ │ │ │ │ ├── MsrUtils.asm │ │ │ │ │ ├── RShiftU64.S │ │ │ │ │ ├── RShiftU64.c │ │ │ │ │ └── WriteCr4.c │ │ │ │ ├── QuarkMsr.c │ │ │ │ ├── QuarkMsr.h │ │ │ │ ├── ReadMsr64.c │ │ │ │ └── WriteMsr64.c │ │ │ │ ├── BaseMemoryLibRepStr │ │ │ │ ├── BaseMemoryLibRepStr.inf │ │ │ │ └── Ia32 │ │ │ │ │ ├── ScanMem8.S │ │ │ │ │ └── ScanMem8.asm │ │ │ │ └── BaseRecoveryOemHookLibNull │ │ │ │ ├── BaseRecoveryOemHookLibNull.c │ │ │ │ └── BaseRecoveryOemHookLibNull.inf │ │ └── UefiCpuPkg │ │ │ └── Library │ │ │ └── MtrrLib │ │ │ ├── MtrrLib.c │ │ │ └── MtrrLib.inf │ ├── QuarkNorthCluster │ │ ├── Binary │ │ │ ├── Quark2Microcode │ │ │ │ ├── IntelProprietaryLicense.txt │ │ │ │ ├── QuarkMicrocode.inf │ │ │ │ └── RMU.bin │ │ │ └── QuarkMicrocode │ │ │ │ ├── .gitignore │ │ │ │ ├── IntelProprietaryLicense.txt │ │ │ │ ├── QuarkMicrocode.inf │ │ │ │ └── RMU.bin │ │ ├── Include │ │ │ ├── DdrMemoryController.h │ │ │ ├── Guid │ │ │ │ └── RedirectServicesHob.h │ │ │ ├── IntelQNCBase.h │ │ │ ├── IntelQNCConfig.h │ │ │ ├── IntelQNCDxe.h │ │ │ ├── IntelQNCPeim.h │ │ │ ├── IntelQNCRegs.h │ │ │ ├── Library │ │ │ │ ├── IntelQNCLib.h │ │ │ │ ├── QNCAccessLib.h │ │ │ │ └── RedirectPeiServicesLib.h │ │ │ ├── Ppi │ │ │ │ └── CltMemoryInit.h │ │ │ ├── Protocol │ │ │ │ ├── PchInfo.h │ │ │ │ ├── PchPlatformPolicy.h │ │ │ │ ├── PlatformPolicy.h │ │ │ │ ├── QncS3Support.h │ │ │ │ ├── SmmIchnDispatch2.h │ │ │ │ ├── SmmRtProtocol.h │ │ │ │ └── Spi.h │ │ │ ├── QNCAccess.h │ │ │ ├── QNCCommonDefinitions.h │ │ │ └── QuarkNcSocId.h │ │ ├── Library │ │ │ ├── IntelQNCAcpiTimerLib │ │ │ │ ├── IntelQNCAcpiTimerLib.c │ │ │ │ └── IntelQNCAcpiTimerLib.inf │ │ │ ├── IntelQNCLib │ │ │ │ ├── CommonHeader.h │ │ │ │ ├── IntelQNCLib.c │ │ │ │ ├── IntelQNCLib.inf │ │ │ │ └── PciExpress.c │ │ │ ├── QNCAccessLib │ │ │ │ ├── BaseAccess.c │ │ │ │ ├── QNCAccessLib.c │ │ │ │ ├── QNCAccessLib.inf │ │ │ │ ├── RuntimeAccess.c │ │ │ │ └── RuntimeQNCAccessLib.inf │ │ │ ├── QNCSmmLib │ │ │ │ ├── QNCSmmLib.c │ │ │ │ └── QNCSmmLib.inf │ │ │ ├── RedirectPeiServicesLib │ │ │ │ ├── RedirectPeiServices.c │ │ │ │ └── RedirectPeiServicesLib.inf │ │ │ ├── ResetSystemLib │ │ │ │ ├── ResetSystemLib.c │ │ │ │ └── ResetSystemLib.inf │ │ │ └── SmbusLib │ │ │ │ ├── CommonHeader.h │ │ │ │ ├── SmbusLib.c │ │ │ │ └── SmbusLib.inf │ │ ├── MemoryInit │ │ │ └── Pei │ │ │ │ ├── MemoryInit.c │ │ │ │ ├── MemoryInit.h │ │ │ │ ├── MemoryInitPei.inf │ │ │ │ ├── core_types.h │ │ │ │ ├── gen5_iosf_sb_definitions.h │ │ │ │ ├── general_definitions.h │ │ │ │ ├── hte.c │ │ │ │ ├── hte.h │ │ │ │ ├── io.h │ │ │ │ ├── lprint.c │ │ │ │ ├── meminit.c │ │ │ │ ├── meminit.h │ │ │ │ ├── meminit_utils.c │ │ │ │ ├── meminit_utils.h │ │ │ │ ├── memory_options.h │ │ │ │ ├── mrc.c │ │ │ │ ├── mrc.h │ │ │ │ ├── platform.c │ │ │ │ ├── prememinit.c │ │ │ │ └── prememinit.h │ │ ├── QNCInit │ │ │ └── Dxe │ │ │ │ ├── CommonHeader.h │ │ │ │ ├── DxeQNCSmbus.c │ │ │ │ ├── DxeQNCSmbus.h │ │ │ │ ├── LegacyInterrupt.c │ │ │ │ ├── LegacyInterrupt.h │ │ │ │ ├── LegacyRegion.c │ │ │ │ ├── LegacyRegion.h │ │ │ │ ├── QNCInit.c │ │ │ │ ├── QNCInit.h │ │ │ │ ├── QNCInitDxe.inf │ │ │ │ ├── QNCRootPorts.c │ │ │ │ ├── QNCSmbus.h │ │ │ │ ├── QNCSmbusExec.c │ │ │ │ ├── SmartTimer.c │ │ │ │ └── SmartTimer.h │ │ ├── S3Support │ │ │ └── Dxe │ │ │ │ ├── QncS3Support.c │ │ │ │ ├── QncS3Support.h │ │ │ │ └── QncS3Support.inf │ │ ├── Smm │ │ │ ├── Dxe │ │ │ │ ├── SmmAccessDxe │ │ │ │ │ ├── SmmAccess.inf │ │ │ │ │ ├── SmmAccessDriver.c │ │ │ │ │ └── SmmAccessDriver.h │ │ │ │ ├── SmmControlDxe │ │ │ │ │ ├── SmmControlDriver.c │ │ │ │ │ └── SmmControlDxe.inf │ │ │ │ └── SmmRuntime │ │ │ │ │ ├── SmmRuntime.c │ │ │ │ │ ├── SmmRuntime.h │ │ │ │ │ └── SmmRuntime.inf │ │ │ ├── DxeSmm │ │ │ │ └── QncSmmDispatcher │ │ │ │ │ ├── CommonHeader.h │ │ │ │ │ ├── QNC │ │ │ │ │ ├── QNCSmmGpi.c │ │ │ │ │ ├── QNCSmmHelpers.c │ │ │ │ │ ├── QNCSmmPeriodicTimer.c │ │ │ │ │ ├── QNCSmmQncn.c │ │ │ │ │ ├── QNCSmmSw.c │ │ │ │ │ └── QNCSmmSx.c │ │ │ │ │ ├── QNCSmm.h │ │ │ │ │ ├── QNCSmmCore.c │ │ │ │ │ ├── QNCSmmDispatcher.inf │ │ │ │ │ ├── QNCSmmHelpers.c │ │ │ │ │ ├── QNCSmmHelpers.h │ │ │ │ │ ├── QNCSmmRegisters.h │ │ │ │ │ └── QNCxSmmHelpers.h │ │ │ └── Pei │ │ │ │ ├── SmmAccessPei │ │ │ │ ├── SmmAccessPei.c │ │ │ │ └── SmmAccessPei.inf │ │ │ │ └── SmmControlPei │ │ │ │ ├── SmmControlPei.c │ │ │ │ └── SmmControlPei.inf │ │ └── Spi │ │ │ ├── Common │ │ │ ├── SpiCommon.c │ │ │ └── SpiCommon.h │ │ │ ├── RuntimeDxe │ │ │ ├── PchSpi.c │ │ │ ├── PchSpi.h │ │ │ └── PchSpiRuntime.inf │ │ │ └── Smm │ │ │ ├── PchSpi.c │ │ │ ├── PchSpi.h │ │ │ └── PchSpiSmm.inf │ ├── QuarkSocPkg.dec │ ├── QuarkSocPkg.dsc │ └── QuarkSouthCluster │ │ ├── I2C │ │ └── Dxe │ │ │ ├── CommonHeader.h │ │ │ ├── I2C.c │ │ │ ├── I2C.h │ │ │ └── I2CDxe.inf │ │ ├── Include │ │ ├── CEATA.h │ │ ├── I2CRegs.h │ │ ├── Ioh.h │ │ ├── IohAccess.h │ │ ├── IohCommonDefinitions.h │ │ ├── Library │ │ │ └── IohLib.h │ │ ├── MMC.h │ │ ├── Protocol │ │ │ └── I2CHc.h │ │ ├── SDCard.h │ │ └── SDHostIo.h │ │ ├── IohInit │ │ └── Dxe │ │ │ ├── CommonHeader.h │ │ │ ├── IohBds.h │ │ │ ├── IohData.c │ │ │ ├── IohInit.c │ │ │ ├── IohInit.h │ │ │ └── IohInitDxe.inf │ │ ├── Library │ │ ├── IohLib │ │ │ ├── CommonHeader.h │ │ │ ├── IohLib.c │ │ │ └── IohLib.inf │ │ └── IohSerialPortLib │ │ │ ├── IohSerialPortLib.c │ │ │ ├── IohSerialPortLib.h │ │ │ └── IohSerialPortLib.inf │ │ ├── Sdio │ │ └── Dxe │ │ │ ├── SDControllerDxe │ │ │ ├── ComponentName.c │ │ │ ├── ComponentName.h │ │ │ ├── SDController.c │ │ │ ├── SDController.h │ │ │ └── SDControllerDxe.inf │ │ │ └── SDMediaDeviceDxe │ │ │ ├── CEATA.c │ │ │ ├── CEATABlockIo.c │ │ │ ├── ComponentName.c │ │ │ ├── ComponentName.h │ │ │ ├── MMCSDBlockIo.c │ │ │ ├── MMCSDTransfer.c │ │ │ ├── SDMediaDevice.c │ │ │ ├── SDMediaDevice.h │ │ │ └── SDMediaDeviceDxe.inf │ │ ├── Uart │ │ └── Dxe │ │ │ ├── ComponentName.c │ │ │ ├── Serial.c │ │ │ ├── Serial.h │ │ │ └── SerialDxe.inf │ │ └── Usb │ │ ├── Common │ │ └── Pei │ │ │ ├── UsbPei.c │ │ │ ├── UsbPei.h │ │ │ └── UsbPei.inf │ │ └── Ohci │ │ ├── Dxe │ │ ├── ComponentName.c │ │ ├── ComponentName.h │ │ ├── Descriptor.h │ │ ├── Ohci.c │ │ ├── Ohci.h │ │ ├── OhciDebug.c │ │ ├── OhciDebug.h │ │ ├── OhciDxe.inf │ │ ├── OhciReg.c │ │ ├── OhciReg.h │ │ ├── OhciSched.c │ │ ├── OhciSched.h │ │ ├── OhciUrb.c │ │ ├── OhciUrb.h │ │ ├── UsbHcMem.c │ │ └── UsbHcMem.h │ │ └── Pei │ │ ├── Descriptor.h │ │ ├── OhcPeim.c │ │ ├── OhcPeim.h │ │ ├── OhciPei.inf │ │ ├── OhciReg.c │ │ ├── OhciReg.h │ │ ├── OhciSched.c │ │ ├── OhciSched.h │ │ ├── OhciUrb.c │ │ ├── OhciUrb.h │ │ ├── UsbHcMem.c │ │ └── UsbHcMem.h ├── buildallconfigs.sh ├── edksetup.bat ├── edksetup.sh ├── quarkbuild.bat ├── quarkbuild.sh ├── svn_externals.txt └── svn_setup.py ├── README.md ├── README.txt ├── meta-clanton ├── LICENSE ├── README ├── meta-clanton-bsp │ ├── COPYING.MIT │ ├── conf │ │ ├── layer.conf │ │ ├── machine-sdk │ │ │ ├── i586-tarball.conf │ │ │ └── x86_64-tarball.conf │ │ └── machine │ │ │ └── clanton.conf │ ├── recipes-bsp │ │ └── grub │ │ │ ├── files │ │ │ └── clanton.patch │ │ │ └── grub_0.97.bb │ ├── recipes-core │ │ ├── initscripts │ │ │ ├── files │ │ │ │ └── galileod.sh │ │ │ └── initscripts_1.0.bbappend │ │ └── meta │ │ │ ├── files │ │ │ └── install_script.sh │ │ │ └── meta-toolchain.bbappend │ ├── recipes-devtools │ │ ├── binutils │ │ │ ├── binutils-cross-canadian_2.23.1.bbappend │ │ │ ├── binutils-cross_2.23.1.bbappend │ │ │ ├── binutils_2.23.1.bbappend │ │ │ └── files │ │ │ │ ├── gas2.23.1_WR.patch │ │ │ │ ├── gas2.23.1_flip_lock_flag_logic.patch │ │ │ │ └── lock-test.patch │ │ └── openssl │ │ │ ├── ocf-linux.inc │ │ │ ├── ocf-linux_20120127.bb │ │ │ ├── openssl-1.0.2k │ │ │ ├── 0001-OpenSSL-1.0.2-Change-LIBDIR-engines-to-LIBDIR-ssl-en.patch │ │ │ ├── debian │ │ │ │ ├── debian-targets.patch │ │ │ │ └── no-rpath.patch │ │ │ └── find.pl │ │ │ ├── openssl.inc │ │ │ └── openssl_1.0.2k.bb │ ├── recipes-kernel │ │ ├── linux │ │ │ ├── files │ │ │ │ ├── 0001-tty-don-t-deadlock-while-flushing-workqueue-quark.patch │ │ │ │ ├── 0002-driver-core-constify-data-for-class_find_devic-quark.patch │ │ │ │ ├── 0003-TTY-mark-tty_get_device-call-with-the-proper-c-quark.patch │ │ │ │ ├── 0004-pwm-Add-sysfs-interface-quark.patch │ │ │ │ ├── 0005-drivers-pwm-sysfs.c-add-export.h-RTC-50404-quark.patch │ │ │ │ ├── 0006-core-Quark-patch-quark.patch │ │ │ │ ├── 0007-Quark-Platform-Code-quark.patch │ │ │ │ ├── 0008-Quark-UART-quark.patch │ │ │ │ ├── 0009-EFI-capsule-update-quark.patch │ │ │ │ ├── 0010-Quark-SDIO-host-controller-quark.patch │ │ │ │ ├── 0011-Quark-USB-host-quark.patch │ │ │ │ ├── 0012-USB-gadget-serial-quark.patch │ │ │ │ ├── 0013-Quark-stmmac-Ethernet-quark.patch │ │ │ │ ├── 0014-Quark-GPIO-2-2-quark.patch │ │ │ │ ├── 0015-Quark-GPIO-1-2-quark.patch │ │ │ │ ├── 0016-Quark-GIP-Cypress-I-O-expander-quark.patch │ │ │ │ ├── 0017-Quark-I2C-quark.patch │ │ │ │ ├── 0018-Quark-sensors-quark.patch │ │ │ │ ├── 0019-Quark-SC-SPI-quark.patch │ │ │ │ ├── 0020-Quark-IIO-quark.patch │ │ │ │ ├── 0021-Quark-SPI-flash-quark.patch │ │ │ │ ├── GAL-118-USBDeviceResetOnSUSRES-2.patch │ │ │ │ ├── clanton-standard.scc │ │ │ │ ├── quark.cfg │ │ │ │ └── uart-1.0.patch │ │ │ └── linux-yocto-clanton_3.8.bb │ │ ├── modutils-initscripts │ │ │ ├── files │ │ │ │ └── bsp.conf │ │ │ └── modutils-initscripts.bbappend │ │ └── quark-init │ │ │ ├── files │ │ │ ├── galileo.conf │ │ │ ├── galileo_gen2.conf │ │ │ └── quark-init.sh │ │ │ └── quark-init_0.1.bb │ └── recipes-testing │ │ └── dejagnu │ │ ├── dejagnu-native_1.4.4.bb │ │ ├── dejagnu_1.4.4.bb │ │ └── files │ │ └── set1hr_timeout.patch ├── meta-clanton-distro │ ├── COPYING.MIT │ ├── conf │ │ ├── distro │ │ │ ├── clanton-full.conf │ │ │ ├── clanton-tiny.conf │ │ │ └── exclude_from_world.inc │ │ └── layer.conf │ ├── recipes-core │ │ ├── busybox │ │ │ ├── busybox │ │ │ │ ├── clanton-full │ │ │ │ │ └── defconfig │ │ │ │ └── clanton-tiny │ │ │ │ │ └── defconfig │ │ │ └── busybox_1.20.2.bbappend │ │ ├── images │ │ │ ├── core-image-minimal-initramfs.bbappend │ │ │ ├── files │ │ │ │ └── grub.conf │ │ │ ├── image-full-galileo.bb │ │ │ ├── image-full.bb │ │ │ ├── image-spi-galileo.bb │ │ │ └── image-spi.bb │ │ ├── initrdscripts │ │ │ ├── files │ │ │ │ └── name.patch │ │ │ └── initramfs-live-boot_1.0.bbappend │ │ └── initscripts │ │ │ ├── initscripts-1.0 │ │ │ ├── automount.sh │ │ │ ├── mdev.conf │ │ │ ├── mdev.sh │ │ │ ├── mqueue.sh │ │ │ └── sysfs_devtmpfs.sh │ │ │ └── initscripts_1.0.bbappend │ ├── recipes-extended │ │ ├── ethtool │ │ │ ├── ethtool_3.6.bb │ │ │ └── files │ │ │ │ └── clanton.patch │ │ ├── linuxptp │ │ │ └── linuxptp_20121116.bb │ │ ├── minicom │ │ │ ├── files │ │ │ │ └── long_path_script.patch │ │ │ └── minicom_2.6.2.bbappend │ │ └── screen │ │ │ ├── files │ │ │ └── screen_uclibc.patch │ │ │ └── screen_4.0.3.bbappend │ ├── recipes-galileo │ │ └── galileo-target │ │ │ ├── files │ │ │ ├── GAL-193-clloader-1.patch │ │ │ ├── GAL-199-start_spi_upgrade-1.patch │ │ │ ├── GAL-200-zombie_clloader_c-1.patch │ │ │ ├── GAL-200-zombie_clloader_h-1.patch │ │ │ ├── MAKER-222-Sketch_download_unstable-5.patch │ │ │ ├── galileo-target.tar.bz2 │ │ │ ├── launcher.sh │ │ │ └── usb_improv_patch-1.patch │ │ │ └── galileo-target_0.1.bb │ ├── recipes-kernel │ │ └── linux-firmware │ │ │ └── linux-firmware_git.bbappend │ ├── recipes-multimedia │ │ └── v4l2apps │ │ │ ├── files │ │ │ └── uclibc-enable.patch │ │ │ └── v4l-utils_0.8.8.bbappend │ └── recipes-support │ │ └── opencv │ │ └── opencv_2.4.bbappend ├── setup.sh └── setup │ ├── gitsetup.py │ ├── meta-intel.cfg │ ├── meta-oe.cfg │ └── poky.cfg ├── spi-flash-tools ├── BaseTools │ ├── README.txt │ └── x86_64 │ │ └── C │ │ └── bin │ │ ├── GenFfs │ │ ├── GenFv │ │ ├── GenFw │ │ └── GenSec ├── LICENSE ├── Makefile ├── asset-signing-tool │ └── sign.c ├── generator │ ├── dediprog-checksum.py │ ├── generator.py │ └── scan-padding.py ├── platform-data │ ├── MRC │ │ ├── GalileoFabE.bin │ │ ├── GalileoGen2.bin │ │ ├── clantonhill.v0.bin │ │ ├── clantonhill.v1.bin │ │ ├── clantonpeak.v0.bin │ │ ├── clantonpeak.v1.bin │ │ ├── crosshill.v0.bin │ │ ├── crosshill.v1.bin │ │ ├── kipsbay-fabD.v1.bin │ │ ├── kipsbay.v0.bin │ │ └── kipsbay.v1.bin │ ├── platform-data-patch.py │ └── sample-platform-data.ini └── ramfs.mk └── sysimage ├── LICENSE ├── config ├── SVNArea.bin ├── SelfSignedKeyModule.bin ├── SignedKeyModuleRsaKeypair99.bin ├── SvpSignedKeyModule.bin ├── asn1_rsa_keypair_99.pem └── key.pem ├── create_symlinks.sh ├── grub └── grub-spi.conf ├── inf ├── Shell.efi.inf └── grub.efi.inf ├── sysimage.CP-8M-debug-secure ├── config ├── grub ├── inf ├── layout.conf └── layout.conf.template ├── sysimage.CP-8M-debug ├── config ├── grub ├── inf ├── layout.conf └── layout.conf.template ├── sysimage.CP-8M-release-secure ├── config ├── grub ├── inf ├── layout.conf └── layout.conf.template └── sysimage.CP-8M-release ├── config ├── grub ├── inf ├── layout.conf └── layout.conf.template /.gitignore: -------------------------------------------------------------------------------- 1 | meta-clanton/meta-intel/ 2 | meta-clanton/meta-oe/ 3 | meta-clanton/poky/ 4 | meta-clanton/yocto_build/ 5 | -------------------------------------------------------------------------------- /Quark_EDKII/IA32FamilyCpuBasePkg/CpuArchDxe/MemoryAttribute.h: -------------------------------------------------------------------------------- 1 | /** @file 2 | 3 | Include file for memory attribute setting 4 | 5 | Copyright (c) 2013 Intel Corporation. 6 | 7 | Redistribution and use in source and binary forms, with or without 8 | modification, are permitted provided that the following conditions 9 | are met: 10 | 11 | * Redistributions of source code must retain the above copyright 12 | notice, this list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright 14 | notice, this list of conditions and the following disclaimer in 15 | the documentation and/or other materials provided with the 16 | distribution. 17 | * Neither the name of Intel Corporation nor the names of its 18 | contributors may be used to endorse or promote products derived 19 | from this software without specific prior written permission. 20 | 21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | 33 | Module Name: MemoryAttribute.h 34 | 35 | **/ 36 | 37 | #ifndef _EFI_MEMORY_ATTRIB_H_ 38 | #define _EFI_MEMORY_ATTRIB_H_ 39 | 40 | #define EFI_MEMORY_CACHETYPE_MASK (EFI_MEMORY_UC | \ 41 | EFI_MEMORY_WC | \ 42 | EFI_MEMORY_WT | \ 43 | EFI_MEMORY_WB | \ 44 | EFI_MEMORY_UCE \ 45 | ) 46 | 47 | extern BOOLEAN mIsFlushingGCD; 48 | 49 | 50 | #endif 51 | -------------------------------------------------------------------------------- /Quark_EDKII/IA32FamilyCpuBasePkg/CpuMpDxe/Feature.h: -------------------------------------------------------------------------------- 1 | /** @file 2 | 3 | Header file for processor features 4 | 5 | Copyright (c) 2013 Intel Corporation. 6 | 7 | Redistribution and use in source and binary forms, with or without 8 | modification, are permitted provided that the following conditions 9 | are met: 10 | 11 | * Redistributions of source code must retain the above copyright 12 | notice, this list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright 14 | notice, this list of conditions and the following disclaimer in 15 | the documentation and/or other materials provided with the 16 | distribution. 17 | * Neither the name of Intel Corporation nor the names of its 18 | contributors may be used to endorse or promote products derived 19 | from this software without specific prior written permission. 20 | 21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | 33 | Module Name: Feature.h 34 | 35 | **/ 36 | 37 | #ifndef _CPU_FEATURE_H_ 38 | #define _CPU_FEATURE_H_ 39 | 40 | #include "LimitCpuIdValue.h" 41 | #include "Xd.h" 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /Quark_EDKII/IA32FamilyCpuBasePkg/CpuMpDxe/Strings.uni: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/IA32FamilyCpuBasePkg/CpuMpDxe/Strings.uni -------------------------------------------------------------------------------- /Quark_EDKII/IA32FamilyCpuBasePkg/Include/CpuHotPlugData.h: -------------------------------------------------------------------------------- 1 | /** @file 2 | Definition for a struture sharing information for CPU hot plug. 3 | 4 | Copyright (c) 2013 Intel Corporation. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions 8 | are met: 9 | 10 | * Redistributions of source code must retain the above copyright 11 | notice, this list of conditions and the following disclaimer. 12 | * Redistributions in binary form must reproduce the above copyright 13 | notice, this list of conditions and the following disclaimer in 14 | the documentation and/or other materials provided with the 15 | distribution. 16 | * Neither the name of Intel Corporation nor the names of its 17 | contributors may be used to endorse or promote products derived 18 | from this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | **/ 33 | #ifndef _CPU_HOT_PLUG_DATA_H_ 34 | #define _CPU_HOT_PLUG_DATA_H_ 35 | 36 | typedef struct { 37 | // 38 | // Placeholder for MP intialization data 39 | // 40 | 41 | // 42 | // Data required for SMBASE relocation 43 | // 44 | UINT64 ApicId[FixedPcdGet32 (PcdCpuMaxLogicalProcessorNumber)]; 45 | UINTN SmBase[FixedPcdGet32 (PcdCpuMaxLogicalProcessorNumber)]; 46 | UINT32 SmrrBase; 47 | UINT32 SmrrSize; 48 | 49 | } CPU_HOT_PLUG_DATA; 50 | 51 | #endif 52 | 53 | -------------------------------------------------------------------------------- /Quark_EDKII/IA32FamilyCpuBasePkg/Include/Guid/HtBistHob.h: -------------------------------------------------------------------------------- 1 | /** @file 2 | 3 | Copyright (c) 2013 Intel Corporation. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | 32 | Module Name: 33 | 34 | HtBistHob.h 35 | 36 | Abstract: 37 | 38 | GUID used for HT BIST Status HOB entries in the HOB list. 39 | 40 | **/ 41 | 42 | #ifndef _HT_BIST_HOB_GUID_H_ 43 | #define _HT_BIST_HOB_GUID_H_ 44 | 45 | #define EFI_HT_BIST_HOB_GUID \ 46 | { \ 47 | 0xbe644001, 0xe7d4, 0x48b1, {0xb0, 0x96, 0x8b, 0xa0, 0x47, 0xbc, 0x7a, 0xe7 } \ 48 | } 49 | 50 | extern EFI_GUID gEfiHtBistHobGuid; 51 | 52 | #endif 53 | -------------------------------------------------------------------------------- /Quark_EDKII/IA32FamilyCpuBasePkg/Include/Guid/IA32FamilyCpuPkgTokenSpace.h: -------------------------------------------------------------------------------- 1 | /** @file 2 | GUID for IA32FamilyCpuBasePkg PCD Token Space 3 | 4 | Copyright (c) 2013 Intel Corporation. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions 8 | are met: 9 | 10 | * Redistributions of source code must retain the above copyright 11 | notice, this list of conditions and the following disclaimer. 12 | * Redistributions in binary form must reproduce the above copyright 13 | notice, this list of conditions and the following disclaimer in 14 | the documentation and/or other materials provided with the 15 | distribution. 16 | * Neither the name of Intel Corporation nor the names of its 17 | contributors may be used to endorse or promote products derived 18 | from this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | **/ 33 | 34 | #ifndef _IA32FAMILYCPUPKG_TOKEN_SPACE_GUID_H_ 35 | #define _IA32FAMILYCPUPKG_TOKEN_SPACE_GUID_H_ 36 | 37 | #define CPU_TOKEN_SPACE_GUID \ 38 | { \ 39 | 0x2ADA836D, 0x0A3D, 0x43D6, { 0xA2, 0x5A, 0x38, 0x45, 0xCA, 0xD2, 0xD4, 0x00 } \ 40 | } 41 | 42 | extern EFI_GUID gEfiCpuTokenSpaceGuid; 43 | 44 | #endif 45 | -------------------------------------------------------------------------------- /Quark_EDKII/IA32FamilyCpuBasePkg/Include/Library/CpuOnlyResetLib.h: -------------------------------------------------------------------------------- 1 | /** @file 2 | Public include file for the CPU-Only Reset Library. 3 | 4 | Copyright (c) 2013 Intel Corporation. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions 8 | are met: 9 | 10 | * Redistributions of source code must retain the above copyright 11 | notice, this list of conditions and the following disclaimer. 12 | * Redistributions in binary form must reproduce the above copyright 13 | notice, this list of conditions and the following disclaimer in 14 | the documentation and/or other materials provided with the 15 | distribution. 16 | * Neither the name of Intel Corporation nor the names of its 17 | contributors may be used to endorse or promote products derived 18 | from this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | Module Name: CpuOnlyResetLib.h 33 | 34 | **/ 35 | 36 | #ifndef __CPU_ONLY_RESET_LIB_H__ 37 | #define __CPU_ONLY_RESET_LIB_H__ 38 | 39 | /** 40 | Performs a CPU only reset. 41 | This function performs a CPU-only reset. 42 | 43 | **/ 44 | VOID 45 | EFIAPI 46 | CpuOnlyReset( 47 | VOID 48 | ); 49 | 50 | #endif 51 | -------------------------------------------------------------------------------- /Quark_EDKII/IA32FamilyCpuBasePkg/Library/CpuOnlyResetLibNull/CpuOnlyResetLibNull.c: -------------------------------------------------------------------------------- 1 | /** @file 2 | Null instance of Cpu-Only Reset Lib. 3 | 4 | Copyright (c) 2013 Intel Corporation. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions 8 | are met: 9 | 10 | * Redistributions of source code must retain the above copyright 11 | notice, this list of conditions and the following disclaimer. 12 | * Redistributions in binary form must reproduce the above copyright 13 | notice, this list of conditions and the following disclaimer in 14 | the documentation and/or other materials provided with the 15 | distribution. 16 | * Neither the name of Intel Corporation nor the names of its 17 | contributors may be used to endorse or promote products derived 18 | from this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | Module Name: CpuOnlyResetLibNull.c 33 | 34 | **/ 35 | 36 | // 37 | // The package level header files this module uses 38 | // 39 | #include 40 | 41 | /** 42 | Provides null implementation for Cpu-Only Reset Lib. 43 | This function provides null implementation for Cpu-Only Reset Lib. 44 | 45 | **/ 46 | VOID 47 | EFIAPI 48 | CpuOnlyReset( 49 | VOID 50 | ) 51 | { 52 | return; 53 | } 54 | -------------------------------------------------------------------------------- /Quark_EDKII/IA32FamilyCpuBasePkg/PiSmmCommunication/PiSmmCommunicationPrivate.h: -------------------------------------------------------------------------------- 1 | /** @file 2 | 3 | Copyright (c) 2013 Intel Corporation. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | Module Name: 32 | 33 | PiSmmCommunicationPrivate.h 34 | 35 | Abstract: 36 | 37 | PiSmmCommunication private data structure 38 | 39 | **/ 40 | 41 | #ifndef _SMM_COMMUNICATION_PRIVATE_H_ 42 | #define _SMM_COMMUNICATION_PRIVATE_H_ 43 | 44 | #pragma pack(push, 1) 45 | 46 | #define SMM_COMMUNICATION_SIGNATURE SIGNATURE_32 ('S','M','M','C') 47 | 48 | typedef struct { 49 | UINT32 Signature; 50 | UINT32 SwSmiNumber; 51 | EFI_PHYSICAL_ADDRESS AcpiTableAddress; 52 | } EFI_SMM_COMMUNICATION_CONTEXT; 53 | 54 | #pragma pack(pop) 55 | 56 | #endif 57 | -------------------------------------------------------------------------------- /Quark_EDKII/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013 Intel Corporation. All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are met: 5 | 6 | 1. Redistributions of source code must retain the above copyright notice, this 7 | list of conditions and the following disclaimer. 8 | 9 | 2. Redistributions in binary form must reproduce the above copyright notice, 10 | this list of conditions and the following disclaimer in the documentation 11 | and/or other materials provided with the distribution. 12 | 13 | 3. Neither the name of the copyright holder nor the names of its contributors 14 | may be used to endorse or promote products derived from this software without 15 | specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 18 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 19 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 20 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 21 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 23 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 24 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 25 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Acpi/AcpiTables/Dsdt/QNCLpc.asi: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 2013 Intel Corporation. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | Module Name: 32 | 33 | QNCLpc.asi 34 | 35 | Abstract: 36 | 37 | Lpc devices and control methods 38 | 39 | --*/ 40 | 41 | 42 | #ifndef QNC_LPC_ASI 43 | #define QNC_LPC_ASI 44 | 45 | Device(LPC) 46 | { 47 | Name(_ADR,0x001f0000) // Device (HI WORD)=31, Func (LO WORD)=0 48 | 49 | Include ("PciIrq.asi") // PCI routing control methods 50 | Include ("LpcDev.asi") // Static Lpc device resource declaration 51 | } 52 | 53 | 54 | #endif 55 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Applications/CapsuleApp.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkPlatformPkg/Applications/CapsuleApp.efi -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Bds/BdsDxe/HwErrRecSupport.h: -------------------------------------------------------------------------------- 1 | /** @file 2 | Set the level of support for Hardware Error Record Persistence that is 3 | implemented by the platform. 4 | 5 | Copyright (c) 2013 Intel Corporation. 6 | 7 | Redistribution and use in source and binary forms, with or without 8 | modification, are permitted provided that the following conditions 9 | are met: 10 | 11 | * Redistributions of source code must retain the above copyright 12 | notice, this list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright 14 | notice, this list of conditions and the following disclaimer in 15 | the documentation and/or other materials provided with the 16 | distribution. 17 | * Neither the name of Intel Corporation nor the names of its 18 | contributors may be used to endorse or promote products derived 19 | from this software without specific prior written permission. 20 | 21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | 33 | **/ 34 | 35 | #ifndef _HW_ERR_REC_SUPPORT_H_ 36 | #define _HW_ERR_REC_SUPPORT_H_ 37 | 38 | #include "Bds.h" 39 | 40 | /** 41 | Set the HwErrRecSupport variable contains a binary UINT16 that supplies the 42 | level of support for Hardware Error Record Persistence that is implemented 43 | by the platform. 44 | 45 | **/ 46 | VOID 47 | InitializeHwErrRecSupport ( 48 | VOID 49 | ); 50 | 51 | #endif 52 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Bds/BdsDxe/Language.h: -------------------------------------------------------------------------------- 1 | /** @file 2 | Language setting 3 | 4 | Copyright (c) 2013 Intel Corporation. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions 8 | are met: 9 | 10 | * Redistributions of source code must retain the above copyright 11 | notice, this list of conditions and the following disclaimer. 12 | * Redistributions in binary form must reproduce the above copyright 13 | notice, this list of conditions and the following disclaimer in 14 | the documentation and/or other materials provided with the 15 | distribution. 16 | * Neither the name of Intel Corporation nor the names of its 17 | contributors may be used to endorse or promote products derived 18 | from this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | **/ 33 | 34 | #ifndef _LANGUAGE_H_ 35 | #define _LANGUAGE_H_ 36 | 37 | /** 38 | Determine the current language that will be used 39 | based on language related EFI Variables. 40 | 41 | @param LangCodesSettingRequired If required to set LangCode variable 42 | 43 | **/ 44 | VOID 45 | InitializeLanguage ( 46 | BOOLEAN LangCodesSettingRequired 47 | ); 48 | 49 | #endif // _LANGUAGE_H_ 50 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Bds/BootManagerMenuApp/BootManagerMenuStrings.uni: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkPlatformPkg/Bds/BootManagerMenuApp/BootManagerMenuStrings.uni -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Binary/Payload/PayloadSample.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkPlatformPkg/Binary/Payload/PayloadSample.efi -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Binary/PlatformData/clantonhill-platform-data.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkPlatformPkg/Binary/PlatformData/clantonhill-platform-data.bin -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Binary/PlatformData/crosshill-platform-data.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkPlatformPkg/Binary/PlatformData/crosshill-platform-data.bin -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Binary/PlatformData/galileo-gen2-platform-data.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkPlatformPkg/Binary/PlatformData/galileo-gen2-platform-data.bin -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Binary/PlatformData/galileo-platform-data.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkPlatformPkg/Binary/PlatformData/galileo-platform-data.bin -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Binary/PlatformData/kipsbay-platform-data.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkPlatformPkg/Binary/PlatformData/kipsbay-platform-data.bin -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Binary/PlatformData/svp-platform-data.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkPlatformPkg/Binary/PlatformData/svp-platform-data.bin -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Binary/SIZE_8KB.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkPlatformPkg/Binary/SIZE_8KB.bin -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Cpu/Sec/ResetVector/CallbackServices.h: -------------------------------------------------------------------------------- 1 | /** @file 2 | Header file for CallbackServices.c. 3 | 4 | Copyright (c) 2013 Intel Corporation. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions 8 | are met: 9 | 10 | * Redistributions of source code must retain the above copyright 11 | notice, this list of conditions and the following disclaimer. 12 | * Redistributions in binary form must reproduce the above copyright 13 | notice, this list of conditions and the following disclaimer in 14 | the documentation and/or other materials provided with the 15 | distribution. 16 | * Neither the name of Intel Corporation nor the names of its 17 | contributors may be used to endorse or promote products derived 18 | from this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | **/ 33 | 34 | #ifndef _CALLBACK_SERVICES_H_ 35 | #define _CALLBACK_SERVICES_H_ 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Include/Guid/CapsuleOnDataCD.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 2013 Intel Corporation. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | Module Name: 32 | 33 | CapsuleOnDataCD.h 34 | 35 | Abstract: 36 | 37 | Capsule on Data CD GUID. 38 | 39 | This is the contract between the recovery module and device recovery module 40 | in order to convey the name of a given recovery module type 41 | 42 | --*/ 43 | 44 | #ifndef _CAPSULE_ON_DATA_CD_H 45 | #define _CAPSULE_ON_DATA_CD_H 46 | 47 | #define PEI_CAPSULE_ON_DATA_CD_GUID \ 48 | { \ 49 | 0x5cac0099, 0x0dc9, 0x48e5, {0x80, 0x68, 0xbb, 0x95, 0xf5, 0x40, 0x0a, 0x9f } \ 50 | }; 51 | 52 | extern EFI_GUID gPeiCapsuleOnDataCDGuid; 53 | 54 | #endif 55 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Include/Guid/CapsuleOnFatFloppyDisk.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 2013 Intel Corporation. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | Module Name: 32 | 33 | CapsuleOnFatFloppyDisk.h 34 | 35 | Abstract: 36 | 37 | Capsule on Fat Floppy Disk GUID. 38 | 39 | This is the contract between the recovery module and device recovery module 40 | in order to convey the name of a given recovery module type 41 | 42 | --*/ 43 | 44 | #ifndef _CAPSULE_ON_FAT_FLOPPY_DISK_H 45 | #define _CAPSULE_ON_FAT_FLOPPY_DISK_H 46 | 47 | #define PEI_CAPSULE_ON_FAT_FLOPPY_DISK_GUID \ 48 | { \ 49 | 0x2e3d2e75, 0x9b2e, 0x412d, {0xb4, 0xb1, 0x70, 0x41, 0x6b, 0x87, 0x0, 0xff }\ 50 | }; 51 | 52 | extern EFI_GUID gPeiCapsuleOnFatFloppyDiskGuid; 53 | 54 | #endif 55 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Include/Guid/CapsuleOnFatIdeDisk.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 2013 Intel Corporation. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | 32 | Module Name: 33 | 34 | CapsuleOnFatIdeDisk.h 35 | 36 | Abstract: 37 | 38 | Capsule on Fat Ide Disk GUID. 39 | 40 | This is the contract between the recovery module and device recovery module 41 | in order to convey the name of a given recovery module type 42 | 43 | --*/ 44 | 45 | #ifndef _CAPSULE_ON_FAT_IDE_DISK_H 46 | #define _CAPSULE_ON_FAT_IDE_DISK_H 47 | 48 | #define PEI_CAPSULE_ON_FAT_IDE_DISK_GUID \ 49 | { \ 50 | 0xb38573b6, 0x6200, 0x4ac5, {0xb5, 0x1d, 0x82, 0xe6, 0x59, 0x38, 0xd7, 0x83 }\ 51 | }; 52 | 53 | extern EFI_GUID gPeiCapsuleOnFatIdeDiskGuid; 54 | 55 | #endif 56 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Include/Guid/CapsuleOnFatUsbDisk.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 2013 Intel Corporation. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | 32 | Module Name: 33 | 34 | CapsuleOnFatUsbDisk.h 35 | 36 | Abstract: 37 | 38 | Capsule on Fat Usb Disk GUID. 39 | 40 | This is the contract between the recovery module and device recovery module 41 | in order to convey the name of a given recovery module type 42 | 43 | --*/ 44 | 45 | #ifndef _PEI_CAPSULE_ON_FAT_USB_DISK_H 46 | #define _PEI_CAPSULE_ON_FAT_USB_DISK_H 47 | 48 | #define PEI_CAPSULE_ON_FAT_USB_DISK_GUID \ 49 | { \ 50 | 0x0ffbce19, 0x324c, 0x4690, {0xa0, 0x09, 0x98, 0xc6, 0xae, 0x2e, 0xb1, 0x86 } \ 51 | }; 52 | 53 | extern EFI_GUID gPeiCapsuleOnFatUsbDiskGuid; 54 | 55 | #endif 56 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Include/Guid/FlashMapHob.h: -------------------------------------------------------------------------------- 1 | /** @file 2 | 3 | Copyright (c) 2013 Intel Corporation. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | Module Name: 32 | 33 | FlashMapHob.h 34 | 35 | Abstract: 36 | 37 | GUID used for Flash Map HOB entries in the HOB list. 38 | 39 | --*/ 40 | 41 | #ifndef _FLASH_MAP_HOB_H_ 42 | #define _FLASH_MAP_HOB_H_ 43 | 44 | // 45 | // Definitions for Flash Map 46 | // 47 | #define EFI_FLASH_MAP_HOB_GUID \ 48 | { 0xb091e7d2, 0x5a0, 0x4198, {0x94, 0xf0, 0x74, 0xb7, 0xb8, 0xc5, 0x54, 0x59} } 49 | 50 | extern EFI_GUID gEfiFlashMapHobGuid; 51 | 52 | #endif // _FLASH_MAP_HOB_GUID_H_ 53 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Include/Guid/MemoryConfigData.h: -------------------------------------------------------------------------------- 1 | /**@file 2 | Define a GUID name for GUID HOB which is used to pass Memory 3 | Configuration Data information to different modules. 4 | 5 | Copyright (c) 2013 Intel Corporation. 6 | 7 | Redistribution and use in source and binary forms, with or without 8 | modification, are permitted provided that the following conditions 9 | are met: 10 | 11 | * Redistributions of source code must retain the above copyright 12 | notice, this list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright 14 | notice, this list of conditions and the following disclaimer in 15 | the documentation and/or other materials provided with the 16 | distribution. 17 | * Neither the name of Intel Corporation nor the names of its 18 | contributors may be used to endorse or promote products derived 19 | from this software without specific prior written permission. 20 | 21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | 33 | **/ 34 | 35 | #ifndef _MEMORY_CONFIG_DATA_H_ 36 | #define _MEMORY_CONFIG_DATA_H_ 37 | 38 | #define EFI_MEMORY_CONFIG_DATA_GUID \ 39 | { \ 40 | 0x80dbd530, 0xb74c, 0x4f11, {0x8c, 0x03, 0x41, 0x86, 0x65, 0x53, 0x28, 0x31 } \ 41 | } 42 | 43 | #define EFI_MEMORY_CONFIG_DATA_NAME L"MemoryConfig" 44 | 45 | extern EFI_GUID gEfiMemoryConfigDataGuid; 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Include/Guid/QuarkVariableLock.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Guid and variable name used to trigger quark lock of specific UEFI variables. 4 | 5 | Copyright (c) 2013 Intel Corporation. 6 | 7 | Redistribution and use in source and binary forms, with or without 8 | modification, are permitted provided that the following conditions 9 | are met: 10 | 11 | * Redistributions of source code must retain the above copyright 12 | notice, this list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright 14 | notice, this list of conditions and the following disclaimer in 15 | the documentation and/or other materials provided with the 16 | distribution. 17 | * Neither the name of Intel Corporation nor the names of its 18 | contributors may be used to endorse or promote products derived 19 | from this software without specific prior written permission. 20 | 21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | 33 | --*/ 34 | 35 | #ifndef _QUARK_VARIABLE_LOCK_GUID_H_ 36 | #define _QUARK_VARIABLE_LOCK_GUID_H_ 37 | 38 | #define QUARK_VARIABLE_LOCK_GUID \ 39 | { \ 40 | 0xeef749c2, 0xc047, 0x4d6e, { 0xb1, 0xbc, 0xd3, 0x6e, 0xb3, 0xa5, 0x55, 0x9c } \ 41 | } 42 | 43 | #define QUARK_VARIABLE_LOCK_NAME L"QuarkVariableLock" 44 | 45 | extern EFI_GUID gQuarkVariableLockGuid; 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Include/Iio/IioRegs.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 2013 Intel Corporation. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | 32 | Module Name: 33 | 34 | IioRegs.h 35 | 36 | Abstract: 37 | 38 | IIO constants. 39 | 40 | Revision History: 41 | 42 | --*/ 43 | 44 | #ifndef _IIO_REGS_H_ 45 | #define _IIO_REGS_H_ 46 | 47 | #include "CommonIncludes.h" 48 | 49 | #define MaxIIO 1 50 | 51 | #endif 52 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Include/Iio/PciAccess.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 2013 Intel Corporation. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | 32 | Module Name: 33 | 34 | PciAccess.h 35 | 36 | Abstract: 37 | 38 | Macros to simplify and abstract the interface to PCI configuration. 39 | 40 | --*/ 41 | 42 | #ifndef _PCIACCESS_H_ 43 | #define _PCIACCESS_H_ 44 | 45 | // 46 | // Define PCI express offse 47 | // 48 | #define PCIE_OFF(Bus, Device, Function, Register) \ 49 | ((UINT64) ((UINTN) (Bus << 20) + (UINTN) (Device << 15) + (UINTN) (Function << 12) + (UINTN) (Register))) 50 | 51 | #endif 52 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Include/Library/SwBpeLib.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 2013 Intel Corporation. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | Module Name: 32 | 33 | SwBpeLib.h 34 | 35 | Abstract: 36 | 37 | This library provides Software Breakpoint Event interface with Debugger. 38 | 39 | --*/ 40 | 41 | #ifndef _SW_BPE_LIB_H_ 42 | #define _SW_BPE_LIB_H_ 43 | 44 | VOID 45 | EFIAPI 46 | BpeDsAllocation ( 47 | VOID 48 | ) 49 | /*++ 50 | 51 | Routine Description: 52 | 53 | Allocate NEM buffer for Data Store function and set callback for DRAM allocation in PEI phase 54 | 55 | Arguments: 56 | 57 | None 58 | 59 | Returns: 60 | 61 | None 62 | 63 | --*/ 64 | ; 65 | 66 | #endif // _SW_BPE_LIB_H_ 67 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Include/Pcal9555.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 2013 Intel Corporation. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | 32 | Module Name: 33 | 34 | Pcal9555.h 35 | 36 | Abstract: 37 | 38 | Definition for Pcal9555 I2c IO Expander. 39 | 40 | --*/ 41 | 42 | #ifndef __PCAL9555_H__ 43 | #define __PCAL9555_H__ 44 | 45 | #define PCAL9555_REG_OUT_PORT0 0x02 46 | #define PCAL9555_REG_OUT_PORT1 0x03 47 | #define PCAL9555_REG_CFG_PORT0 0x06 48 | #define PCAL9555_REG_CFG_PORT1 0x07 49 | 50 | #define PCAL9555_REG_PULL_EN_PORT0 0x46 51 | #define PCAL9555_REG_PULL_EN_PORT1 0x47 52 | 53 | #endif 54 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Include/Ppi/SStateBootMode.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 2013 Intel Corporation. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | 32 | Module Name: 33 | 34 | SStateBootMode.h 35 | 36 | Abstract: 37 | 38 | S-State Boot Mode PPI as defined in PEI CIS 39 | 40 | --*/ 41 | 42 | #ifndef _S_STATE_BOOT_MODE_H 43 | #define _S_STATE_BOOT_MODE_H 44 | 45 | #define PEI_S_STATE_BOOT_MODE_PEIM_PPI \ 46 | { \ 47 | 0x9c44db3d, 0xf434, 0x4b91, {0x8e, 0xb3, 0x30, 0x38, 0xb1, 0x84, 0xab, 0xfc } \ 48 | } 49 | 50 | typedef struct _PEI_S_STATE_BOOT_MODE_PPI PEI_S_STATE_BOOT_MODE_PPI; 51 | 52 | extern EFI_GUID gPeiSStateBootModePpiGuid; 53 | 54 | #endif 55 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Include/Protocol/IioUds.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 2013 Intel Corporation. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | 32 | Module Name: 33 | 34 | IohUds.h 35 | 36 | Abstract: 37 | 38 | This protocol provides access to the Ioh Universal Data Structure 39 | 40 | This protocol is EFI compatible. 41 | 42 | 43 | --*/ 44 | 45 | #ifndef _IIO_UDS_H_ 46 | #define _IIO_UDS_H_ 47 | 48 | #include 49 | 50 | #define EFI_IIO_UDS_PROTOCOL_GUID \ 51 | { 0xa7ced760, 0xc71c, 0x4e1a, 0xac, 0xb1, 0x89, 0x60, 0x4d, 0x52, 0x16, 0xcb } 52 | 53 | typedef struct _EFI_IIO_UDS_PROTOCOL { 54 | IIO_UDS *IioUdsPtr; 55 | } EFI_IIO_UDS_PROTOCOL; 56 | 57 | // 58 | // Extern the GUID for protocol users. 59 | // 60 | extern EFI_GUID gEfiIioUdsProtocolGuid; 61 | 62 | #endif 63 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Include/Protocol/PlatformSmmSpiReady.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 2013 Intel Corporation. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | 32 | Module Name: 33 | 34 | PlatformSmmSpiReady.h 35 | 36 | Abstract: 37 | 38 | This protocol indicates that the platform SPI interface is ready for use. 39 | 40 | --*/ 41 | 42 | #ifndef _PLATFORM_SPI_READY_H_ 43 | #define _PLATFORM_SPI_READY_H_ 44 | 45 | // {7A5DBC75-5B2B-4e67-BDE1-D48EEE761562} 46 | #define EFI_SMM_SPI_READY_PROTOCOL_GUID \ 47 | { 0x7a5dbc75, 0x5b2b, 0x4e67, 0xbd, 0xe1, 0xd4, 0x8e, 0xee, 0x76, 0x15, 0x62 } 48 | 49 | // 50 | // Extern the GUID for protocol users. 51 | // 52 | extern EFI_GUID gEfiSmmSpiReadyProtocolGuid; 53 | 54 | #endif 55 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Include/QuarkPlatformDxe.h: -------------------------------------------------------------------------------- 1 | /**@file 2 | The common DXE header file for QuarkPlatformPkg. 3 | 4 | Copyright (c) 2013 Intel Corporation. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions 8 | are met: 9 | 10 | * Redistributions of source code must retain the above copyright 11 | notice, this list of conditions and the following disclaimer. 12 | * Redistributions in binary form must reproduce the above copyright 13 | notice, this list of conditions and the following disclaimer in 14 | the documentation and/or other materials provided with the 15 | distribution. 16 | * Neither the name of Intel Corporation nor the names of its 17 | contributors may be used to endorse or promote products derived 18 | from this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | **/ 33 | 34 | #ifndef __QUARK_PLATFORM_DXE_H__ 35 | #define __QUARK_PLATFORM_DXE_H__ 36 | 37 | #define EFI_EVENT_NOTIFY_SIGNAL_ALL 0x00000400 38 | 39 | #define EFI_EVENT_SIGNAL_READY_TO_BOOT 0x00000203 40 | #define EFI_EVENT_SIGNAL_LEGACY_BOOT 0x00000204 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Include/QuarkPlatformPeim.h: -------------------------------------------------------------------------------- 1 | /**@file 2 | The common PEIM header file for QuarkNcSocId package 3 | 4 | Copyright (c) 2013 Intel Corporation. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions 8 | are met: 9 | 10 | * Redistributions of source code must retain the above copyright 11 | notice, this list of conditions and the following disclaimer. 12 | * Redistributions in binary form must reproduce the above copyright 13 | notice, this list of conditions and the following disclaimer in 14 | the documentation and/or other materials provided with the 15 | distribution. 16 | * Neither the name of Intel Corporation nor the names of its 17 | contributors may be used to endorse or promote products derived 18 | from this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | **/ 33 | #ifndef __QUARK_PLATFORM_PEIM_H__ 34 | #define __QUARK_PLATFORM_PEIM_H__ 35 | 36 | //#include 37 | #include 38 | #include 39 | 40 | #endif 41 | 42 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Library/PlatformBootManagerLib/Strings.uni: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkPlatformPkg/Library/PlatformBootManagerLib/Strings.uni -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Library/QuarkSecLib/Ia32/Ia32.inc: -------------------------------------------------------------------------------- 1 | ;------------------------------------------------------------------------------ 2 | ; 3 | ; Copyright (c) 2013 Intel Corporation. 4 | ; 5 | ; Redistribution and use in source and binary forms, with or without 6 | ; modification, are permitted provided that the following conditions 7 | ; are met: 8 | ; 9 | ; * Redistributions of source code must retain the above copyright 10 | ; notice, this list of conditions and the following disclaimer. 11 | ; * Redistributions in binary form must reproduce the above copyright 12 | ; notice, this list of conditions and the following disclaimer in 13 | ; the documentation and/or other materials provided with the 14 | ; distribution. 15 | ; * Neither the name of Intel Corporation nor the names of its 16 | ; contributors may be used to endorse or promote products derived 17 | ; from this software without specific prior written permission. 18 | ; 19 | ; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | ; "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | ; LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | ; A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | ; OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | ; SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | ; LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | ; DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | ; THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | ; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | ; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | ; 31 | ; Module Name: 32 | ; 33 | ; Ia32.inc 34 | ; 35 | ; Abstract: 36 | ; 37 | ; IA32 architecture MSRs 38 | ; 39 | ;------------------------------------------------------------------------------ 40 | 41 | ; 42 | ; CR0 cache control bit definition 43 | ; 44 | CR0_CACHE_DISABLE EQU 040000000h 45 | CR0_NO_WRITE EQU 020000000h 46 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Library/QuarkSecLib/QuarkSecLib.h: -------------------------------------------------------------------------------- 1 | /** @file 2 | Null instance of Sec Platform Hook Lib. 3 | 4 | Copyright (c) 2013 Intel Corporation. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions 8 | are met: 9 | 10 | * Redistributions of source code must retain the above copyright 11 | notice, this list of conditions and the following disclaimer. 12 | * Redistributions in binary form must reproduce the above copyright 13 | notice, this list of conditions and the following disclaimer in 14 | the documentation and/or other materials provided with the 15 | distribution. 16 | * Neither the name of Intel Corporation nor the names of its 17 | contributors may be used to endorse or promote products derived 18 | from this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | 33 | **/ 34 | 35 | #ifndef _QUARK_SEC_LIB_H_ 36 | #define _QUARK_SEC_LIB_H_ 37 | 38 | #include 39 | 40 | #include 41 | #include 42 | #include 43 | #include 44 | #include 45 | #include 46 | 47 | VOID * 48 | EFIAPI 49 | SecCpuInitTimer ( 50 | VOID 51 | ); 52 | 53 | #endif 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Library/RecoveryOemHookLib/CommonHeader.h: -------------------------------------------------------------------------------- 1 | /**@file 2 | Common header file shared by all source files. 3 | 4 | This file includes package header files, library classes and protocol, PPI & GUID definitions. 5 | 6 | Copyright (c) 2013 Intel Corporation. 7 | 8 | Redistribution and use in source and binary forms, with or without 9 | modification, are permitted provided that the following conditions 10 | are met: 11 | 12 | * Redistributions of source code must retain the above copyright 13 | notice, this list of conditions and the following disclaimer. 14 | * Redistributions in binary form must reproduce the above copyright 15 | notice, this list of conditions and the following disclaimer in 16 | the documentation and/or other materials provided with the 17 | distribution. 18 | * Neither the name of Intel Corporation nor the names of its 19 | contributors may be used to endorse or promote products derived 20 | from this software without specific prior written permission. 21 | 22 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 23 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 24 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 25 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 26 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 27 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 28 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 29 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 30 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 32 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 | **/ 34 | 35 | #ifndef __COMMON_HEADER_H_ 36 | #define __COMMON_HEADER_H_ 37 | 38 | 39 | 40 | #include 41 | 42 | #include 43 | 44 | #include 45 | #include 46 | #include 47 | 48 | #endif 49 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Library/SmmScriptLib/SmmScriptLib.inf: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2013 Intel Corporation. 2 | # 3 | # Redistribution and use in source and binary forms, with or without 4 | # modification, are permitted provided that the following conditions 5 | # are met: 6 | # 7 | # * Redistributions of source code must retain the above copyright 8 | # notice, this list of conditions and the following disclaimer. 9 | # * Redistributions in binary form must reproduce the above copyright 10 | # notice, this list of conditions and the following disclaimer in 11 | # the documentation and/or other materials provided with the 12 | # distribution. 13 | # * Neither the name of Intel Corporation nor the names of its 14 | # contributors may be used to endorse or promote products derived 15 | # from this software without specific prior written permission. 16 | # 17 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | # 29 | ## 30 | 31 | [Defines] 32 | INF_VERSION = 0x00010005 33 | BASE_NAME = SmmScriptLib 34 | FILE_GUID = F5AC7057-5650-466e-B692-76A47223EFB0 35 | MODULE_TYPE = BASE 36 | VERSION_STRING = 1.0 37 | PI_SPECIFICATION_VERSION = 0x0001000A 38 | LIBRARY_CLASS = InitializeSmmScriptLib 39 | 40 | [Sources] 41 | SmmScriptLib.c 42 | 43 | [Packages] 44 | MdePkg/MdePkg.dec 45 | MdeModulePkg/MdeModulePkg.dec 46 | IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec 47 | 48 | [Guids] 49 | gEfiAcpiVariableGuid 50 | 51 | 52 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Library/SwBpeLib/CommonHeader.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 2013 Intel Corporation. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | Module Name: 32 | 33 | CommonHeader.h 34 | 35 | Abstract: 36 | 37 | This file provides required header files to build the Software 38 | Breakpoint Event library. 39 | 40 | --*/ 41 | 42 | #ifndef _COMMON_HEADER_H_ 43 | #define _COMMON_HEADER_H_ 44 | 45 | #include 46 | #include 47 | #include 48 | #include 49 | #include "SwBpe.h" 50 | #include "DsConfig.h" 51 | 52 | #endif -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/MemorySubClass/MemorySubClassStrings.uni: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/MemorySubClass/MemorySubClassStrings.uni -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/Setup/Strings.uni: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/Setup/Strings.uni -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/MiscBaseBoardManufacturer.uni: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/MiscBaseBoardManufacturer.uni -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/MiscBiosVendor.uni: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/MiscBiosVendor.uni -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/MiscBootInformationData.c: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 2013 Intel Corporation. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | 32 | Module Name: 33 | 34 | MiscBootInformationData.c 35 | 36 | Abstract: 37 | 38 | This driver parses the mMiscSubclassDataTable structure and reports 39 | any generated data to the DataHub. 40 | 41 | --*/ 42 | 43 | 44 | #include "CommonHeader.h" 45 | 46 | #include "SmbiosMisc.h" 47 | 48 | 49 | // 50 | // Static (possibly build generated) Bios Vendor data. SMBIOS TYPE 32 51 | // 52 | MISC_SMBIOS_TABLE_DATA(EFI_MISC_BOOT_INFORMATION_STATUS, MiscBootInfoStatus) = { 53 | EfiBootInformationStatusNoError, // BootInformationStatus 54 | 0 // BootInformationData 55 | }; 56 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/MiscChassisManufacturer.uni: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/MiscChassisManufacturer.uni -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/MiscOemString.uni: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/MiscOemString.uni -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/MiscOemStringData.c: -------------------------------------------------------------------------------- 1 | /** @file 2 | This driver parses the mMiscSubclassDataTable structure and reports 3 | any generated data to smbios. 4 | 5 | Copyright (c) 2013 Intel Corporation. 6 | 7 | Redistribution and use in source and binary forms, with or without 8 | modification, are permitted provided that the following conditions 9 | are met: 10 | 11 | * Redistributions of source code must retain the above copyright 12 | notice, this list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright 14 | notice, this list of conditions and the following disclaimer in 15 | the documentation and/or other materials provided with the 16 | distribution. 17 | * Neither the name of Intel Corporation nor the names of its 18 | contributors may be used to endorse or promote products derived 19 | from this software without specific prior written permission. 20 | 21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | 33 | **/ 34 | 35 | 36 | #include "CommonHeader.h" 37 | 38 | #include "SmbiosMisc.h" 39 | 40 | // 41 | // Static (possibly build generated) OEM String data. 42 | // 43 | MISC_SMBIOS_TABLE_DATA(EFI_MISC_OEM_STRING, MiscOemString) 44 | = { STRING_TOKEN(STR_MISC_OEM_EN_US) }; 45 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/MiscOnboardDevice.uni: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/MiscOnboardDevice.uni -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/MiscPortInternalConnectorDesignator.uni: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/MiscPortInternalConnectorDesignator.uni -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/MiscSystemManufacturer.uni: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/MiscSystemManufacturer.uni -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/MiscSystemOptionString.uni: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/MiscSystemOptionString.uni -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/MiscSystemOptionStringData.c: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 2013 Intel Corporation. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | 32 | Module Name: 33 | 34 | MiscSystemOptionStringData.c 35 | 36 | Abstract: 37 | 38 | This driver parses the mSmbiosMiscDataTable structure and reports 39 | any generated data to smbios. 40 | 41 | --*/ 42 | 43 | 44 | #include "CommonHeader.h" 45 | 46 | #include "SmbiosMisc.h" 47 | 48 | 49 | // 50 | // Static (possibly build generated) Bios Vendor data. 51 | // 52 | MISC_SMBIOS_TABLE_DATA(EFI_MISC_SYSTEM_OPTION_STRING, SystemOptionString) = { 53 | STRING_TOKEN (STR_MISC_SYSTEM_OPTION_STRING) 54 | }; 55 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/MiscSystemSlotDesignation.uni: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/MiscSystemSlotDesignation.uni -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/MiscSystemSlotOnboardDevices.uni: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/MiscSystemSlotOnboardDevices.uni -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/SmbiosMiscStrings.uni: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/SmbiosMiscStrings.uni -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Platform/DxeSmm/SMIFlashDxe/AccessViolationHandler.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 2013 Intel Corporation. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | Module Name: 32 | 33 | AccessViolationHandler.h 34 | 35 | Abstract: 36 | 37 | --*/ 38 | 39 | #ifndef _ACCESS_VIOLATION_HANDLER_H_ 40 | 41 | 42 | #define SPI_ACCESS_VIOLATION_COUNT_VAR_NAME L"PlatformFlashAccessViolationCount" 43 | #define SPI_ACCESS_VIOLATION_COUNT_VAR_ATTR (EFI_VARIABLE_RUNTIME_ACCESS | \ 44 | EFI_VARIABLE_BOOTSERVICE_ACCESS | \ 45 | EFI_VARIABLE_NON_VOLATILE \ 46 | ) 47 | 48 | EFI_STATUS 49 | EFIAPI 50 | AccessViolationHandlerInit ( 51 | VOID 52 | ); 53 | 54 | #endif 55 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/QuarkPlatformPkgConfig.dsc: -------------------------------------------------------------------------------- 1 | #/** @file 2 | # platform configuration file. 3 | # 4 | # Copyright (c) 2013 Intel Corporation. 5 | # 6 | # Redistribution and use in source and binary forms, with or without 7 | # modification, are permitted provided that the following conditions 8 | # are met: 9 | # 10 | # * Redistributions of source code must retain the above copyright 11 | # notice, this list of conditions and the following disclaimer. 12 | # * Redistributions in binary form must reproduce the above copyright 13 | # notice, this list of conditions and the following disclaimer in 14 | # the documentation and/or other materials provided with the 15 | # distribution. 16 | # * Neither the name of Intel Corporation nor the names of its 17 | # contributors may be used to endorse or promote products derived 18 | # from this software without specific prior written permission. 19 | # 20 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | # 32 | #**/ 33 | 34 | # 35 | # TRUE is ENABLE. FALSE is DISABLE. 36 | # 37 | DEFINE PERFORMANCE_ENABLE = FALSE 38 | DEFINE CFG_SOURCE_DEBUG = FALSE 39 | 40 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Tools/CapsuleCreate/CapsuleCreate.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkPlatformPkg/Tools/CapsuleCreate/CapsuleCreate.exe -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Tools/CapsuleCreate/GNUmakefile: -------------------------------------------------------------------------------- 1 | ## @file 2 | # Makefile for 'CapsuleCreate' module build. 3 | # 4 | # Copyright (c) 2013 Intel Corporation. 5 | # 6 | # Redistribution and use in source and binary forms, with or without 7 | # modification, are permitted provided that the following conditions 8 | # are met: 9 | # 10 | # * Redistributions of source code must retain the above copyright 11 | # notice, this list of conditions and the following disclaimer. 12 | # * Redistributions in binary form must reproduce the above copyright 13 | # notice, this list of conditions and the following disclaimer in 14 | # the documentation and/or other materials provided with the 15 | # distribution. 16 | # * Neither the name of Intel Corporation nor the names of its 17 | # contributors may be used to endorse or promote products derived 18 | # from this software without specific prior written permission. 19 | # 20 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | ARCH = IA32 32 | MAKEROOT = ../../../BaseTools/Source/C 33 | LIBS = -lCommon 34 | 35 | include $(MAKEROOT)/Makefiles/header.makefile 36 | 37 | APPNAME = CapsuleCreate 38 | 39 | OBJECTS = CapsuleCreate.o 40 | 41 | 42 | APPLICATION = $(APPNAME) 43 | 44 | .PHONY:all 45 | all: $(APPLICATION) 46 | 47 | $(APPLICATION): $(OBJECTS) 48 | $(LINKER) -o $(APPLICATION) $(LFLAGS) $(OBJECTS) -L$(MAKEROOT)/libs $(LIBS) 49 | 50 | $(OBJECTS): $(MAKEROOT)/Include/Common/BuildVersion.h 51 | 52 | #include $(MAKEROOT)/Makefiles/footer.makefile 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Tools/CapsuleCreate/Makefile: -------------------------------------------------------------------------------- 1 | ## @file 2 | # Windows makefile for 'CapsuleCreate' module build. 3 | # 4 | # Copyright (c) 2013 Intel Corporation. 5 | # 6 | # Redistribution and use in source and binary forms, with or without 7 | # modification, are permitted provided that the following conditions 8 | # are met: 9 | # 10 | # * Redistributions of source code must retain the above copyright 11 | # notice, this list of conditions and the following disclaimer. 12 | # * Redistributions in binary form must reproduce the above copyright 13 | # notice, this list of conditions and the following disclaimer in 14 | # the documentation and/or other materials provided with the 15 | # distribution. 16 | # * Neither the name of Intel Corporation nor the names of its 17 | # contributors may be used to endorse or promote products derived 18 | # from this software without specific prior written permission. 19 | # 20 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | # 32 | # 33 | ## 34 | !INCLUDE ..\Makefiles\ms.common 35 | 36 | APPNAME = CapsuleCreate 37 | 38 | LIBS = $(LIB_PATH)\Common.lib 39 | 40 | OBJECTS = CapsuleCreate.obj 41 | 42 | !INCLUDE ..\Makefiles\ms.app 43 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Tools/SignTool/DummySignTool.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkPlatformPkg/Tools/SignTool/DummySignTool.exe -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Tools/SignTool/GNUmakefile: -------------------------------------------------------------------------------- 1 | ## @file 2 | # Makefile for for 'DummySignTool' module build. 3 | # 4 | # Copyright (c) 2013 Intel Corporation. 5 | # 6 | # Redistribution and use in source and binary forms, with or without 7 | # modification, are permitted provided that the following conditions 8 | # are met: 9 | # 10 | # * Redistributions of source code must retain the above copyright 11 | # notice, this list of conditions and the following disclaimer. 12 | # * Redistributions in binary form must reproduce the above copyright 13 | # notice, this list of conditions and the following disclaimer in 14 | # the documentation and/or other materials provided with the 15 | # distribution. 16 | # * Neither the name of Intel Corporation nor the names of its 17 | # contributors may be used to endorse or promote products derived 18 | # from this software without specific prior written permission. 19 | # 20 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | ARCH = IA32 32 | MAKEROOT = ../../../BaseTools/Source/C 33 | LIBS = -lCommon 34 | 35 | include $(MAKEROOT)/Makefiles/header.makefile 36 | 37 | APPNAME = DummySignTool 38 | 39 | OBJECTS = DummySignTool.o 40 | 41 | 42 | APPLICATION = $(APPNAME) 43 | 44 | .PHONY:all 45 | all: $(APPLICATION) 46 | 47 | $(APPLICATION): $(OBJECTS) 48 | $(LINKER) -o $(APPLICATION) $(LFLAGS) $(OBJECTS) -L$(MAKEROOT)/libs $(LIBS) 49 | 50 | $(OBJECTS): $(MAKEROOT)/Include/Common/BuildVersion.h 51 | 52 | #include $(MAKEROOT)/Makefiles/footer.makefile 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkPlatformPkg/Tools/SignTool/Makefile: -------------------------------------------------------------------------------- 1 | ## @file 2 | # Windows makefile for 'DummySignTool' module build. 3 | # 4 | # Copyright (c) 2013 Intel Corporation. 5 | # 6 | # Redistribution and use in source and binary forms, with or without 7 | # modification, are permitted provided that the following conditions 8 | # are met: 9 | # 10 | # * Redistributions of source code must retain the above copyright 11 | # notice, this list of conditions and the following disclaimer. 12 | # * Redistributions in binary form must reproduce the above copyright 13 | # notice, this list of conditions and the following disclaimer in 14 | # the documentation and/or other materials provided with the 15 | # distribution. 16 | # * Neither the name of Intel Corporation nor the names of its 17 | # contributors may be used to endorse or promote products derived 18 | # from this software without specific prior written permission. 19 | # 20 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | # 32 | # 33 | ## 34 | !INCLUDE ..\Makefiles\ms.common 35 | 36 | APPNAME = DummySignTool 37 | 38 | LIBS = $(LIB_PATH)\Common.lib 39 | 40 | OBJECTS = DummySignTool.obj 41 | 42 | !INCLUDE ..\Makefiles\ms.app 43 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkSocPkg/Override/MdePkg/Library/BaseRecoveryOemHookLibNull/BaseRecoveryOemHookLibNull.c: -------------------------------------------------------------------------------- 1 | /** @file 2 | This file includes the function that can be customized by OEM. 3 | 4 | Copyright (c) 2013 Intel Corporation. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions 8 | are met: 9 | 10 | * Redistributions of source code must retain the above copyright 11 | notice, this list of conditions and the following disclaimer. 12 | * Redistributions in binary form must reproduce the above copyright 13 | notice, this list of conditions and the following disclaimer in 14 | the documentation and/or other materials provided with the 15 | distribution. 16 | * Neither the name of Intel Corporation nor the names of its 17 | contributors may be used to endorse or promote products derived 18 | from this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | **/ 33 | 34 | /** 35 | This function allows the user to force a system recovery 36 | 37 | **/ 38 | VOID 39 | EFIAPI 40 | OemInitiateRecovery ( 41 | VOID 42 | ); 43 | 44 | /** 45 | This function allows the user to force a system recovery 46 | 47 | **/ 48 | VOID 49 | EFIAPI 50 | OemInitiateRecovery ( 51 | VOID 52 | ) 53 | { 54 | 55 | } 56 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkSocPkg/QuarkNorthCluster/Binary/Quark2Microcode/IntelProprietaryLicense.txt: -------------------------------------------------------------------------------- 1 | Intel Proprietary License 2 | 3 | Copyright (c) 2013, Intel Corporation. All rights reserved. Redistribution. Redistribution and use in binary form, without modification, are permitted provided that the following conditions are met: 4 | 5 | * Redistributions must reproduce the above copyright notice and the following disclaimer in the documentation and/or other materials provided with the distribution. 6 | * Neither the name of Intel Corporation nor the names of its suppliers may be used to endorse or promote products derived from this software without specific prior written permission. 7 | * No reverse engineering, decompilation, or disassembly of this software is permitted. 8 | 9 | Limited patent license. 10 | Intel Corporation grants a world-wide, royalty-free, non-exclusive license under patents it now or hereafter owns or controls to make, have made, use, import, offer to sell and sell ("Utilize") this software, but solely to the extent that any such patent is necessary to Utilize the software alone, or in combination with an operating system licensed under an approved Open Source license as listed by the Open Source Initiative at http://opensource.org/licenses. The patent license shall not apply to any other combinations which include this software. No hardware per se is licensed hereunder. 11 | 12 | 13 | DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 14 | 15 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkSocPkg/QuarkNorthCluster/Binary/Quark2Microcode/RMU.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkSocPkg/QuarkNorthCluster/Binary/Quark2Microcode/RMU.bin -------------------------------------------------------------------------------- /Quark_EDKII/QuarkSocPkg/QuarkNorthCluster/Binary/QuarkMicrocode/.gitignore: -------------------------------------------------------------------------------- 1 | RMU.bin 2 | 3 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkSocPkg/QuarkNorthCluster/Binary/QuarkMicrocode/IntelProprietaryLicense.txt: -------------------------------------------------------------------------------- 1 | Intel Proprietary License 2 | 3 | Copyright (c) 2013, Intel Corporation. All rights reserved. Redistribution. Redistribution and use in binary form, without modification, are permitted provided that the following conditions are met: 4 | 5 | * Redistributions must reproduce the above copyright notice and the following disclaimer in the documentation and/or other materials provided with the distribution. 6 | * Neither the name of Intel Corporation nor the names of its suppliers may be used to endorse or promote products derived from this software without specific prior written permission. 7 | * No reverse engineering, decompilation, or disassembly of this software is permitted. 8 | 9 | Limited patent license. 10 | Intel Corporation grants a world-wide, royalty-free, non-exclusive license under patents it now or hereafter owns or controls to make, have made, use, import, offer to sell and sell ("Utilize") this software, but solely to the extent that any such patent is necessary to Utilize the software alone, or in combination with an operating system licensed under an approved Open Source license as listed by the Open Source Initiative at http://opensource.org/licenses. The patent license shall not apply to any other combinations which include this software. No hardware per se is licensed hereunder. 11 | 12 | 13 | DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 14 | 15 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkSocPkg/QuarkNorthCluster/Binary/QuarkMicrocode/RMU.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/Quark_EDKII/QuarkSocPkg/QuarkNorthCluster/Binary/QuarkMicrocode/RMU.bin -------------------------------------------------------------------------------- /Quark_EDKII/QuarkSocPkg/QuarkNorthCluster/Include/Guid/RedirectServicesHob.h: -------------------------------------------------------------------------------- 1 | /** @file 2 | 3 | Copyright (c) 2013 Intel Corporation. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | Module Name: 32 | 33 | RedirectServicesHob.h 34 | 35 | Abstract: 36 | 37 | GUID used for the redirect services hob in the HOB list. 38 | 39 | --*/ 40 | 41 | #ifndef _REDIRECT_SERVICES_HOB_H_ 42 | #define _REDIRECT_SERVICES_HOB_H_ 43 | 44 | #define REDIRECT_SERVICES_HOB_GUID \ 45 | { 0x91f9a3af, 0x3df7, 0x4744, { 0x86, 0x13, 0x32, 0x79, 0x27, 0x7c, 0x35, 0x4a } } 46 | 47 | extern EFI_GUID gRedirectServicesHobGuid; 48 | 49 | #endif // _REDIRECT_SERVICES_HOB_H_ 50 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkSocPkg/QuarkNorthCluster/Include/IntelQNCBase.h: -------------------------------------------------------------------------------- 1 | /**@file 2 | Public include file for the QNC Base 3 | 4 | Copyright (c) 2013 Intel Corporation. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions 8 | are met: 9 | 10 | * Redistributions of source code must retain the above copyright 11 | notice, this list of conditions and the following disclaimer. 12 | * Redistributions in binary form must reproduce the above copyright 13 | notice, this list of conditions and the following disclaimer in 14 | the documentation and/or other materials provided with the 15 | distribution. 16 | * Neither the name of Intel Corporation nor the names of its 17 | contributors may be used to endorse or promote products derived 18 | from this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | **/ 33 | 34 | #ifndef __INTEL_QNC_BASE_H__ 35 | #define __INTEL_QNC_BASE_H__ 36 | 37 | #include 38 | #include 39 | 40 | #endif 41 | 42 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkSocPkg/QuarkNorthCluster/Include/IntelQNCDxe.h: -------------------------------------------------------------------------------- 1 | /**@file 2 | Public include file for the QNC Dxe 3 | 4 | Copyright (c) 2013 Intel Corporation. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions 8 | are met: 9 | 10 | * Redistributions of source code must retain the above copyright 11 | notice, this list of conditions and the following disclaimer. 12 | * Redistributions in binary form must reproduce the above copyright 13 | notice, this list of conditions and the following disclaimer in 14 | the documentation and/or other materials provided with the 15 | distribution. 16 | * Neither the name of Intel Corporation nor the names of its 17 | contributors may be used to endorse or promote products derived 18 | from this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | **/ 33 | 34 | #ifndef __INTEL_QNC_DXE_H__ 35 | #define __INTEL_QNC_DXE_H__ 36 | 37 | #include 38 | #include 39 | 40 | #endif 41 | 42 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkSocPkg/QuarkNorthCluster/Include/IntelQNCPeim.h: -------------------------------------------------------------------------------- 1 | /**@file 2 | Public include file for the QNC Pei 3 | 4 | Copyright (c) 2013 Intel Corporation. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions 8 | are met: 9 | 10 | * Redistributions of source code must retain the above copyright 11 | notice, this list of conditions and the following disclaimer. 12 | * Redistributions in binary form must reproduce the above copyright 13 | notice, this list of conditions and the following disclaimer in 14 | the documentation and/or other materials provided with the 15 | distribution. 16 | * Neither the name of Intel Corporation nor the names of its 17 | contributors may be used to endorse or promote products derived 18 | from this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | **/ 33 | 34 | #ifndef __INTEL_QNC_PEIM_H__ 35 | #define __INTEL_QNC_PEIM_H__ 36 | 37 | #include 38 | #include 39 | 40 | #endif 41 | 42 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkSocPkg/QuarkNorthCluster/Library/QNCAccessLib/BaseAccess.c: -------------------------------------------------------------------------------- 1 | /** @file 2 | Base Lib function for QNC internal network access. 3 | 4 | Copyright (c) 2013 Intel Corporation. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions 8 | are met: 9 | 10 | * Redistributions of source code must retain the above copyright 11 | notice, this list of conditions and the following disclaimer. 12 | * Redistributions in binary form must reproduce the above copyright 13 | notice, this list of conditions and the following disclaimer in 14 | the documentation and/or other materials provided with the 15 | distribution. 16 | * Neither the name of Intel Corporation nor the names of its 17 | contributors may be used to endorse or promote products derived 18 | from this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | **/ 33 | 34 | // 35 | // The package level header files this module uses 36 | // 37 | #include 38 | 39 | /** 40 | Gets the base address of PCI Express for Quark North Cluster. 41 | 42 | @return The base address of PCI Express for Quark North Cluster. 43 | 44 | **/ 45 | UINTN 46 | EFIAPI 47 | QncGetPciExpressBaseAddress ( 48 | VOID 49 | ) 50 | { 51 | return (UINTN) PcdGet64(PcdPciExpressBaseAddress); 52 | } 53 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkSocPkg/QuarkNorthCluster/Library/SmbusLib/CommonHeader.h: -------------------------------------------------------------------------------- 1 | /**@file 2 | Common header file shared by all source files. 3 | 4 | This file includes package header files, library classes and protocol, PPI & GUID definitions. 5 | 6 | Copyright (c) 2013 Intel Corporation. 7 | 8 | Redistribution and use in source and binary forms, with or without 9 | modification, are permitted provided that the following conditions 10 | are met: 11 | 12 | * Redistributions of source code must retain the above copyright 13 | notice, this list of conditions and the following disclaimer. 14 | * Redistributions in binary form must reproduce the above copyright 15 | notice, this list of conditions and the following disclaimer in 16 | the documentation and/or other materials provided with the 17 | distribution. 18 | * Neither the name of Intel Corporation nor the names of its 19 | contributors may be used to endorse or promote products derived 20 | from this software without specific prior written permission. 21 | 22 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 23 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 24 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 25 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 26 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 27 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 28 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 29 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 30 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 32 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 | **/ 34 | 35 | #ifndef __COMMON_HEADER_H_ 36 | #define __COMMON_HEADER_H_ 37 | 38 | 39 | #include 40 | #include 41 | 42 | #include 43 | #include 44 | #include 45 | #include 46 | #include 47 | #include 48 | 49 | #endif 50 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/meminit.h: -------------------------------------------------------------------------------- 1 | /************************************************************************ 2 | * 3 | * Copyright (c) 2013 Intel Corporation. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in 13 | * the documentation and/or other materials provided with the 14 | * distribution. 15 | * * Neither the name of Intel Corporation nor the names of its 16 | * contributors may be used to endorse or promote products derived 17 | * from this software without specific prior written permission. 18 | * 19 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | * 31 | ************************************************************************/ 32 | #ifndef _MEMINIT_H_ 33 | #define _MEMINIT_H_ 34 | 35 | // function prototypes 36 | void MemInit(MRCParams_t *mrc_params); 37 | 38 | typedef void (*MemInitFn_t)(MRCParams_t *mrc_params); 39 | 40 | typedef struct MemInit_s { 41 | uint16_t post_code; 42 | uint16_t boot_path; 43 | MemInitFn_t init_fn; 44 | } MemInit_t; 45 | 46 | #endif // _MEMINIT_H_ 47 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/prememinit.h: -------------------------------------------------------------------------------- 1 | /************************************************************************ 2 | * 3 | * Copyright (c) 2013 Intel Corporation. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 9 | * * Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * * Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in 13 | * the documentation and/or other materials provided with the 14 | * distribution. 15 | * * Neither the name of Intel Corporation nor the names of its 16 | * contributors may be used to endorse or promote products derived 17 | * from this software without specific prior written permission. 18 | * 19 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | * 31 | ************************************************************************/ 32 | #ifndef __PREMEMINIT_H_ 33 | #define __PREMEMINIT_H_ 34 | 35 | // Function prototypes 36 | void PreMemInit(MRCParams_t *mrc_params); 37 | 38 | 39 | #endif // _PREMEMINIT_H_ 40 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkSocPkg/QuarkNorthCluster/QNCInit/Dxe/LegacyInterrupt.h: -------------------------------------------------------------------------------- 1 | /** @file 2 | Legacy Interrupt Component. 3 | 4 | This component implements the Legacy Interrupt Protocol defined in the Framework CSM Spec. 5 | 6 | Copyright (c) 2013 Intel Corporation. 7 | 8 | Redistribution and use in source and binary forms, with or without 9 | modification, are permitted provided that the following conditions 10 | are met: 11 | 12 | * Redistributions of source code must retain the above copyright 13 | notice, this list of conditions and the following disclaimer. 14 | * Redistributions in binary form must reproduce the above copyright 15 | notice, this list of conditions and the following disclaimer in 16 | the documentation and/or other materials provided with the 17 | distribution. 18 | * Neither the name of Intel Corporation nor the names of its 19 | contributors may be used to endorse or promote products derived 20 | from this software without specific prior written permission. 21 | 22 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 23 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 24 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 25 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 26 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 27 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 28 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 29 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 30 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 32 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 | 34 | 35 | **/ 36 | 37 | #ifndef _LEGACY_INTERRUPT_H_ 38 | #define _LEGACY_INTERRUPT_H_ 39 | 40 | #include 41 | 42 | #define QNC_NUMBER_PIRQS 8 43 | 44 | #define PCI_QNC_LPC_ADDRESS(Register) \ 45 | ((UINTN)(PCI_LIB_ADDRESS (PCI_BUS_NUMBER_QNC, PCI_DEVICE_NUMBER_QNC_LPC, PCI_FUNCTION_NUMBER_QNC_LPC, Register))) 46 | 47 | 48 | // 49 | // Prototypes 50 | // Driver model protocol interface 51 | // 52 | 53 | EFI_STATUS 54 | LegacyInterruptInstall ( 55 | VOID 56 | ); 57 | 58 | #endif 59 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkSocPkg/QuarkNorthCluster/Smm/DxeSmm/QncSmmDispatcher/QNCSmmRegisters.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 2013 Intel Corporation. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | Module Name: 32 | 33 | QNCSmmRegisters.h 34 | 35 | Abstract: 36 | 37 | --*/ 38 | 39 | #ifndef QNC_SMM_REGISTERS_H 40 | #define QNC_SMM_REGISTERS_H 41 | #include "CommonHeader.h" 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkSocPkg/QuarkSouthCluster/Include/IohAccess.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 2013 Intel Corporation. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | 32 | Module Name: 33 | 34 | IohAccess.h 35 | 36 | Abstract: 37 | 38 | Macros to simplify and abstract the interface to PCI configuration. 39 | 40 | --*/ 41 | 42 | #ifndef _IOH_ACCESS_H_ 43 | #define _IOH_ACCESS_H_ 44 | 45 | #include "Ioh.h" 46 | #include "IohCommonDefinitions.h" 47 | 48 | #endif 49 | 50 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkSocPkg/QuarkSouthCluster/Include/Library/IohLib.h: -------------------------------------------------------------------------------- 1 | /** @file 2 | Library that provides Soc specific library services for SouthCluster devices. 3 | 4 | Copyright (c) 2013 Intel Corporation. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions 8 | are met: 9 | 10 | * Redistributions of source code must retain the above copyright 11 | notice, this list of conditions and the following disclaimer. 12 | * Redistributions in binary form must reproduce the above copyright 13 | notice, this list of conditions and the following disclaimer in 14 | the documentation and/or other materials provided with the 15 | distribution. 16 | * Neither the name of Intel Corporation nor the names of its 17 | contributors may be used to endorse or promote products derived 18 | from this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | **/ 33 | 34 | #ifndef __IOH_LIB_H__ 35 | #define __IOH_LIB_H__ 36 | 37 | #define PCI_IOSF2AHB_0_DEV_NUM 20 38 | #define PCI_IOSF2AHB_1_DEV_NUM 21 39 | 40 | VOID 41 | EFIAPI 42 | EnableUsbMemIoBusMaster ( 43 | IN UINT8 UsbBusNumber 44 | ); 45 | 46 | UINT32 47 | EFIAPI 48 | ReadIohGpioValues ( 49 | VOID 50 | ); 51 | 52 | #endif 53 | 54 | -------------------------------------------------------------------------------- /Quark_EDKII/QuarkSocPkg/QuarkSouthCluster/IohInit/Dxe/IohInit.h: -------------------------------------------------------------------------------- 1 | /** @file 2 | Some configuration of IOH Package 3 | 4 | Copyright (c) 2013 Intel Corporation. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions 8 | are met: 9 | 10 | * Redistributions of source code must retain the above copyright 11 | notice, this list of conditions and the following disclaimer. 12 | * Redistributions in binary form must reproduce the above copyright 13 | notice, this list of conditions and the following disclaimer in 14 | the documentation and/or other materials provided with the 15 | distribution. 16 | * Neither the name of Intel Corporation nor the names of its 17 | contributors may be used to endorse or promote products derived 18 | from this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | **/ 33 | 34 | #ifndef __IOH_INIT_H__ 35 | #define __IOH_INIT_H__ 36 | 37 | #define IOH_BUS 0 38 | #define IOH_DEV 0 39 | #define IOH_FUN 0 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /Quark_EDKII/buildallconfigs.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # This script is used to build all sets of config options 3 | 4 | set -e 5 | 6 | die() 7 | { 8 | >&2 printf "$@" 9 | exit 1 10 | } 11 | 12 | 13 | if [ $# -eq 0 ]; then 14 | die "%s [GCC4x] [Platform name]\n" "$0" 15 | exit 1 16 | fi 17 | 18 | 19 | # This is required when building with -DTPM_SUPPORT (or for EFI secure 20 | # boot). Save users vain build time and a more cryptic (!) error 21 | # message 22 | ossl_dir=CryptoPkg/Library/OpensslLib/openssl-0.9.8w 23 | 24 | test -d "${ossl_dir}" || 25 | die 'Missing OpenSSL dir %s 26 | Please follow instructions in CryptoPkg/Library/OpensslLib/Patch-HOWTO.txt\n' "${ossl_dir}" 27 | 28 | 29 | # Arrays require bash 30 | FLAVOUR=([0]='PLAIN' [1]='SECURE') 31 | ARG=( [0]='' [1]='-DSECURE_LD -DTPM_SUPPORT') 32 | 33 | 34 | set -x 35 | for num in 0 1; do 36 | ./quarkbuild.sh -d32 "$@" ${ARG[$num]} 37 | ./quarkbuild.sh -r32 "$@" ${ARG[$num]} 38 | ( 39 | set -e 40 | cd Build/*Platform/ 41 | mkdir ${FLAVOUR[$num]}/ 42 | ln -s RELEASE_GCC* RELEASE_GCC 43 | ln -s DEBUG_GCC* DEBUG_GCC 44 | mv RELEASE_GCC* DEBUG_GCC* ${FLAVOUR[$num]}/ 45 | ) 46 | done 47 | 48 | -------------------------------------------------------------------------------- /Quark_EDKII/svn_externals.txt: -------------------------------------------------------------------------------- 1 | BaseTools -r13937 http://svn.code.sf.net/p/edk2/code/branches/UDK2010.SR1/BaseTools 2 | MdePkg -r13937 http://svn.code.sf.net/p/edk2/code/branches/UDK2010.SR1/MdePkg 3 | MdeModulePkg -r13937 http://svn.code.sf.net/p/edk2/code/branches/UDK2010.SR1/MdeModulePkg 4 | IntelFrameworkPkg -r13937 http://svn.code.sf.net/p/edk2/code/branches/UDK2010.SR1/IntelFrameworkPkg 5 | IntelFrameworkModulePkg -r13937 http://svn.code.sf.net/p/edk2/code/branches/UDK2010.SR1/IntelFrameworkModulePkg 6 | EdkShellBinPkg -r13937 http://svn.code.sf.net/p/edk2/code/branches/UDK2010.SR1/EdkShellBinPkg 7 | PcAtChipsetPkg -r13937 http://svn.code.sf.net/p/edk2/code/branches/UDK2010.SR1/PcAtChipsetPkg 8 | UefiCpuPkg -r13937 http://svn.code.sf.net/p/edk2/code/branches/UDK2010.SR1/UefiCpuPkg 9 | ShellPkg -r13937 http://svn.code.sf.net/p/edk2/code/branches/UDK2010.SR1/ShellPkg 10 | SourceLevelDebugPkg -r13937 http://svn.code.sf.net/p/edk2/code/branches/UDK2010.SR1/SourceLevelDebugPkg 11 | CryptoPkg -r13937 http://svn.code.sf.net/p/edk2/code/branches/UDK2010.SR1/CryptoPkg 12 | SecurityPkg -r13937 http://svn.code.sf.net/p/edk2/code/branches/UDK2010.SR1/SecurityPkg 13 | FatPkg -r67 http://svn.code.sf.net/p/edk2-fatdriver2/code/trunk/FatPkg 14 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | DISCONTINUATION OF PROJECT. 2 | 3 | This project will no longer be maintained by Intel. 4 | 5 | Intel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project. 6 | 7 | Intel no longer accepts patches to this project. 8 | 9 | If you have an ongoing need to use this project, are interested in independently developing it, or would like to maintain patches for the open source software community, please create your own fork of this project. 10 | -------------------------------------------------------------------------------- /README.txt: -------------------------------------------------------------------------------- 1 | 1. Prepare a build machine (Part 2 of Build and Software User Guide) 2 | http://downloadmirror.intel.com/23962/eng/Quark_BSP_BuildandSWUserGuide_329687_007.pdf 3 | 4 | Note: Be sure to install IASL 5.0A or higher to build EDKII 5 | 6 | 7 | 2. Download the latest Galileo Runtime (Part 3 of the User Guide) 8 | git clone https://github.com/01org/Galileo-Runtime.git 9 | cd Galileo-Runtime 10 | 11 | 12 | 3. Build Linux kernel (Part 6 of the User Guide) 13 | cd meta-clanton 14 | ./setup.sh 15 | source poky/oe-init-build-env yocto_build 16 | bitbake image-spi-galileo 17 | 18 | 19 | 4. Build EDKII (Part 4 of the User Guide) 20 | 21 | 4.1. Prepare the build environment (Part 4.2.1 of the User Guide) 22 | cd Quark_EDKII 23 | ./svn_setup.py 24 | svn update 25 | 26 | 4.2. Build EDKII (Part 4.4 of the User Guide) 27 | export GCCVERSION=$(gcc -dumpversion | cut -c 3) 28 | ./quarkbuild.sh -r32 GCC4${GCCVERSION} QuarkPlatform 29 | 30 | 4.3. Create a symlink for SPI Flash Tools 31 | export GCCVERSION=$(gcc -dumpversion | cut -c 3) 32 | ln -s RELEASE_GCC4${GCCVERSION} Build/QuarkPlatform/RELEASE_GCC 33 | 34 | 35 | 5. Create a flash Image (SPI) (Part 8 of the User Guide) 36 | cd sysimage/sysimage.CP-8M-release 37 | ../../spi-flash-tools/Makefile 38 | 39 | 40 | 6. Congratulations! 41 | Flash-missingPDAT.cap is the firmware that you can flash onto Galileo. 42 | -------------------------------------------------------------------------------- /meta-clanton/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright(c) 2013 Intel Corporation. 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /meta-clanton/README: -------------------------------------------------------------------------------- 1 | This layer depends on: 2 | 3 | URI: git://github.com/openembedded/meta-oe.git 4 | branch: dylan 5 | revision: HEAD 6 | 7 | URI: git://git.yoctoproject.org/poky.git 8 | branch: dylan 9 | revision: dylan-9.0.2 10 | 11 | Layer maintainer: Krzysztof Sywula 12 | 13 | Right now layer is not yet hosted on public git repo. In order to contribute: 14 | - make sure you have correct user.name/user.email in git config 15 | - in current directory do: git init; git add meta-clanton-* setup* 16 | - then: git commit meta-clanton-* setup* -m "initialize" 17 | - modify desired file 18 | - git commit desired file 19 | - git send-email --to=Krzysztof.M.Sywula@intel.com --confirm=always -M -1 20 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/COPYING.MIT: -------------------------------------------------------------------------------- 1 | Copyright(c) 2013 Intel Corporation. All rights reserved. 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/conf/layer.conf: -------------------------------------------------------------------------------- 1 | # We have a conf and classes directory, add to BBPATH 2 | BBPATH := "${BBPATH}:${LAYERDIR}" 3 | 4 | # We have a recipes directory, add to BBFILES 5 | BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \ 6 | ${LAYERDIR}/recipes-*/*/*.bbappend" 7 | 8 | BBFILE_COLLECTIONS += "clanton-bsp" 9 | BBFILE_PATTERN_clanton-bsp := "^${LAYERDIR}/" 10 | BBFILE_PRIORITY_clanton-bsp = "6" 11 | 12 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/conf/machine-sdk/i586-tarball.conf: -------------------------------------------------------------------------------- 1 | SDK_ARCH = "i586" 2 | SDK_CC_ARCH = "-march=i586" 3 | 4 | SDK_GLIBC_ADDONS = "nptl" 5 | 6 | #This prevents creation of .sh script, 7 | #just drops tarball under tmp/deploy/sdk 8 | SDK_PACKAGING_FUNC = "do_compile" 9 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/conf/machine-sdk/x86_64-tarball.conf: -------------------------------------------------------------------------------- 1 | SDK_ARCH = "x86_64" 2 | 3 | SDK_GLIBC_ADDONS = "nptl" 4 | 5 | #This prevents creation of .sh script, 6 | #just drops tarball under tmp/deploy/sdk 7 | SDK_PACKAGING_FUNC = "do_compile" 8 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/conf/machine/clanton.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: clanton 3 | 4 | #@DESCRIPTION: Machine configuration for clanton systems 5 | 6 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto-clanton" 7 | PREFERRED_VERSION_linux-yocto-clanton ?= "3.8%" 8 | 9 | require conf/machine/include/ia32-base.inc 10 | include conf/machine/include/tune-i586.inc 11 | 12 | #Avoid pulling in GRUB 13 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "" 14 | 15 | MACHINE_FEATURES = "efi usb pci" 16 | 17 | SERIAL_CONSOLE = "115200 ttyS1" 18 | #SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1" 19 | 20 | EXTRA_IMAGEDEPENDS = "grub" 21 | PREFERRED_VERSION_grub = "0.97+git%" 22 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-bsp/grub/grub_0.97.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "GRUB is the GRand Unified Bootloader" 2 | DESCRIPTION = "GRUB is a GPLed bootloader intended to unify bootloading across x86 \ 3 | operating systems. In addition to loading the Linux kernel, it implements the Multiboot \ 4 | standard, which allows for flexible loading of multiple boot images." 5 | HOMEPAGE = "http://www.gnu.org/software/grub/" 6 | SECTION = "bootloaders" 7 | 8 | LICENSE = "GPLv2+" 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b \ 10 | file://grub/main.c;beginline=3;endline=9;md5=22a5f28d2130fff9f2a17ed54be90ed6" 11 | 12 | PV = "0.97+git${SRCPV}" 13 | 14 | #check if this is needed 15 | RDEPENDS_${PN} = "diffutils" 16 | DEPENDS = "gnu-efi" 17 | PR = "r0" 18 | 19 | SRC_URI = "git://github.com/mjg59/grub-fedora.git" 20 | 21 | SRC_URI += "file://clanton.patch" 22 | 23 | CFLAGS_append = " -Os -fno-strict-aliasing -Wall -Werror -Wno-shadow -Wno-unused -Wno-pointer-sign \ 24 | -DINTEL_QUARK_TEST=1" 25 | 26 | S = "${WORKDIR}/git" 27 | SEPB = "${S}" 28 | #SRCREV = "${AUTOREV}" 29 | SRCREV = "5775f32a6268dead6939d01cbe72f23972f6d3c0" 30 | 31 | inherit autotools deploy 32 | 33 | EXTRA_OECONF = "--without-curses --disable-auto-linux-mem-opt --with-platform=efi --libdir=${STAGING_LIBDIR}" 34 | 35 | GRUB_TARGET = "i386" 36 | GRUB_IMAGE = "/efi/grub.efi" 37 | 38 | COMPATIBLE_HOST = "i.86.*-linux" 39 | 40 | do_deploy() { 41 | install -m 644 ${S}/${GRUB_IMAGE} ${DEPLOYDIR} 42 | } 43 | addtask deploy after do_install before do_build 44 | 45 | do_install[noexec] = "1" 46 | do_populate_sysroot[noexec] = "1" 47 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-core/initscripts/files/galileod.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | pidfile=/var/run/launcher.pid 4 | pidsreset=/var/run/sketch_reset.pid 5 | launcher=/opt/cln/galileo/launcher.sh 6 | sreset=/opt/cln/galileo/galileo_sketch_reset 7 | input_reset_gpio= 8 | output_reset_gpio= 9 | 10 | start_handler() 11 | { 12 | type dmidecode > /dev/null 2>&1 || die "dmidecode not installed" 13 | board=$(dmidecode -s baseboard-product-name) 14 | case "$board" in 15 | "Galileo") 16 | input_reset_gpio=52 17 | output_reset_gpio=53 18 | start_galileod 19 | ;; 20 | "GalileoGen2") 21 | input_reset_gpio=63 22 | output_reset_gpio=47 23 | start_galileod 24 | ;; 25 | esac 26 | } 27 | 28 | start_galileod() 29 | { 30 | echo "Starting galileod" 31 | start-stop-daemon -q -S -m -p $pidfile -b -x $launcher 32 | start-stop-daemon -q -S -m -p $pidsreset -b -x $sreset -- -i $input_reset_gpio -o $output_reset_gpio 33 | } 34 | 35 | stop_handler() 36 | { 37 | echo "Stopping galileod" 38 | start-stop-daemon -q -K -p $pidfile -s USR1 39 | start-stop-daemon -q -K -p $pidsreset 40 | rm $pidfile -f 41 | rm $pidsreset -f 42 | } 43 | 44 | die() 45 | { 46 | exit 1 47 | } 48 | 49 | case "$1" in 50 | start) 51 | start_handler 52 | ;; 53 | stop) 54 | stop_handler 55 | ;; 56 | restart) 57 | $0 stop 58 | $0 start 59 | ;; 60 | *) 61 | echo "Usage: syslog { start | stop | restart }" >&2 62 | exit 1 63 | ;; 64 | esac 65 | 66 | exit 0 67 | 68 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-core/initscripts/initscripts_1.0.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 2 | 3 | SRC_URI += "file://galileod.sh" 4 | 5 | do_install_append() { 6 | install -d ${D}${sysconfdir} 7 | install -m 0755 ${WORKDIR}/galileod.sh ${D}${sysconfdir}/init.d 8 | } 9 | 10 | inherit update-rc.d 11 | 12 | INITSCRIPT_NAME = "galileod.sh" 13 | INITSCRIPT_PARAMS = "start 80 5 ." 14 | 15 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-core/meta/meta-toolchain.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 2 | 3 | inherit populate_sdk_base 4 | 5 | SCRIPT = "install_script.sh" 6 | SRC_URI = "file://${SCRIPT}" 7 | 8 | do_deploy() { 9 | if [ "${SDKMACHINE}" = "i586-tarball" -o "${SDKMACHINE}" = "x86_64-tarball" ] 10 | then 11 | install -d ${SDK_DEPLOY} 12 | sed -i 2s/unknown/${SDK_NAME}-toolchain-${SDK_VERSION}.tar.bz2/ ${WORKDIR}/${SCRIPT} 13 | install ${WORKDIR}/${SCRIPT} ${SDK_DEPLOY}/${SCRIPT} 14 | fi 15 | } 16 | 17 | addtask deploy before do_build after do_compile 18 | 19 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-devtools/binutils/binutils-cross-canadian_2.23.1.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 2 | 3 | #Quark errata - strip all lock prefixes from target binaries 4 | SRC_URI += "file://gas2.23.1_WR.patch" 5 | SRC_URI += "file://gas2.23.1_flip_lock_flag_logic.patch" 6 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-devtools/binutils/binutils-cross_2.23.1.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 2 | 3 | DEPENDS += "dejagnu-native" 4 | 5 | #Quark errata - strip all lock prefixes from target binaries 6 | SRC_URI += "file://gas2.23.1_WR.patch" 7 | SRC_URI += "file://gas2.23.1_flip_lock_flag_logic.patch" 8 | SRC_URI += "file://lock-test.patch" 9 | 10 | do_execute_tests[nostamp] = "1" 11 | do_execute_tests() { 12 | cd ${B}/gas 13 | echo ${B}/gas 14 | make check-DEJAGNU 15 | } 16 | addtask execute_tests before do_install after do_compile 17 | 18 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-devtools/binutils/binutils_2.23.1.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 2 | 3 | #Quark errata - strip all lock prefixes from target binaries 4 | SRC_URI_append_class-target = " file://gas2.23.1_WR.patch" 5 | SRC_URI_append_class-target = " file://gas2.23.1_flip_lock_flag_logic.patch" 6 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-devtools/binutils/files/gas2.23.1_WR.patch: -------------------------------------------------------------------------------- 1 | diff --git i/gas/config/tc-i386.c w/gas/config/tc-i386.c 2 | index 60ff4cb..11f8384 100644 3 | --- i/gas/config/tc-i386.c 4 | +++ w/gas/config/tc-i386.c 5 | @@ -449,6 +449,8 @@ static int allow_naked_reg = 0; 6 | /* 1 if pseudo index register, eiz/riz, is allowed . */ 7 | static int allow_index_reg = 0; 8 | 9 | +static int fix_quark_lock = 0; 10 | + 11 | static enum 12 | { 13 | sse_check_none = 0, 14 | @@ -6231,6 +6233,14 @@ output_insn (void) 15 | unsigned int j; 16 | unsigned int prefix; 17 | 18 | + /* Workaround for a Quark errata. */ 19 | + if (fix_quark_lock) 20 | + { 21 | + if (i.tm.base_opcode == 240 /* lock */) 22 | + return; 23 | + i.prefix[LOCK_PREFIX] = 0; 24 | + } 25 | + 26 | /* Since the VEX prefix contains the implicit prefix, we don't 27 | need the explicit prefix. */ 28 | if (!i.tm.opcode_modifier.vex) 29 | @@ -8411,6 +8421,7 @@ const char *md_shortopts = "qn"; 30 | #define OPTION_MSSE_CHECK (OPTION_MD_BASE + 11) 31 | #define OPTION_MAVXSCALAR (OPTION_MD_BASE + 12) 32 | #define OPTION_X32 (OPTION_MD_BASE + 13) 33 | +#define OPTION_FIX_QUARK_LOCK (OPTION_MD_BASE + 14) 34 | 35 | struct option md_longopts[] = 36 | { 37 | @@ -8433,6 +8444,7 @@ struct option md_longopts[] = 38 | {"msse2avx", no_argument, NULL, OPTION_MSSE2AVX}, 39 | {"msse-check", required_argument, NULL, OPTION_MSSE_CHECK}, 40 | {"mavxscalar", required_argument, NULL, OPTION_MAVXSCALAR}, 41 | + {"mfix-quark-lock", no_argument, NULL, OPTION_FIX_QUARK_LOCK}, 42 | {NULL, no_argument, NULL, 0} 43 | }; 44 | size_t md_longopts_size = sizeof (md_longopts); 45 | @@ -8679,6 +8691,10 @@ md_parse_option (int c, char *arg) 46 | as_fatal (_("invalid -mavxscalar= option: `%s'"), arg); 47 | break; 48 | 49 | + case OPTION_FIX_QUARK_LOCK: 50 | + fix_quark_lock = 1; 51 | + break; 52 | + 53 | default: 54 | return 0; 55 | } 56 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-devtools/openssl/ocf-linux.inc: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Install required headers to enable OCF Linux support" 2 | LICENSE = "BSD" 3 | 4 | LIC_FILES_CHKSUM = "file://README;md5=493ffe65655667614cf24567adf22f11" 5 | 6 | INC_PR = "r3" 7 | 8 | SRC_URI = "http://sourceforge.net/projects/ocf-linux/files/ocf-linux/${PV}/ocf-linux-${PV}.tar.gz" 9 | 10 | S = "${WORKDIR}/ocf-linux-${PV}" 11 | 12 | # Need to unpack the the ocf-linux.tar.gz file contained inside the 13 | # downloaded tarball 14 | # Install the OCF Linux headers so that other packages such as openssl 15 | # can find them. The headers must be in a crypto directory according to 16 | # the README file. 17 | do_install() { 18 | cd ${S} 19 | install -d ${D}${includedir}/crypto 20 | install -m 0644 ${S}/ocf/*.h ${D}${includedir}/crypto/ 21 | } 22 | 23 | ALLOW_EMPTY_${PN} = "1" 24 | BBCLASSEXTEND = "native nativesdk" 25 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-devtools/openssl/ocf-linux_20120127.bb: -------------------------------------------------------------------------------- 1 | require ocf-linux.inc 2 | 3 | PR = "${INC_PR}.0" 4 | 5 | SRC_URI[md5sum] = "3e68afaf6a76dfdab79540fbd6b0cbb3" 6 | SRC_URI[sha256sum] = "5113609d2c2c43fde962bec1238fe5a81211a751ebb0337b54a9804d40cfef53" 7 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-devtools/openssl/openssl-1.0.2k/debian/no-rpath.patch: -------------------------------------------------------------------------------- 1 | Upstream-Status: Backport [debian] 2 | 3 | Index: openssl-1.0.0c/Makefile.shared 4 | =================================================================== 5 | --- openssl-1.0.0c.orig/Makefile.shared 2010-08-21 13:36:49.000000000 +0200 6 | +++ openssl-1.0.0c/Makefile.shared 2010-12-12 16:13:36.000000000 +0100 7 | @@ -153,7 +153,7 @@ 8 | NOALLSYMSFLAGS='-Wl,--no-whole-archive'; \ 9 | SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared -Wl,-Bsymbolic -Wl,-soname=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX" 10 | 11 | -DO_GNU_APP=LDFLAGS="$(CFLAGS) -Wl,-rpath,$(LIBRPATH)" 12 | +DO_GNU_APP=LDFLAGS="$(CFLAGS)" 13 | 14 | #This is rather special. It's a special target with which one can link 15 | #applications without bothering with any features that have anything to 16 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-devtools/openssl/openssl-1.0.2k/find.pl: -------------------------------------------------------------------------------- 1 | warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; 2 | 3 | # This library is deprecated and unmaintained. It is included for 4 | # compatibility with Perl 4 scripts which may use it, but it will be 5 | # removed in a future version of Perl. Please use the File::Find module 6 | # instead. 7 | 8 | # Usage: 9 | # require "find.pl"; 10 | # 11 | # &find('/foo','/bar'); 12 | # 13 | # sub wanted { ... } 14 | # where wanted does whatever you want. $dir contains the 15 | # current directory name, and $_ the current filename within 16 | # that directory. $name contains "$dir/$_". You are cd'ed 17 | # to $dir when the function is called. The function may 18 | # set $prune to prune the tree. 19 | # 20 | # For example, 21 | # 22 | # find / -name .nfs\* -mtime +7 -exec rm -f {} \; -o -fstype nfs -prune 23 | # 24 | # corresponds to this 25 | # 26 | # sub wanted { 27 | # /^\.nfs.*$/ && 28 | # (($dev,$ino,$mode,$nlink,$uid,$gid) = lstat($_)) && 29 | # int(-M _) > 7 && 30 | # unlink($_) 31 | # || 32 | # ($nlink || (($dev,$ino,$mode,$nlink,$uid,$gid) = lstat($_))) && 33 | # $dev < 0 && 34 | # ($prune = 1); 35 | # } 36 | # 37 | # Set the variable $dont_use_nlink if you're using AFS, since AFS cheats. 38 | 39 | use File::Find (); 40 | 41 | *name = *File::Find::name; 42 | *prune = *File::Find::prune; 43 | *dir = *File::Find::dir; 44 | *topdir = *File::Find::topdir; 45 | *topdev = *File::Find::topdev; 46 | *topino = *File::Find::topino; 47 | *topmode = *File::Find::topmode; 48 | *topnlink = *File::Find::topnlink; 49 | 50 | sub find { 51 | &File::Find::find(\&wanted, @_); 52 | } 53 | 54 | 1; 55 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-devtools/openssl/openssl_1.0.2k.bb: -------------------------------------------------------------------------------- 1 | require openssl.inc 2 | 3 | # For target side versions of openssl enable support for OCF Linux driver 4 | # if they are available. 5 | DEPENDS += "ocf-linux" 6 | 7 | CFLAG += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS" 8 | 9 | PR = "${INC_PR}.3" 10 | 11 | LIC_FILES_CHKSUM = "file://LICENSE;md5=27ffa5d74bb5a337056c14b2ef93fbf6" 12 | 13 | export DIRS = "crypto ssl apps engines" 14 | export OE_LDFLAGS="${LDFLAGS}" 15 | 16 | SRC_URI += " \ 17 | file://debian/debian-targets.patch \ 18 | file://debian/no-rpath.patch \ 19 | file://0001-OpenSSL-1.0.2-Change-LIBDIR-engines-to-LIBDIR-ssl-en.patch \ 20 | file://find.pl \ 21 | " 22 | 23 | SRC_URI[md5sum] = "f965fc0bf01bf882b31314b61391ae65" 24 | SRC_URI[sha256sum] = "6b3977c61f2aedf0f96367dcfb5c6e578cf37e7b8d913b4ecb6643c3cb88d8c0" 25 | 26 | PACKAGES =+ " \ 27 | ${PN}-engines \ 28 | ${PN}-engines-dbg \ 29 | " 30 | 31 | FILES_${PN}-engines = "${libdir}/ssl/engines/*.so ${libdir}/engines" 32 | FILES_${PN}-engines-dbg = "${libdir}/ssl/engines/.debug" 33 | 34 | PARALLEL_MAKE = "" 35 | PARALLEL_MAKEINST = "" 36 | 37 | do_configure_prepend() { 38 | cp ${WORKDIR}/find.pl ${S}/util/find.pl 39 | } 40 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-kernel/linux/files/0003-TTY-mark-tty_get_device-call-with-the-proper-c-quark.patch: -------------------------------------------------------------------------------- 1 | From xxxx Mon Sep 17 00:00:00 2001 2 | From: Greg Kroah-Hartman 3 | Date: Wed, 6 Feb 2013 15:59:18 -0800 4 | Subject: [PATCH 03/21] TTY: mark tty_get_device call with the proper const 5 | values 6 | MIME-Version: 1.0 7 | Content-Type: text/plain; charset=UTF-8 8 | Content-Transfer-Encoding: 8bit 9 | 10 | Michał's previous patch missed this tty check to fix up the 11 | class_find_device() arguments. 12 | 13 | Reported-by: kbuild test robot 14 | Cc: Michał Mirosław 15 | Signed-off-by: Greg Kroah-Hartman 16 | (cherry picked from commit 6e9430ac57e8c1f41ab24ef7fbb3d452c7eb7246) 17 | --- 18 | drivers/tty/tty_io.c | 4 ++-- 19 | 1 file changed, 2 insertions(+), 2 deletions(-) 20 | 21 | diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c 22 | index da9fde8..6b20fd6 100644 23 | --- a/drivers/tty/tty_io.c 24 | +++ b/drivers/tty/tty_io.c 25 | @@ -2906,9 +2906,9 @@ void do_SAK(struct tty_struct *tty) 26 | 27 | EXPORT_SYMBOL(do_SAK); 28 | 29 | -static int dev_match_devt(struct device *dev, void *data) 30 | +static int dev_match_devt(struct device *dev, const void *data) 31 | { 32 | - dev_t *devt = data; 33 | + const dev_t *devt = data; 34 | return dev->devt == *devt; 35 | } 36 | 37 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-kernel/linux/files/0005-drivers-pwm-sysfs.c-add-export.h-RTC-50404-quark.patch: -------------------------------------------------------------------------------- 1 | From xxxx Mon Sep 17 00:00:00 2001 2 | From: Josef Ahmad 3 | Date: Mon, 9 Sep 2013 14:11:51 +0100 4 | Subject: [PATCH 05/21] drivers/pwm/sysfs.c: add export.h - RTC #50404 5 | 6 | Resolve THIS_MODULE macro. 7 | (cherry picked from commit b594e3ef2c9f7a2c61188e76a1c228f1d30556eb) 8 | --- 9 | drivers/pwm/sysfs.c | 1 + 10 | 1 file changed, 1 insertion(+) 11 | 12 | diff --git a/drivers/pwm/sysfs.c b/drivers/pwm/sysfs.c 13 | index 8ca5de3..4cd6d78 100644 14 | --- a/drivers/pwm/sysfs.c 15 | +++ b/drivers/pwm/sysfs.c 16 | @@ -16,6 +16,7 @@ 17 | * GNU General Public License for more details. 18 | */ 19 | 20 | +#include 21 | #include 22 | #include 23 | #include 24 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-kernel/linux/files/0021-Quark-SPI-flash-quark.patch: -------------------------------------------------------------------------------- 1 | From xxxx Mon Sep 17 00:00:00 2001 2 | From: Bryan O'Donoghue 3 | Date: Tue, 11 Feb 2014 16:28:26 +0000 4 | Subject: [PATCH 21/21] Quark SPI flash 5 | 6 | --- 7 | drivers/mtd/devices/Kconfig | 5 +++++ 8 | drivers/mtd/devices/Makefile | 3 +-- 9 | 2 files changed, 6 insertions(+), 2 deletions(-) 10 | 11 | diff --git a/drivers/mtd/devices/Kconfig b/drivers/mtd/devices/Kconfig 12 | index 46dcb54..4844920 100644 13 | --- a/drivers/mtd/devices/Kconfig 14 | +++ b/drivers/mtd/devices/Kconfig 15 | @@ -159,6 +159,11 @@ config MTD_MTDRAM 16 | provide storage. You probably want to say 'N' unless you're 17 | testing stuff. 18 | 19 | +config MTD_MTD_QRK_ROM 20 | + bool "Simple R/O drive for SPI flash in Quark x86 legacy block" 21 | + help 22 | + Driver to enable reading directly from legacy block SPI /sketch part 23 | + 24 | config MTDRAM_TOTAL_SIZE 25 | int "MTDRAM device size in KiB" 26 | depends on MTD_MTDRAM 27 | diff --git a/drivers/mtd/devices/Makefile b/drivers/mtd/devices/Makefile 28 | index 395733a..4c8e399 100644 29 | --- a/drivers/mtd/devices/Makefile 30 | +++ b/drivers/mtd/devices/Makefile 31 | @@ -20,5 +20,4 @@ obj-$(CONFIG_MTD_M25P80) += m25p80.o 32 | obj-$(CONFIG_MTD_SPEAR_SMI) += spear_smi.o 33 | obj-$(CONFIG_MTD_SST25L) += sst25l.o 34 | obj-$(CONFIG_MTD_BCM47XXSFLASH) += bcm47xxsflash.o 35 | - 36 | -CFLAGS_docg3.o += -I$(src) 37 | \ No newline at end of file 38 | +CFLAGS_docg3.o += -I$(src) 39 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-kernel/linux/files/clanton-standard.scc: -------------------------------------------------------------------------------- 1 | define KMACHINE clanton 2 | define KTYPE standard 3 | define KARCH i386 4 | 5 | kconf hardware quark.cfg 6 | 7 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-kernel/linux/files/uart-1.0.patch: -------------------------------------------------------------------------------- 1 | diff --git a/drivers/tty/serial/intel_quark_uart.c b/drivers/tty/serial/intel_quark_uart.c 2 | index 5bb6a00..2297691 100755 3 | --- a/drivers/tty/serial/intel_quark_uart.c 4 | +++ b/drivers/tty/serial/intel_quark_uart.c 5 | @@ -769,6 +769,12 @@ static int handle_rx_to(struct x1000_port *priv) 6 | return 0; 7 | } while (rx_size == buf->size); 8 | 9 | + if(!rx_size){ 10 | + quark_uart_hal_fifo_reset(priv, QUARK_UART_HAL_CLR_ALL_FIFO); 11 | + ret = quark_uart_hal_set_fifo(priv, QUARK_UART_HAL_DMA_MODE0, 12 | + QUARK_UART_HAL_FIFO_DIS, QUARK_UART_HAL_TRIGGER1); 13 | + return 0; 14 | + } 15 | return QUARK_UART_HANDLED_RX_INT; 16 | } 17 | 18 | @@ -1059,16 +1065,16 @@ static void quark_uart_work(struct work_struct *work) 19 | return; 20 | } 21 | /* Configure TX */ 22 | - priv->tx_conf.src_addr = sg_dma_address(priv->sg_tx_p); 23 | - priv->tx_conf.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; 24 | - priv->tx_conf.src_maxburst = LNW_DMA_MSIZE_1; 25 | - priv->tx_conf.dst_addr = QUARK_UART_AHB_REG_BASE + QUARK_UART_THR; /* Wants an AHB address */ 26 | - priv->tx_conf.dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; 27 | - priv->tx_conf.dst_maxburst = LNW_DMA_MSIZE_4; 28 | - priv->tx_conf.direction = DMA_MEM_TO_DEV; 29 | - priv->tx_conf.device_fc = false; 30 | - 31 | - dmaengine_slave_config(priv->tx_chan, &priv->tx_conf); 32 | + priv->dmas_tx.dma_slave.src_addr = sg_dma_address(priv->sg_tx_p); 33 | + priv->dmas_tx.dma_slave.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; 34 | + priv->dmas_tx.dma_slave.src_maxburst = LNW_DMA_MSIZE_1; 35 | + priv->dmas_tx.dma_slave.dst_addr = QUARK_UART_AHB_REG_BASE + QUARK_UART_THR; /* Wants an AHB address */ 36 | + priv->dmas_tx.dma_slave.dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; 37 | + priv->dmas_tx.dma_slave.dst_maxburst = LNW_DMA_MSIZE_4; 38 | + priv->dmas_tx.dma_slave.direction = DMA_MEM_TO_DEV; 39 | + priv->dmas_tx.dma_slave.device_fc = false; 40 | + 41 | + dmaengine_slave_config(priv->tx_chan, &priv->dmas_tx.dma_slave); 42 | desc = dmaengine_prep_slave_sg(priv->tx_chan, 43 | priv->sg_tx_p, priv->nent, DMA_MEM_TO_DEV, 44 | DMA_PREP_INTERRUPT | DMA_CTRL_ACK); 45 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-kernel/modutils-initscripts/files/bsp.conf: -------------------------------------------------------------------------------- 1 | efivars 2 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-kernel/modutils-initscripts/modutils-initscripts.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 2 | SRC_URI += "file://bsp.conf" 3 | 4 | INSTALLDIR = "/etc/modules-load.d" 5 | FILES_${PN} += "${INSTALLDIR}" 6 | FILES_${PN}-dbg += "${INSTALLDIR}/.debug" 7 | 8 | do_install_append () { 9 | install -d ${D}${INSTALLDIR} 10 | install -m 0755 ${WORKDIR}/bsp.conf ${D}${INSTALLDIR}/ 11 | } 12 | 13 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-kernel/quark-init/files/galileo.conf: -------------------------------------------------------------------------------- 1 | pch-udc phy_err_max=10 phy_err_time=100 2 | g-serial vendor=0x8086 product=0xBABE 3 | stmmac 4 | ehci_hcd 5 | ohci_hcd 6 | ehci-pci 7 | usb_storage 8 | gpio_sch 9 | intel_qrk_gip 10 | cy8c9540a 11 | at24 12 | i2c_dev 13 | spidev 14 | spi-pxa2xx-pci 15 | spi-pxa2xx 16 | industrialio 17 | ad7298 18 | iwlwifi 19 | btusb 20 | usbhid 21 | evdev 22 | sdhci-pci 23 | mmc-block 24 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-kernel/quark-init/files/galileo_gen2.conf: -------------------------------------------------------------------------------- 1 | pch-udc phy_err_max=10 phy_err_time=100 2 | g-serial vendor=0x8086 product=0xBABE 3 | stmmac 4 | ehci_hcd 5 | ohci_hcd 6 | ehci-pci 7 | usb_storage 8 | gpio_sch 9 | intel_qrk_gip 10 | gpio-pca953x 11 | pca9685 12 | at24 13 | i2c_dev 14 | spidev 15 | spi-pxa2xx-pci 16 | spi-pxa2xx 17 | industrialio 18 | adc1x8s102 19 | iwlwifi 20 | btusb 21 | usbhid 22 | evdev 23 | sdhci-pci 24 | mmc-block 25 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-kernel/quark-init/files/quark-init.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | load_drivers() 4 | { 5 | while IFS= read -r line; do 6 | modprobe $line 7 | done < "/etc/modules-load.quark/$1.conf" 8 | } 9 | 10 | do_board() 11 | { 12 | type dmidecode > /dev/null 2>&1 || die "dmidecode not installed" 13 | board=$(dmidecode -s baseboard-product-name) 14 | case "$board" in 15 | *"GalileoGen2" ) 16 | load_drivers "galileo_gen2" ;; 17 | *"Galileo" ) 18 | load_drivers "galileo" ;; 19 | esac 20 | } 21 | 22 | die() 23 | { 24 | exit 1 25 | } 26 | 27 | do_board 28 | exit 0 29 | 30 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-kernel/quark-init/quark-init_0.1.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "List of drivers to be auto-loaded" 2 | LICENSE = "MIT" 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" 4 | 5 | SRC_URI = "file://quark-init.sh \ 6 | file://galileo.conf \ 7 | file://galileo_gen2.conf" 8 | 9 | INSTALLDIR = "/etc/modules-load.quark" 10 | FILES_${PN} += "${INSTALLDIR}" 11 | FILES_${PN}-dbg += "${INSTALLDIR}/.debug" 12 | 13 | do_install() { 14 | install -d ${D}${INSTALLDIR} 15 | install -m 0755 ${WORKDIR}/galileo.conf ${D}${INSTALLDIR}/ 16 | install -m 0755 ${WORKDIR}/galileo_gen2.conf ${D}${INSTALLDIR}/ 17 | install -d ${D}${sysconfdir}/init.d 18 | install -m 0755 ${WORKDIR}/quark-init.sh ${D}${sysconfdir}/init.d 19 | } 20 | 21 | inherit update-rc.d 22 | 23 | INITSCRIPT_NAME = "quark-init.sh" 24 | INITSCRIPT_PARAMS = "start 75 5 ." 25 | 26 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-testing/dejagnu/dejagnu-native_1.4.4.bb: -------------------------------------------------------------------------------- 1 | PR = "r1" 2 | 3 | require dejagnu_${PV}.bb 4 | S = "${WORKDIR}/dejagnu-${PV}" 5 | inherit native 6 | 7 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-testing/dejagnu/dejagnu_1.4.4.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "GNU unit testing framework, written in Expect and Tcl" 2 | LICENSE = "GPLv2" 3 | SECTION = "devel" 4 | PR = "r1" 5 | 6 | #set1hr_timeout.patch increases default 5min timeout to 1hour; 7 | #due to Yocto being very resource demanding such a timeout makes sense 8 | SRC_URI = "ftp://ftp.gnu.org/gnu/dejagnu/dejagnu-${PV}.tar.gz \ 9 | file://set1hr_timeout.patch" 10 | 11 | inherit autotools 12 | 13 | 14 | SRC_URI[md5sum] = "053f18fd5d00873de365413cab17a666" 15 | SRC_URI[sha256sum] = "d0fbedef20fb0843318d60551023631176b27ceb1e11de7468a971770d0e048d" 16 | 17 | LIC_FILES_CHKSUM = "file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b" 18 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-bsp/recipes-testing/dejagnu/files/set1hr_timeout.patch: -------------------------------------------------------------------------------- 1 | diff --git a/lib/remote.exp b/lib/remote.exp 2 | index f0bf269..715df24 100644 3 | --- a/lib/remote.exp 4 | +++ b/lib/remote.exp 5 | @@ -252,7 +252,7 @@ proc remote_exec { hostname program args } { 6 | if { [llength $args] > 3 } { 7 | set timeout "[lindex $args 3]" 8 | } else { 9 | - set timeout 300 10 | + set timeout 3600 11 | } 12 | 13 | verbose -log "Executing on $hostname: $program $pargs $inp $outp (timeout = $timeout)" 2 14 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/COPYING.MIT: -------------------------------------------------------------------------------- 1 | Copyright(c) 2013 Intel Corporation. All rights reserved. 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/conf/distro/clanton-full.conf: -------------------------------------------------------------------------------- 1 | require conf/distro/poky.conf 2 | DISTRO = "clanton-full" 3 | 4 | PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-clanton" 5 | PREFERRED_VERSION_ethtool = "3.6%" 6 | PREFERRED_VERSION_linux-yocto-clanton = "3.8%" 7 | #PREFERRED_VERSION_grub = "0.97%" 8 | 9 | # change these to something better 10 | IMAGE_FSTYPES = "cpio.gz cpio.lzma" 11 | 12 | PACKAGE_CLASSES = "package_ipk" 13 | 14 | VIRTUAL-RUNTIME_dev_manager = "" 15 | VIRTUAL-RUNTIME_init_manager = "sysvinit" 16 | VIRTUAL-RUNTIME_initscripts = "initscripts" 17 | 18 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/conf/distro/clanton-tiny.conf: -------------------------------------------------------------------------------- 1 | require conf/distro/poky-tiny.conf 2 | DISTRO = "clanton-tiny" 3 | 4 | # poky-tiny forces linux-yocto-tiny otherwise 5 | PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-clanton" 6 | PREFERRED_VERSION_linux-yocto-clanton = "3.8%" 7 | PREFERRED_VERSION_ethtool = "3.6%" 8 | 9 | VIRTUAL-RUNTIME_dev_manager = "" 10 | VIRTUAL-RUNTIME_init_manager = "sysvinit" 11 | VIRTUAL-RUNTIME_initscripts = "initscripts" 12 | 13 | PACKAGE_CLASSES = "package_ipk" 14 | 15 | INITRAMFS_TYPES = "cpio.gz cpio.lzma" 16 | 17 | # check if these are still necessary - what are they needed for? 18 | DISTRO_FEATURES_LIBC = "libc-posix-clang-wchar libc-posix-wchar-io" 19 | 20 | DISTRO_FEATURES = "ipv4 ipv6 ppp xattr alsa argp ${DISTRO_FEATURES_LIBC}" 21 | 22 | DISTRO_FEATURES_append_class-nativesdk = " ${DISTRO_FEATURES_LIBC}" 23 | 24 | TCLIBC = "uclibc" 25 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/conf/layer.conf: -------------------------------------------------------------------------------- 1 | # We have a conf and classes directory, add to BBPATH 2 | BBPATH := "${BBPATH}:${LAYERDIR}" 3 | 4 | # We have a recipes directory, add to BBFILES 5 | BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \ 6 | ${LAYERDIR}/recipes-*/*/*.bbappend" 7 | 8 | BBFILE_COLLECTIONS += "clanton-distro" 9 | BBFILE_PATTERN_clanton-distro := "^${LAYERDIR}/" 10 | BBFILE_PRIORITY_clanton-distro = "6" 11 | 12 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-core/busybox/busybox_1.20.2.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 2 | PRINC = "1" 3 | 4 | do_install_append_clanton-tiny() { 5 | install -d ${D}${sysconfdir} 6 | echo "kernel.hotplug = /sbin/mdev" >> ${D}${sysconfdir}/sysctl.conf 7 | } 8 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-core/images/core-image-minimal-initramfs.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 2 | 3 | SRC_URI += "file://modules.conf" 4 | 5 | IMAGE_INSTALL = "initramfs-live-boot busybox base-passwd udev" 6 | 7 | IMAGE_INSTALL += "kernel-module-usb-storage" 8 | IMAGE_INSTALL += "kernel-module-ehci-hcd kernel-module-ehci-pci kernel-module-ohci-hcd" 9 | IMAGE_INSTALL += "kernel-module-stmmac" 10 | IMAGE_INSTALL += "kernel-module-sdhci kernel-module-sdhci-pci kernel-module-mmc-block" 11 | 12 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-core/images/files/grub.conf: -------------------------------------------------------------------------------- 1 | default 1 2 | timeout 1 3 | 4 | color white/blue white/cyan 5 | 6 | title Clanton SVP kernel-SPI initrd-SPI IMR-On IO-APIC/HPET NoEMU 7 | kernel --spi root=/dev/ram0 console=ttyS1,115200n8 earlycon=uart8250,mmio32,$EARLY_CON_ADDR_REPLACE,115200n8 reboot=efi,warm apic=debug rw 8 | initrd --spi 9 | 10 | title Clanton SVP kernel-MassStorage initrd-MassStorage image-full IMR-On IO-APIC/HPET NoEMU debug 11 | root (hd0,0) 12 | kernel /bzImage root=/dev/ram0 console=ttyS1,115200n8 earlycon=uart8250,mmio32,$EARLY_CON_ADDR_REPLACE,115200n8 reboot=efi,warm apic=debug rw LABEL=boot debugshell=5 rootimage=@ROOT_IMAGE@ 13 | initrd /core-image-minimal-initramfs-clanton.cpio.gz 14 | 15 | 16 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-core/images/image-full-galileo.bb: -------------------------------------------------------------------------------- 1 | require image-full.bb 2 | 3 | IMAGE_INSTALL += "galileo-target" 4 | IMAGE_INSTALL += "mtd-utils-jffs2" 5 | IMAGE_INSTALL += "quark-init" 6 | 7 | ROOTFS_POSTPROCESS_COMMAND += "install_sketch ; " 8 | 9 | install_sketch() { 10 | install -d ${IMAGE_ROOTFS}/sketch 11 | } 12 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-core/images/image-full.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "A fully functional image to be placed on SD card" 2 | 3 | IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL}" 4 | 5 | IMAGE_LINGUAS = " " 6 | 7 | LICENSE = "GPLv2" 8 | 9 | IMAGE_FSTYPES = "ext3 live" 10 | 11 | inherit core-image 12 | 13 | NOISO = "1" 14 | NOHDD = "1" 15 | IMAGE_ROOTFS_SIZE = "307200" 16 | 17 | EXTRA_IMAGECMD_append_ext2 = " -N 2000" 18 | 19 | IMAGE_FEATURES += "package-management" 20 | 21 | IMAGE_INSTALL += "kernel-modules" 22 | IMAGE_INSTALL += "ethtool pciutils" 23 | IMAGE_INSTALL += "strace" 24 | IMAGE_INSTALL += "linuxptp" 25 | IMAGE_INSTALL += "libstdc++" 26 | IMAGE_INSTALL += "dmidecode" 27 | 28 | IMAGE_INSTALL += "opencv nodejs" 29 | IMAGE_INSTALL += "python python-modules python-numpy python-opencv" 30 | IMAGE_INSTALL += "alsa-lib alsa-utils alsa-tools" 31 | IMAGE_INSTALL += "wireless-tools wpa-supplicant bluez4" 32 | IMAGE_INSTALL += "ppp openssh" 33 | 34 | IMAGE_INSTALL += "linux-firmware-iwlwifi-6000g2a-6" 35 | IMAGE_INSTALL += "linux-firmware-iwlwifi-6000g2b-6" 36 | IMAGE_INSTALL += "linux-firmware-iwlwifi-135-6" 37 | 38 | IMAGE_INSTALL += "e2fsprogs-mke2fs e2fsprogs-e2fsck dosfstools util-linux-mkfs" 39 | 40 | IMAGE_INSTALL += "connman" 41 | remove_init_ifupdown () { 42 | #as long as we install connman in this image 43 | #we have to remove /etc/rc*/*networking 44 | rm /etc/rc*/networking -f 45 | } 46 | ROOTFS_POSTPROCESS_COMMAND += "remove_init_ifupdown ; " 47 | 48 | GRUB_CONF = "grub.conf" 49 | GRUB_PATH = "boot/grub/" 50 | SRC_URI = "file://${GRUB_CONF}" 51 | 52 | python () { 53 | # Ensure we run these usually noexec tasks 54 | d.delVarFlag("do_fetch", "noexec") 55 | d.delVarFlag("do_unpack", "noexec") 56 | } 57 | 58 | copy_grub_conf() { 59 | #append to grub kernel command line rootimage=image-name.ext3 60 | sed s:@ROOT_IMAGE@:$(basename ${ROOTFS}):g ${WORKDIR}/${GRUB_CONF} > ${WORKDIR}/${GRUB_CONF}.sed 61 | install -d ${DEPLOY_DIR_IMAGE}/${GRUB_PATH} 62 | install -m 0755 ${WORKDIR}/${GRUB_CONF}.sed ${DEPLOY_DIR_IMAGE}/${GRUB_PATH}/${GRUB_CONF} 63 | } 64 | 65 | python do_grub() { 66 | bb.build.exec_func('copy_grub_conf', d) 67 | } 68 | 69 | addtask grub after do_fetch before do_build 70 | do_grub[nostamp] = "1" 71 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-core/images/image-spi-galileo.bb: -------------------------------------------------------------------------------- 1 | require image-spi.bb 2 | 3 | IMAGE_INSTALL += "galileo-target" 4 | IMAGE_INSTALL += "mtd-utils-jffs2" 5 | IMAGE_INSTALL += "quark-init" 6 | 7 | ROOTFS_POSTPROCESS_COMMAND += "install_sketch ; " 8 | 9 | install_sketch() { 10 | install -d ${IMAGE_ROOTFS}/sketch 11 | } 12 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-core/images/image-spi.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "A small image just capable of allowing a device to boot." 2 | 3 | IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL}" 4 | 5 | IMAGE_LINGUAS = " " 6 | 7 | LICENSE = "GPLv2" 8 | 9 | inherit core-image 10 | 11 | IMAGE_FSTYPES = "${INITRAMFS_TYPES}" 12 | IMAGE_ROOTFS_SIZE = "2048" 13 | EXTRA_IMAGECMD_append_ext2 = " -N 2000" 14 | 15 | IMAGE_FEATURES += "package-management" 16 | #ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; " 17 | 18 | IMAGE_INSTALL += "kernel-modules" 19 | IMAGE_INSTALL += "ethtool" 20 | IMAGE_INSTALL += "strace" 21 | IMAGE_INSTALL += "ppp" 22 | IMAGE_INSTALL += "linuxptp" 23 | IMAGE_INSTALL += "libstdc++" 24 | IMAGE_INSTALL += "dmidecode" 25 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-core/initrdscripts/files/name.patch: -------------------------------------------------------------------------------- 1 | diff --git i/init-live.sh w/init-live.sh 2 | index 4bd1b52..cfc57b4 100644 3 | --- i/init-live.sh 4 | +++ w/init-live.sh 5 | @@ -3,7 +3,7 @@ 6 | PATH=/sbin:/bin:/usr/sbin:/usr/bin 7 | 8 | ROOT_MOUNT="/rootfs/" 9 | -ROOT_IMAGE="rootfs.img" 10 | +ROOT_IMAGE="image-full-clanton.ext3" 11 | MOUNT="/bin/mount" 12 | UMOUNT="/bin/umount" 13 | ISOLINUX="" 14 | @@ -50,6 +50,8 @@ read_args() { 15 | case $arg in 16 | root=*) 17 | ROOT_DEVICE=$optarg ;; 18 | + rootimage=*) 19 | + ROOT_IMAGE=$optarg ;; 20 | rootfstype=*) 21 | modprobe $optarg 2> /dev/null ;; 22 | LABEL=*) 23 | @@ -79,14 +81,19 @@ boot_live_root() { 24 | 25 | # Move the mount points of some filesystems over to 26 | # the corresponding directories under the real root filesystem. 27 | - mount -n --move /proc ${ROOT_MOUNT}/proc 28 | - mount -n --move /sys ${ROOT_MOUNT}/sys 29 | - mount -n --move /dev ${ROOT_MOUNT}/dev 30 | + mount -n --move /proc ${ROOT_MOUNT}/proc || 31 | + fatal "Couldn't remount /proc, dropping to shell" 32 | + mount -n --move /sys ${ROOT_MOUNT}/sys || 33 | + fatal "Couldn't remount /sys, dropping to shell" 34 | + mount -n --move /dev ${ROOT_MOUNT}/dev || 35 | + fatal "Couldn't remount /dev, dropping to shell" 36 | # Move /media/$i over to the real root filesystem 37 | - mount -n --move /media/$i ${ROOT_MOUNT}/media/realroot 38 | + mount -n --move /media/$i ${ROOT_MOUNT}/media/realroot || 39 | + fatal "Couldn't remount /media/$i, dropping to shell" 40 | 41 | cd $ROOT_MOUNT 42 | - exec switch_root -c /dev/console $ROOT_MOUNT /sbin/init 43 | + exec switch_root -c /dev/console $ROOT_MOUNT /sbin/init || 44 | + fatal "Couldn't switch_root, dropping to shell" 45 | } 46 | 47 | fatal() { 48 | @@ -127,7 +134,7 @@ do 49 | mount | grep media 50 | echo "Available block devices" 51 | ls /dev/sd* 52 | - fatal "Cannot find rootfs.img file in /media/* , dropping to a shell " 53 | + fatal "Cannot find $ROOT_IMAGE file in /media/* , dropping to a shell " 54 | fi 55 | C=$(( C + 1 )) 56 | fi 57 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-core/initrdscripts/initramfs-live-boot_1.0.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 2 | SRC_URI += "file://name.patch;patchdir=${WORKDIR}" 3 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-core/initscripts/initscripts-1.0/automount.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | #Krzysztof.M.Sywula@intel.com 3 | 4 | dir=/media 5 | 6 | auto_mount() { 7 | # exit if directory cannot be made 8 | [ -d "$dir/$1" ] || mkdir -p "$dir/$1" || exit 1 9 | 10 | # exit if already mounted 11 | cat /proc/mounts | grep $dir/$1 >/dev/null && exit 1 12 | 13 | # exit if mount failed 14 | if ! mount -t auto -o sync "/dev/$1" "$dir/$1"; then 15 | rmdir "$dir/$1" 16 | exit 1 17 | fi 18 | } 19 | 20 | auto_umount() { 21 | cat /proc/mounts | grep -q /dev/$1 && umount /dev/$1 22 | [ -d "$dir/$1" ] && rmdir "$dir/$1" 23 | } 24 | 25 | main() { 26 | case "$ACTION" in 27 | add|"") 28 | auto_umount "$MDEV" 29 | auto_mount "$MDEV" 30 | ;; 31 | remove) 32 | auto_umount "$MDEV" 33 | ;; 34 | esac 35 | } 36 | 37 | main "$@" 38 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-core/initscripts/initscripts-1.0/mdev.conf: -------------------------------------------------------------------------------- 1 | (sd[a-z])([0-9]+) 0:0 0660 *(/usr/bin/automount.sh) 2 | mmcblk([0-9]+)([a-z]+[0-9]+) 0:0 0660 *(/usr/bin/automount.sh) 3 | 4 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-core/initscripts/initscripts-1.0/mdev.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # This script starts mdev which populates /dev 4 | echo /sbin/mdev > /proc/sys/kernel/hotplug 5 | mdev -s 6 | 7 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-core/initscripts/initscripts-1.0/mqueue.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # This script creates the mqueue mount point and mounts is 4 | 5 | mkdir -m 1777 /dev/mqueue 6 | mount none /dev/mqueue -t mqueue 7 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-core/initscripts/initscripts-1.0/sysfs_devtmpfs.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | ### BEGIN INIT INFO 3 | # Provides: mountdevtmpfs 4 | # Required-Start: 5 | # Required-Stop: 6 | # Default-Start: S 7 | # Default-Stop: 8 | # Short-Description: Mount devtmpfs file systems. 9 | # Description: Mount the devtmpfs file system.. 10 | ### END INIT INFO 11 | 12 | if [ -e /dev ] && grep -q devtmpfs /proc/filesystems; then 13 | mount -t devtmpfs devtmpfs /dev 14 | fi 15 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-core/initscripts/initscripts_1.0.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" 2 | 3 | SRC_URI += "file://mdev.sh \ 4 | file://mqueue.sh \ 5 | file://sysfs_devtmpfs.sh \ 6 | file://mdev.conf \ 7 | file://automount.sh" 8 | 9 | do_install_append() { 10 | install -d ${D}${sysconfdir} 11 | install -d ${D}${sysconfdir}/rcS.d 12 | install -m 0755 ${WORKDIR}/mdev.sh ${D}${sysconfdir}/init.d 13 | install -m 0755 ${WORKDIR}/mqueue.sh ${D}${sysconfdir}/init.d 14 | install -m 0755 ${WORKDIR}/sysfs_devtmpfs.sh ${D}${sysconfdir}/init.d 15 | ln -sf ../init.d/mdev.sh ${D}${sysconfdir}/rcS.d/S12mdev.sh 16 | ln -sf ../init.d/mqueue.sh ${D}${sysconfdir}/rcS.d/S12mqueue.sh 17 | ln -sf ../init.d/sysfs_devtmpfs.sh ${D}${sysconfdir}/rcS.d/S02sysfs_devtmpfs.sh 18 | install -m 0755 ${WORKDIR}/mdev.conf ${D}${sysconfdir} 19 | install -d ${D}/usr/bin 20 | install -m 0755 ${WORKDIR}/automount.sh ${D}/usr/bin/ 21 | } 22 | 23 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-extended/ethtool/ethtool_3.6.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "Display or change ethernet card settings" 2 | DESCRIPTION = "A small utility for examining and tuning the settings of your ethernet-based network interfaces." 3 | HOMEPAGE = "http://www.kernel.org/pub/software/network/ethtool/" 4 | SECTION = "console/network" 5 | LICENSE = "GPLv2+" 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ 7 | file://ethtool.c;firstline=4;endline=17;md5=594311a6703a653a992f367bd654f7c1" 8 | 9 | SRC_URI = "${KERNELORG_MIRROR}/software/network/ethtool/ethtool-${PV}.tar.gz" 10 | SRT_URI += "file://clanton.patch" 11 | 12 | SRC_URI[md5sum] = "1f4fb25590d26cb622bf3bf03413cfac" 13 | SRC_URI[sha256sum] = "a0305779bc35893cf4683a9cbc47bbd1d726a142ce2b34384ae3d87fa8e44891" 14 | 15 | 16 | inherit autotools 17 | 18 | #S = "${WORKDIR}/git" 19 | 20 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-extended/ethtool/files/clanton.patch: -------------------------------------------------------------------------------- 1 | From 1b1a122b192687355cb18cd16b5e8f053a57f9b4 Mon Sep 17 00:00:00 2001 2 | From: Bryan O'Donoghue 3 | Date: Thu, 4 Oct 2012 09:55:22 +0100 4 | Subject: [PATCH] stmmac.c updated to align with kernel registers being 5 | reported in Clanton's version of this driver 6 | 7 | --- 8 | stmmac.c | 11 ++++++++++- 9 | 1 file changed, 10 insertions(+), 1 deletion(-) 10 | 11 | diff --git a/stmmac.c b/stmmac.c 12 | index fb69bfe..3d79054 100644 13 | --- a/stmmac.c 14 | +++ b/stmmac.c 15 | @@ -52,11 +52,20 @@ int st_gmac_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs) 16 | int i; 17 | unsigned int *stmmac_reg = (unsigned int *)regs->data; 18 | 19 | - fprintf(stdout, "ST GMAC Registers\n"); 20 | + fprintf(stdout, "ST GMAC Registers - Clanton SOC extended\n"); 21 | fprintf(stdout, "GMAC Registers\n"); 22 | for (i = 0; i < 55; i++) 23 | fprintf(stdout, "Reg%d 0x%08X\n", i, *stmmac_reg++); 24 | 25 | + /* VLAN extended registers 355 & 354 */ 26 | + for(i = 353; i < 355; i++) 27 | + fprintf(stdout, "Reg%d 0x%08x\n", i, *stmmac_reg++); 28 | + 29 | + /* 1588 extended registers 448 - 461 */ 30 | + for(i = 448; i < 462; i++) 31 | + fprintf(stdout, "Reg%d 0x%08x\n", i, *stmmac_reg++); 32 | + 33 | + /* DMA Regs */ 34 | fprintf(stdout, "\n"); 35 | fprintf(stdout, "DMA Registers\n"); 36 | for (i = 0; i < 22; i++) 37 | -- 38 | 1.8.2 39 | 40 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-extended/linuxptp/linuxptp_20121116.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Linux PTP application" 2 | SECTION = "net" 3 | LICENSE = "GPLv2" 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 5 | 6 | SRC_URI = "git://git.code.sf.net/p/linuxptp/code" 7 | 8 | SRCREV = "e6bbbb27e1da82aa180877f04f2efe1be425fc0a" 9 | 10 | S = "${WORKDIR}/git" 11 | 12 | EXTRA_OEMAKE = "'CC=${CC}' 'CFLAGS=${CFLAGS}' 'KBUILD_OUTPUT=${STAGING_DIR_TARGET}'" 13 | 14 | INSTALL_BINS = "ptp4l" 15 | #This could also include: hwstamp_ctl phc2sys pmc 16 | 17 | do_install() { 18 | install -d ${D}${sbindir} 19 | install -m 0755 ${INSTALL_BINS} ${D}${sbindir} 20 | } 21 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-extended/minicom/files/long_path_script.patch: -------------------------------------------------------------------------------- 1 | diff --git i/src/minicom.c w/src/minicom.c 2 | index e1a557b..f043c30 100644 3 | --- i/src/minicom.c 4 | +++ w/src/minicom.c 5 | @@ -1255,7 +1255,7 @@ int main(int argc, char **argv) 6 | vt_set(addlf, -1, docap, -1, -1, -1, -1, -1, addcr); 7 | break; 8 | case 'S': /* start Script */ 9 | - strncpy(scr_name, optarg, 33); 10 | + strncpy(scr_name, optarg, 256); 11 | break; 12 | case '7': /* 7bit fallback mode */ 13 | screen_ibmpc = screen_iso = 0; 14 | diff --git i/src/minicom.h w/src/minicom.h 15 | index 129e826..2c96aef 100644 16 | --- i/src/minicom.h 17 | +++ w/src/minicom.h 18 | @@ -100,7 +100,7 @@ EXTERN int alt_override;/* -m option */ 19 | EXTERN char parfile[256]; /* Global parameter file */ 20 | EXTERN char pparfile[256]; /* Personal parameter file */ 21 | 22 | -EXTERN char scr_name[33]; /* Name of last script */ 23 | +EXTERN char scr_name[256]; /* Name of last script */ 24 | EXTERN char scr_user[33]; /* Login name to use with script */ 25 | EXTERN char scr_passwd[33]; /* Password to use with script */ 26 | 27 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-extended/minicom/minicom_2.6.2.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 2 | 3 | # patch to make -S parameter able to take 256 characters long path 4 | # instead of original 33 5 | # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531813 6 | SRC_URI += "file://long_path_script.patch;patchdir=${WORKDIR}/${P}" 7 | DEPENDS += "virtual/libiconv" 8 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-extended/screen/files/screen_uclibc.patch: -------------------------------------------------------------------------------- 1 | diff --git i/pty.c w/pty.c 2 | index f89d44c..8660b39 100644 3 | --- i/pty.c 4 | +++ w/pty.c 5 | @@ -33,6 +33,7 @@ 6 | # include 7 | #endif 8 | 9 | +#undef HAVE_SVR4_PTYS 10 | /* for solaris 2.1, Unixware (SVR4.2) and possibly others */ 11 | #ifdef HAVE_SVR4_PTYS 12 | # include 13 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-extended/screen/screen_4.0.3.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 2 | 3 | #ugly patch to get rid of #include 4 | SRC_URI += "file://screen_uclibc.patch;patchdir=${WORKDIR}/${P}" 5 | 6 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-galileo/galileo-target/files/GAL-193-clloader-1.patch: -------------------------------------------------------------------------------- 1 | --- a/clloader.c 2014-08-18 16:16:43.904000000 -0700 2 | +++ b/clloader.c 2014-08-22 14:29:57.904000000 -0700 3 | @@ -2721,7 +2721,13 @@ 4 | ret = close(mystate.tty_from_host); 5 | fprintf(stderr, "Bad connection to host %d bytes available, ioctl return is %d\n",rd_bytes, ioctl_rc) ; 6 | mystate.tty_from_host = -1 ; 7 | + fprintf(stderr, "cable was probably disconnected\n"); 8 | + //kill sketch then kill clloader 9 | + kill(mystate.slave_pid, SIGTERM); 10 | + exit(0); 11 | }else{ 12 | + fprintf(stderr, "host: %s\n", rbuf_from_host); 13 | + errors = 0; 14 | /* TODO: bring out state change of BAUD/LINE and replace magic string */ 15 | if (strncmp(CL_LOADER_CMD_HOST_START_DOWNLOAD_CMD, 16 | rbuf_from_host, 17 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-galileo/galileo-target/files/GAL-200-zombie_clloader_c-1.patch: -------------------------------------------------------------------------------- 1 | --- a/clloader.c 2015-01-06 10:47:36.000000000 -0800 2 | +++ b/clloader.c 2015-01-06 10:53:50.000000000 -0800 3 | @@ -2719,25 +2719,28 @@ 4 | if (ret < 1 && -1 == ioctl_rc ) { 5 | // cable is probably gone here so just close the file it will reopen back at top 6 | ret = close(mystate.tty_from_host); 7 | fprintf(stderr, "Bad connection to host %d bytes available, ioctl return is %d\n",rd_bytes, ioctl_rc) ; 8 | mystate.tty_from_host = -1 ; 9 | fprintf(stderr, "cable was probably disconnected\n"); 10 | - //kill sketch then kill clloader 11 | + //kill sketch then kill clloader. Launcher will restart clloader and sketch 12 | kill(mystate.slave_pid, SIGTERM); 13 | exit(0); 14 | }else{ 15 | fprintf(stderr, "host: %s\n", rbuf_from_host); 16 | errors = 0; 17 | /* TODO: bring out state change of BAUD/LINE and replace magic string */ 18 | - if (strncmp(CL_LOADER_CMD_HOST_START_DOWNLOAD_CMD, 19 | + if (strncmp(downloadCMD, rbuf_from_host, 20 | + ((size_t)strlen(rbuf_from_host)-1)) == 0) { 21 | + // We got a special command to start download 22 | + clantonLeavePassThroughState = TRUE; 23 | + } else if (strncmp(CL_LOADER_CMD_HOST_START_DOWNLOAD_CMD, 24 | rbuf_from_host, 25 | - (size_t)strlen(CL_LOADER_CMD_HOST_START_DOWNLOAD_CMD)) == 0) { 26 | - // We got a special command to start download 27 | + ((size_t)strlen(rbuf_from_host)-1)) == 0) { 28 | + // Old command string. Allow to download anyway. 29 | clantonLeavePassThroughState = TRUE; 30 | - 31 | } else { 32 | write(mystate.tty_slave,rbuf_from_host,ret); //todo check write status 33 | } 34 | } 35 | } 36 | break; 37 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-galileo/galileo-target/files/GAL-200-zombie_clloader_h-1.patch: -------------------------------------------------------------------------------- 1 | --- a/clloader.h 2015-01-06 10:48:26.000000000 -0800 2 | +++ b/clloader.h 2015-01-06 10:51:46.000000000 -0800 3 | @@ -28,12 +28,13 @@ 4 | 5 | 6 | #define _XOPEN_SOURCE /* See feature_test_macros(7) */ 7 | #define MAX_ARGS 0x20 8 | 9 | #define CL_LOADER_CMD_HOST_START_DOWNLOAD_CMD "~sketch download" 10 | +#define downloadCMD "~sketch downloadGalileo" 11 | 12 | #define CL_LOADER_CMD_STARTCHAR '#' 13 | #define CL_LOADER_CMD_START_SKETCH_APP "#Start Sketch:" /* filename args and exec i/o wrapper */ 14 | 15 | extern int clLoaderFSM(int argc, char **argp); 16 | 17 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-galileo/galileo-target/files/MAKER-222-Sketch_download_unstable-5.patch: -------------------------------------------------------------------------------- 1 | --- a/clloader.c 2014-10-07 14:24:46.000000000 -0700 2 | +++ b/clloader.c 2014-10-09 16:31:13.000000000 -0700 3 | @@ -2751,13 +2751,13 @@ 4 | 5 | clantonLeavePassThroughState = 0; 6 | 7 | if ( Verbose) { 8 | fprintf(stderr,"HUP or CHLDTERM Received, Change state to wait for command from host\n"); 9 | } 10 | - 11 | + sleep(1); 12 | /* Terminate the child sketch process */ 13 | /* todo: send a shutdown signal for a more graceful termination */ 14 | if ( mystate.slave_pid) { 15 | if ( Verbose ) 16 | fprintf(stderr,"Going to kill child process:pid %d \n",mystate.slave_pid); 17 | if( kill(mystate.slave_pid,SIGKILL )){ /* Use SIGTERM later : todo */ 18 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-galileo/galileo-target/files/galileo-target.tar.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/meta-clanton/meta-clanton-distro/recipes-galileo/galileo-target/files/galileo-target.tar.bz2 -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-galileo/galileo-target/files/launcher.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | GALILEO_PATH="/opt/cln/galileo" 3 | CLLOADER="$GALILEO_PATH/clloader" 4 | CLLOADER_OPTS="--escape --binary --zmodem --disable-timeouts" 5 | 6 | mytrap() 7 | { 8 | kill -KILL $clPID 9 | keepgoing=false 10 | } 11 | 12 | trap 'mytrap' USR1 13 | 14 | keepgoing=true 15 | while $keepgoing 16 | do 17 | $CLLOADER $CLLOADER_OPTS < /dev/ttyGS0 > /dev/ttyGS0 & clPID=$! 18 | wait $clPID 19 | usleep 200000 20 | done 21 | 22 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-galileo/galileo-target/galileo-target_0.1.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Clanton Software Sketch Framework" 2 | LICENSE = "GPLv2" 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" 4 | 5 | SRC_URI = "file://galileo-target.tar.bz2 \ 6 | file://launcher.sh \ 7 | file://usb_improv_patch-1.patch \ 8 | file://GAL-193-clloader-1.patch \ 9 | file://GAL-199-start_spi_upgrade-1.patch \ 10 | file://MAKER-222-Sketch_download_unstable-5.patch \ 11 | file://GAL-200-zombie_clloader_c-1.patch \ 12 | file://GAL-200-zombie_clloader_h-1.patch" 13 | 14 | INSTALLDIR = "/opt/cln/galileo" 15 | FILES_${PN} += "${INSTALLDIR}" 16 | FILES_${PN}-dbg += "${INSTALLDIR}/.debug" 17 | 18 | do_compile() { 19 | make 20 | } 21 | 22 | do_install() { 23 | oe_runmake install DESTDIR=${D}/ 24 | 25 | install -d ${D}${sysconfdir} 26 | install -m 0755 ${WORKDIR}/launcher.sh ${D}${INSTALLDIR}/ 27 | } 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-kernel/linux-firmware/linux-firmware_git.bbappend: -------------------------------------------------------------------------------- 1 | do_install_append() { 2 | install -m 0644 LICENCE.iwlwifi_firmware ${D}${FWPATH} 3 | install -m 0644 iwlwifi-6000g2a-6.ucode ${D}${FWPATH} 4 | install -m 0644 iwlwifi-135-6.ucode ${D}${FWPATH} 5 | } 6 | 7 | PACKAGES =+ "${PN}-iwlwifi-6000g2a-6 \ 8 | ${PN}-iwlwifi-135-6" 9 | 10 | 11 | RDEPENDS_${PN}-iwlwifi-6000g2a-6 = "${PN}-iwlwifi-licence" 12 | RDEPENDS_${PN}-iwlwifi-135-6 = "${PN}-iwlwifi-licence" 13 | 14 | FILES_${PN}-iwlwifi-licence = "${FWPATH}/LICENCE.iwlwifi_firmware" 15 | FILES_${PN}-rtl-license = "${FWPATH}/LICENCE.rtlwifi_firmware.txt" 16 | FILES_${PN}-iwlwifi-6000g2a-6 = "${FWPATH}/iwlwifi-6000g2a-6.ucode" 17 | FILES_${PN}-iwlwifi-135-6 = "${FWPATH}/iwlwifi-135-6.ucode" 18 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-multimedia/v4l2apps/files/uclibc-enable.patch: -------------------------------------------------------------------------------- 1 | diff --git a/configure.ac b/configure.ac 2 | index 171c1cd..b05a143 100644 3 | --- a/configure.ac 4 | +++ b/configure.ac 5 | @@ -126,7 +126,7 @@ LIBS=$dl_saved_libs 6 | AC_CHECK_HEADER([argp.h],,AC_MSG_ERROR(Cannot continue: argp.h not found)) 7 | argp_saved_libs=$LIBS 8 | AC_SEARCH_LIBS([argp_parse], 9 | - [argp], 10 | + [argp uargp], 11 | [test "$ac_cv_search_argp_parse" = "none required" || ARGP_LIBS=$ac_cv_search_argp_parse], 12 | [AC_MSG_ERROR([unable to find the argp_parse() function])]) 13 | AC_SUBST([ARGP_LIBS]) 14 | diff --git a/contrib/test/Makefile.am b/contrib/test/Makefile.am 15 | index ce1ba22..118154c 100644 16 | --- a/contrib/test/Makefile.am 17 | +++ b/contrib/test/Makefile.am 18 | @@ -21,6 +21,7 @@ pixfmt_test_CFLAGS = $(X11_CFLAGS) 19 | pixfmt_test_LDFLAGS = $(X11_LIBS) 20 | 21 | v4l2grab_SOURCES = v4l2grab.c 22 | +v4l2grab_LDFLAGS = $(ARGP_LIBS) 23 | v4l2grab_LDADD = ../../lib/libv4l2/libv4l2.la 24 | 25 | ioctl_test_SOURCES = ioctl-test.c 26 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 2 | SRC_URI += "file://uclibc-enable.patch" 3 | DEPENDS += "virtual/libiconv" 4 | -------------------------------------------------------------------------------- /meta-clanton/meta-clanton-distro/recipes-support/opencv/opencv_2.4.bbappend: -------------------------------------------------------------------------------- 1 | DEPENDS = "python-numpy v4l-utils libav libtool swig swig-native python jpeg bzip2 zlib libpng tiff glib-2.0" 2 | 3 | EXTRA_OECMAKE = "-DPYTHON_NUMPY_INCLUDE_DIR:PATH=${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages/numpy/core/include \ 4 | -DBUILD_PYTHON_SUPPORT=ON \ 5 | -DWITH_FFMPEG=ON \ 6 | -DWITH_GSTREAMER=OFF \ 7 | -DWITH_V4L=ON \ 8 | -DCMAKE_SKIP_RPATH=ON \ 9 | ${@bb.utils.contains("TARGET_CC_ARCH", "-msse3", "-DENABLE_SSE=1 -DENABLE_SSE2=1 -DENABLE_SSE3=1 -DENABLE_SSSE3=1", "", d)} \ 10 | " 11 | 12 | -------------------------------------------------------------------------------- /meta-clanton/setup/meta-intel.cfg: -------------------------------------------------------------------------------- 1 | [upstream] 2 | name = meta-intel 3 | url = git://git.yoctoproject.org/meta-intel 4 | tag = dylan-9.0.2 5 | -------------------------------------------------------------------------------- /meta-clanton/setup/meta-oe.cfg: -------------------------------------------------------------------------------- 1 | [upstream] 2 | name = meta-oe 3 | url = git://github.com/openembedded/meta-openembedded 4 | sha = 4e3362f9c2b5540231011930b91d2cf56e487ff7 5 | -------------------------------------------------------------------------------- /meta-clanton/setup/poky.cfg: -------------------------------------------------------------------------------- 1 | [upstream] 2 | name = poky 3 | url = git://git.yoctoproject.org/poky 4 | sha = a92ee6a03f73275160636f174babb0c84bda2ccb 5 | -------------------------------------------------------------------------------- /spi-flash-tools/BaseTools/README.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | For convenience, these BaseTools binaries were pre-built for Linux 4 | x86_64 from this source code: 5 | 6 | BaseTools -r13937 http://svn.code.sf.net/p/edk2/code/branches/UDK2010.SR1/BaseTools 7 | 8 | If these binaries are not compatible with your system then you must: 9 | 10 | A. Either download and build these tools yourself; follow these instructions: 11 | http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=Edk2-buildtools 12 | 13 | B. Or you can re-use the ones embedded in EDKII if you have built EDKII from source. 14 | 15 | 16 | After either A. or B. you should override the BASETOOLS Make variable 17 | on the command line, for instance like this: 18 | 19 | BASETOOLS=../Quark_EDKII/BaseTools/Source/C/bin ../spi-flash-tools/Makefile 20 | -------------------------------------------------------------------------------- /spi-flash-tools/BaseTools/x86_64/C/bin/GenFfs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/spi-flash-tools/BaseTools/x86_64/C/bin/GenFfs -------------------------------------------------------------------------------- /spi-flash-tools/BaseTools/x86_64/C/bin/GenFv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/spi-flash-tools/BaseTools/x86_64/C/bin/GenFv -------------------------------------------------------------------------------- /spi-flash-tools/BaseTools/x86_64/C/bin/GenFw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/spi-flash-tools/BaseTools/x86_64/C/bin/GenFw -------------------------------------------------------------------------------- /spi-flash-tools/BaseTools/x86_64/C/bin/GenSec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/spi-flash-tools/BaseTools/x86_64/C/bin/GenSec -------------------------------------------------------------------------------- /spi-flash-tools/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013 Intel Corporation. All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are met: 5 | 6 | 1. Redistributions of source code must retain the above copyright notice, this 7 | list of conditions and the following disclaimer. 8 | 9 | 2. Redistributions in binary form must reproduce the above copyright notice, 10 | this list of conditions and the following disclaimer in the documentation 11 | and/or other materials provided with the distribution. 12 | 13 | 3. Neither the name of the copyright holder nor the names of its contributors 14 | may be used to endorse or promote products derived from this software without 15 | specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 18 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 19 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 20 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 21 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 23 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 24 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 25 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | -------------------------------------------------------------------------------- /spi-flash-tools/platform-data/MRC/GalileoFabE.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/spi-flash-tools/platform-data/MRC/GalileoFabE.bin -------------------------------------------------------------------------------- /spi-flash-tools/platform-data/MRC/GalileoGen2.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/spi-flash-tools/platform-data/MRC/GalileoGen2.bin -------------------------------------------------------------------------------- /spi-flash-tools/platform-data/MRC/clantonhill.v0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/spi-flash-tools/platform-data/MRC/clantonhill.v0.bin -------------------------------------------------------------------------------- /spi-flash-tools/platform-data/MRC/clantonhill.v1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/spi-flash-tools/platform-data/MRC/clantonhill.v1.bin -------------------------------------------------------------------------------- /spi-flash-tools/platform-data/MRC/clantonpeak.v0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/spi-flash-tools/platform-data/MRC/clantonpeak.v0.bin -------------------------------------------------------------------------------- /spi-flash-tools/platform-data/MRC/clantonpeak.v1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/spi-flash-tools/platform-data/MRC/clantonpeak.v1.bin -------------------------------------------------------------------------------- /spi-flash-tools/platform-data/MRC/crosshill.v0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/spi-flash-tools/platform-data/MRC/crosshill.v0.bin -------------------------------------------------------------------------------- /spi-flash-tools/platform-data/MRC/crosshill.v1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/spi-flash-tools/platform-data/MRC/crosshill.v1.bin -------------------------------------------------------------------------------- /spi-flash-tools/platform-data/MRC/kipsbay-fabD.v1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/spi-flash-tools/platform-data/MRC/kipsbay-fabD.v1.bin -------------------------------------------------------------------------------- /spi-flash-tools/platform-data/MRC/kipsbay.v0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/spi-flash-tools/platform-data/MRC/kipsbay.v0.bin -------------------------------------------------------------------------------- /spi-flash-tools/platform-data/MRC/kipsbay.v1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/spi-flash-tools/platform-data/MRC/kipsbay.v1.bin -------------------------------------------------------------------------------- /sysimage/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013 Intel Corporation. All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are met: 5 | 6 | 1. Redistributions of source code must retain the above copyright notice, this 7 | list of conditions and the following disclaimer. 8 | 9 | 2. Redistributions in binary form must reproduce the above copyright notice, 10 | this list of conditions and the following disclaimer in the documentation 11 | and/or other materials provided with the distribution. 12 | 13 | 3. Neither the name of the copyright holder nor the names of its contributors 14 | may be used to endorse or promote products derived from this software without 15 | specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 18 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 19 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 20 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 21 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 23 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 24 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 25 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | -------------------------------------------------------------------------------- /sysimage/config/SelfSignedKeyModule.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/sysimage/config/SelfSignedKeyModule.bin -------------------------------------------------------------------------------- /sysimage/config/SignedKeyModuleRsaKeypair99.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/sysimage/config/SignedKeyModuleRsaKeypair99.bin -------------------------------------------------------------------------------- /sysimage/config/SvpSignedKeyModule.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/Galileo-Runtime/ee66e9a3b21f5fc68068bbe3ab59d0d8ae03a232/sysimage/config/SvpSignedKeyModule.bin -------------------------------------------------------------------------------- /sysimage/config/asn1_rsa_keypair_99.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIEowIBAAKCAQEAtZyrQA6cZFJfVm6FyXwtZaLQYg8EecuO+ObrHTwc8JO+Xrgn 3 | pNAdmlhbAEPxSNnjwhNnbYGYGL4FvzmnZXzZU71Key42HQPh1k2Zx1UDbrH5ciOD 4 | Kx1ZbuEx8K24SHnL1nY/H75hwhT/ZRRVGQDvYDT+sgzw2vmV66+dflw1Zs8BLhqj 5 | LjczdHvjeVXsDRJ9Mvvd/dhFH8UlTf4JpLGya9nsNIfNBBIf1LllRWwCTiEIbaOM 6 | gWcLjLV/2tk/j5Dra/oQnVf/2hVsEF/hXEx41YjeEW/warweoDVG7zaxrHEc/k/r 7 | ZCUCZKxf8nBKdqax/gRICvkG6e5xg2GQw0W/ZwIDAQABAoIBAACmAI6H/tL04FZE 8 | qsGfaeIVBL105EUzDt2gpXJDRq8tN97KtYmHHLPyYNDNbU0fSgrlWtcvQUXFV+vo 9 | 3soj+fqskFmEPrk3zFShjk0B5rM8e3GG4u8CedFFiJIdbK0Fkk6/uVX5rgutW4QW 10 | 4H7oW/Jx/f7QwQNnJLvksqFC3wXw8bqoHA0mMd7hVEugAqNbaFzN+6e87j4ozohG 11 | itF78jlAqRiUSZtfQ3/JU/HfHqEaaacjONpc9MEivqk+ANb4ryiOyraLsrIPfxT5 12 | WshP+iPCFRrqgMSRScm6NcSZon6faw9V8DtuJmz2/MDsYc9wtoEGEfZzzqol6pON 13 | 9C2WONECgYEA6dGmpnrKHlHRY23NkQ/YyG4FV3KWwu0wVwWYQwWBsQeOZm6j6Dov 14 | hrWMWM6LQ/QWNrX7JBIbyyzmcY2p3EKq698ie0R4aoh8iVAR/bs6ZnxmG7LGp3Fh 15 | aTfp6qY06DN3yg9mI40CDNe/2DNO9qAZSL7nmhmCUCpdqAavIoM3ZpUCgYEAxtco 16 | 0cBI9VOtlxHDJPr8v3oxGXKL7Df/Q0CoaIHoHrZ5FwPUX7DdRNPgwvJuavZw1GW+ 17 | THGw3c/ySWSG0dLjqwvNcOAU7RqvtEmsPbPukYs3sfYQd/CKdNfi4w6VYCpM0QOz 18 | jXRBv9FlLiKJjOvcPcYkWjnrpUr21QGWR15AOwsCgYAeijOqKv+bVjRzODRRbjBy 19 | fWxVL7JhY3mc5C4vEtkNtl7zIiBmhLMQdUYPk2q9RXRhUQOsgnD+6K5wxoAZNNv+ 20 | Uva+AwN3ZrxdcwfmjD3khPsRQxiPZk/C3nq/G1Ztvcs3qSs+GXzbEJMOOiVmMSMc 21 | TVMS3aIXtnDlMXpOl7T0wQKBgA372boOnNLsBJxIOoIiSJ4quMNCZAbD1WbkaDOZ 22 | Vzq5uIBe25OzO4x4nij3pb5OAJdfZGe54ydmVXLF6BlfjHVeCh+zEqWuJ8c1GzDn 23 | s5J2yP7yACx/NS2MdT9kqiquLuLQMNN05p7X2hbJhQTtHXsWsT3LLwBb6koGp4vz 24 | W+8LAoGBAMlpxVr25FdxIU/H+vI+CfXN8JPfl8XbEHXLaicaWo8w+CvxSMai30BT 25 | po1a7xIGyeYmquj+C1GDiID/0xHGDOALDoP74eSlOrAS+lbrlIaUZH5GSYEENQQD 26 | nqTekd8eEuRdKsCmXABPrvrasX3aflfuVSPfZBAn1j9iLz3AQbG4 27 | -----END RSA PRIVATE KEY----- 28 | -------------------------------------------------------------------------------- /sysimage/config/key.pem: -------------------------------------------------------------------------------- 1 | asn1_rsa_keypair_99.pem -------------------------------------------------------------------------------- /sysimage/grub/grub-spi.conf: -------------------------------------------------------------------------------- 1 | default 1 2 | timeout 10 3 | 4 | color white/red red/black 5 | 6 | title ---- No "boot/grub/grub.conf" file found on 1st USB or SD device ---- 7 | color normal/normal normal/normal 8 | 9 | title Clanton SVP kernel-SPI initrd-SPI IMR-On IO-APIC/HPET NoEMU 10 | kernel --spi root=/dev/ram0 console=ttyQRK1,115200n8 earlycon=uart8250,mmio32,$EARLY_CON_ADDR_REPLACE,115200n8 reboot=efi,warm apic=debug rw 11 | initrd --spi 12 | 13 | title Clanton SVP kernel-SPI initrd-MassStorage big-rootfs IMR-On IO-APIC/HPET NoEMU 14 | root (hd0,0) 15 | kernel --spi root=/dev/ram0 console=ttyQRK1,115200n8 earlycon=uart8250,mmio32,$EARLY_CON_ADDR_REPLACE,115200n8 reboot=efi,warm apic=debug rw 16 | initrd /image-full-clanton.cpio.gz 17 | 18 | title Clanton SVP kernel-MassStorage initrd-MassStorage small-rootfs IMR-On IO-APIC/HPET NoEMU 19 | root (hd0,0) 20 | kernel /bzImage root=/dev/ram0 console=ttyQRK1,115200n8 earlycon=uart8250,mmio32,$EARLY_CON_ADDR_REPLACE,115200n8 reboot=efi,warm apic=debug rw 21 | initrd /image-spi-clanton.cpio.gz 22 | 23 | title Clanton SVP kernel-MassStorage initrd-MassStorage big-rootfs IMR-On IO-APIC/HPET NoEMU 24 | root (hd0,0) 25 | kernel /bzImage root=/dev/ram0 console=ttyQRK1,115200n8 earlycon=uart8250,mmio32,$EARLY_CON_ADDR_REPLACE,115200n8 reboot=efi,warm apic=debug rw quiet 26 | initrd /image-full-clanton.cpio.gz 27 | 28 | title Clanton SVP kernel-MassStorage initrd-MassStorage big-rootfs IMR-On IO-APIC/HPET NoEMU debug 29 | root (hd0,0) 30 | kernel /bzImage root=/dev/ram0 console=ttyQRK1,115200n8 earlycon=uart8250,mmio32,$EARLY_CON_ADDR_REPLACE,115200n8 reboot=efi,warm apic=debug rw 31 | initrd /image-full-clanton.cpio.gz 32 | -------------------------------------------------------------------------------- /sysimage/inf/Shell.efi.inf: -------------------------------------------------------------------------------- 1 | [options] 2 | EFI_BASE_ADDRESS = 0xFF800000 3 | EFI_BLOCK_SIZE = 0x8000 4 | EFI_NUM_BLOCKS = 0x4f 5 | [attributes] 6 | EFI_ERASE_POLARITY = 1 7 | EFI_WRITE_ENABLED_CAP = TRUE 8 | EFI_READ_ENABLED_CAP = TRUE 9 | EFI_READ_LOCK_STATUS = TRUE 10 | EFI_WRITE_STATUS = TRUE 11 | EFI_READ_DISABLED_CAP = TRUE 12 | EFI_WRITE_LOCK_STATUS = TRUE 13 | EFI_LOCK_CAP = TRUE 14 | EFI_LOCK_STATUS = TRUE 15 | EFI_ERASE_POLARITY = 1 16 | EFI_MEMORY_MAPPED = TRUE 17 | EFI_READ_LOCK_CAP = TRUE 18 | EFI_WRITE_DISABLED_CAP = TRUE 19 | EFI_READ_STATUS = TRUE 20 | EFI_WRITE_LOCK_CAP = TRUE 21 | EFI_STICKY_WRITE = TRUE 22 | EFI_FVB2_ALIGNMENT_16 = TRUE 23 | [files] 24 | EFI_FILE_NAME = image.ffs 25 | -------------------------------------------------------------------------------- /sysimage/inf/grub.efi.inf: -------------------------------------------------------------------------------- 1 | [options] 2 | EFI_BASE_ADDRESS = 0xFF800000 3 | EFI_BLOCK_SIZE = 0x8000 4 | EFI_NUM_BLOCKS = 0xa 5 | [attributes] 6 | EFI_ERASE_POLARITY = 1 7 | EFI_WRITE_ENABLED_CAP = TRUE 8 | EFI_READ_ENABLED_CAP = TRUE 9 | EFI_READ_LOCK_STATUS = TRUE 10 | EFI_WRITE_STATUS = TRUE 11 | EFI_READ_DISABLED_CAP = TRUE 12 | EFI_WRITE_LOCK_STATUS = TRUE 13 | EFI_LOCK_CAP = TRUE 14 | EFI_LOCK_STATUS = TRUE 15 | EFI_ERASE_POLARITY = 1 16 | EFI_MEMORY_MAPPED = TRUE 17 | EFI_READ_LOCK_CAP = TRUE 18 | EFI_WRITE_DISABLED_CAP = TRUE 19 | EFI_READ_STATUS = TRUE 20 | EFI_WRITE_LOCK_CAP = TRUE 21 | EFI_STICKY_WRITE = TRUE 22 | EFI_FVB2_ALIGNMENT_16 = TRUE 23 | [files] 24 | EFI_FILE_NAME = image.ffs 25 | -------------------------------------------------------------------------------- /sysimage/sysimage.CP-8M-debug-secure/config: -------------------------------------------------------------------------------- 1 | ../config/ -------------------------------------------------------------------------------- /sysimage/sysimage.CP-8M-debug-secure/grub: -------------------------------------------------------------------------------- 1 | ../grub/ -------------------------------------------------------------------------------- /sysimage/sysimage.CP-8M-debug-secure/inf: -------------------------------------------------------------------------------- 1 | ../inf/ -------------------------------------------------------------------------------- /sysimage/sysimage.CP-8M-debug-secure/layout.conf.template: -------------------------------------------------------------------------------- 1 | ../sysimage.CP-8M-release/layout.conf.template -------------------------------------------------------------------------------- /sysimage/sysimage.CP-8M-debug/config: -------------------------------------------------------------------------------- 1 | ../config/ -------------------------------------------------------------------------------- /sysimage/sysimage.CP-8M-debug/grub: -------------------------------------------------------------------------------- 1 | ../grub/ -------------------------------------------------------------------------------- /sysimage/sysimage.CP-8M-debug/inf: -------------------------------------------------------------------------------- 1 | ../inf/ -------------------------------------------------------------------------------- /sysimage/sysimage.CP-8M-debug/layout.conf.template: -------------------------------------------------------------------------------- 1 | ../sysimage.CP-8M-release/layout.conf.template -------------------------------------------------------------------------------- /sysimage/sysimage.CP-8M-release-secure/config: -------------------------------------------------------------------------------- 1 | ../config/ -------------------------------------------------------------------------------- /sysimage/sysimage.CP-8M-release-secure/grub: -------------------------------------------------------------------------------- 1 | ../grub/ -------------------------------------------------------------------------------- /sysimage/sysimage.CP-8M-release-secure/inf: -------------------------------------------------------------------------------- 1 | ../inf/ -------------------------------------------------------------------------------- /sysimage/sysimage.CP-8M-release-secure/layout.conf.template: -------------------------------------------------------------------------------- 1 | ../sysimage.CP-8M-release/layout.conf.template -------------------------------------------------------------------------------- /sysimage/sysimage.CP-8M-release/config: -------------------------------------------------------------------------------- 1 | ../config/ -------------------------------------------------------------------------------- /sysimage/sysimage.CP-8M-release/grub: -------------------------------------------------------------------------------- 1 | ../grub/ -------------------------------------------------------------------------------- /sysimage/sysimage.CP-8M-release/inf: -------------------------------------------------------------------------------- 1 | ../inf/ --------------------------------------------------------------------------------