diff mbox

[edk2,edk2-share] UefiDriverWizard: update supported targets

Message ID 20170620114924.25645-1-leif.lindholm@linaro.org
State New
Headers show

Commit Message

Leif Lindholm June 20, 2017, 11:49 a.m. UTC
Add AARCH64 target architecture to scripts, tooltips and templates.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>

---

I was just having a snoop around the TianoCore github area.
Could not find any details on how to contribute to this
repository, but would be nice to have it up to date.
(Although I guess RISC-V would also be useful at this point.)

 DriverDeveloper/UefiDriverWizard/Templates/Package.dsc | 4 +++-
 DriverDeveloper/UefiDriverWizard/UefiDriverWizard.fbp  | 2 +-
 DriverDeveloper/UefiDriverWizard/UefiDriverWizard.py   | 2 +-
 DriverDeveloper/UefiDriverWizard/launch.py             | 4 ++--
 4 files changed, 7 insertions(+), 5 deletions(-)

 tification device producing the User Credential Protocol", u"Non standard boot device producing Load File Protocol", u"Platform driver producing the EDID Override Protocol"];
-- 
2.11.0

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
diff mbox

Patch

diff --git a/DriverDeveloper/UefiDriverWizard/Templates/Package.dsc b/DriverDeveloper/UefiDriverWizard/Templates/Package.dsc
index ae3326e..966b91c 100644
--- a/DriverDeveloper/UefiDriverWizard/Templates/Package.dsc
+++ b/DriverDeveloper/UefiDriverWizard/Templates/Package.dsc
@@ -33,7 +33,7 @@ 
   PLATFORM_VERSION               = <<PackageVersionString>>
   DSC_SPECIFICATION              = 0x00010005
   OUTPUT_DIRECTORY               = Build/<<PackageName>>
-  SUPPORTED_ARCHITECTURES        = IA32|IPF|X64|EBC|ARM
+  SUPPORTED_ARCHITECTURES        = IA32|IPF|X64|EBC|ARM|AARCH64
   BUILD_TARGETS                  = DEBUG|RELEASE
   SKUID_IDENTIFIER               = DEFAULT
 
@@ -68,3 +68,5 @@ 
 [Components.EBC]
 
 [Components.ARM]
+
+[Components.AARCH64]
diff --git a/DriverDeveloper/UefiDriverWizard/UefiDriverWizard.fbp b/DriverDeveloper/UefiDriverWizard/UefiDriverWizard.fbp
index 1ed2d06..679ada0 100644
--- a/DriverDeveloper/UefiDriverWizard/UefiDriverWizard.fbp
+++ b/DriverDeveloper/UefiDriverWizard/UefiDriverWizard.fbp
@@ -1780,7 +1780,7 @@ 
                             <property name="proportion">0</property>
                             <object class="wxCheckListBox" expanded="0">
                                 <property name="bg"></property>
-                                <property name="choices">&quot;All CPU Architectures&quot; &quot;IA32&quot; &quot;X64&quot; &quot;IPF&quot; &quot;EBC&quot; &quot;ARM&quot;</property>
+                                <property name="choices">&quot;All CPU Architectures&quot; &quot;IA32&quot; &quot;X64&quot; &quot;IPF&quot; &quot;EBC&quot; &quot;ARM&quot; &quot;AARCH64&quot;</property>
                                 <property name="context_help"></property>
                                 <property name="context_menu">1</property>
                                 <property name="enabled">1</property>
diff --git a/DriverDeveloper/UefiDriverWizard/UefiDriverWizard.py b/DriverDeveloper/UefiDriverWizard/UefiDriverWizard.py
index d5deb2a..f1d9d6c 100644
--- a/DriverDeveloper/UefiDriverWizard/UefiDriverWizard.py
+++ b/DriverDeveloper/UefiDriverWizard/UefiDriverWizard.py
@@ -264,7 +264,7 @@  class NewUefiDriver ( wx.Dialog ):
     self.m_staticText7.Wrap( -1 )
     bSizer4.Add( self.m_staticText7, 0, wx.ALL, 5 )
 
-    UefiDriverCpuArchitectureChoices = [ u"All CPU Architectures", u"IA32", u"X64", u"IPF", u"EBC", u"ARM" ];
+    UefiDriverCpuArchitectureChoices = [ u"All CPU Architectures", u"IA32", u"X64", u"IPF", u"EBC", u"ARM", u"AARCH64" ];
     self.UefiDriverCpuArchitecture = wx.CheckListBox( self, wx.ID_ANY, wx.DefaultPosition, wx.Size( -1,120 ), UefiDriverCpuArchitectureChoices, 0 )
     bSizer4.Add( self.UefiDriverCpuArchitecture, 0, wx.ALL, 5 )
 
diff --git a/DriverDeveloper/UefiDriverWizard/launch.py b/DriverDeveloper/UefiDriverWizard/launch.py
index 0729559..dfcab7a 100644
--- a/DriverDeveloper/UefiDriverWizard/launch.py
+++ b/DriverDeveloper/UefiDriverWizard/launch.py
@@ -419,7 +419,7 @@  class MyApp(wx.App):
         if 'All CPU Architectures' in Config.UefiDriverCpuArchitecture:
           self.InsertLines(DscFileList[0], '[Components]\n', ['  ' + UefiDriverPath + '/' + Config.UefiDriverName + '.inf\n'])
         else:
-          for Arch in ['IA32', 'X64', 'IPF', 'EBC', 'ARM']:
+          for Arch in ['IA32', 'X64', 'IPF', 'EBC', 'ARM', 'AARCH64']:
             if Arch in Config.UefiDriverCpuArchitecture:
               self.InsertLines(DscFileList[0], '[Components.' + Arch + ']\n', ['  ' + UefiDriverPath + '/' + Config.UefiDriverName + '.inf\n'])
         break
@@ -745,7 +745,7 @@  class MyApp(wx.App):
 def GenerateTestCases():
   UefiDriverTypeChoices                = [ u"UEFI Driver Model Device Driver", u"UEFI Driver Model Bus Driver", u"UEFI Driver Model Hybrid Driver", u"Root Bridge Driver", u"Service Driver", u"Initializing Driver" ]
   UefiDriverCommonFeaturesChoices      = [ u"Unloadable", u"Driver Supported EFI Version Protocol", u"HII Packages for Strings, Fonts, or Images", u"Service Binding Protocol" ];
-  UefiDriverCpuArchitectureChoices     = [ u"All CPU Architectures", u"IA32", u"X64", u"IPF", u"EBC", u"ARM" ];
+  UefiDriverCpuArchitectureChoices     = [ u"All CPU Architectures", u"IA32", u"X64", u"IPF", u"EBC", u"ARM", u"AARCH64" ];
   UefiDriverDriverModelFeaturesChoices = [ u"Component Name 2 Protocol", u"Component Name Protocol", u"Driver Family Override Protocol", u"Driver Diagnostics 2 Protocol", u"Driver Diagnostics Protocol", u"HII Packages for forms and HII based configuration ", u"Driver Configuration 2 Protocol", u"Driver Configuration Protocol", u"Driver Health Protocol", u"Bus Specific Driver Override Protocol" ];
   UefiDriverConsumedProtocolsChoices   = [ u"PCI Driver that consumes the PCI I/O Protocol", u"USB Driver that consumes the USB I/O Protocol", u"SCSI Driver that consumes the SCSI I/O Protocol", u"ATA Driver that consumes the ATA Pass Thru Protocol"];
   UefiDriverProducedProtocolsChoices   = [ u"Keyboard producing Simple Text In Protocol", u"Keyboard producing Simple Text In Ex Protocol", u"Mouse producing Simple Pointer Protocol", u"Tablet producing Absolute Pointer Protocol", u"Text Console producing the Simple Text Output Protocol", u"Byte stream device (i.e. UART) producing Serial I/O Protocol", u"Graphics Console producing the Graphics Output Protocol", u"Mass Storage Device producing Block I/O Protocol", u"Mass Storage Device producing Block I/O 2 Protocol", u"Mass Storage Device producing Storage Security Command Protocol", u"Network Interface Card producing NII/UNDI", u"Network Interface Card producing Simple Network Protocol", u"USB Host Controller producing the USB Host Controller 2 Protocol", u"ATA Host Controller producing the ATA Pass Thru Protocol", u"SCSI Host Controller producing the SCSI Pass Thru Protocol", u"SCSI Host Controller or ATA Host Controller producing the Extended SCSI Pass Thru Protocol", u"User iden