public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Leif Lindholm <leif.lindholm@linaro.org>
To: edk2-devel@lists.01.org
Cc: Jordan Justen <jordan.l.justen@intel.com>,
	Michael D Kinney <michael.d.kinney@intel.com>
Subject: [edk2-share PATCH] UefiDriverWizard: update supported targets
Date: Tue, 20 Jun 2017 12:49:24 +0100	[thread overview]
Message-ID: <20170620114924.25645-1-leif.lindholm@linaro.org> (raw)

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(-)

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 identification 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



                 reply	other threads:[~2017-06-20 11:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170620114924.25645-1-leif.lindholm@linaro.org \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox