<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/MdeModulePkg/Bus/Usb, branch trunk</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=trunk</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=trunk'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2024-06-04T03:43:08+00:00</updated>
<entry>
<title>Renormalized end-of-lines from master@27b044605cd5f6b33a3d231576003850b3fe305b</title>
<updated>2024-06-04T03:43:08+00:00</updated>
<author>
<name>kx</name>
<email>kx@radix.pro</email>
</author>
<published>2024-06-04T03:43:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=7e2ccccace24636f29ddc210b94606abd4c7e42b'/>
<id>urn:sha1:7e2ccccace24636f29ddc210b94606abd4c7e42b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MdeModulePkg: Update the comments of ReadKeyStroke and ReadKeyStrokeEx</title>
<updated>2024-04-03T02:25:06+00:00</updated>
<author>
<name>Qingyu</name>
<email>qingyu.shang@intel.com</email>
</author>
<published>2024-03-11T08:18:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=e043e3e3bfec98de90386235c8d4c62b34e06665'/>
<id>urn:sha1:e043e3e3bfec98de90386235c8d4c62b34e06665</id>
<content type='text'>
Refer to Uefi spec 2.10 section 12.3.3, Add a new retval
EFI_UNSUPPORTED to EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.ReadKeyStrokeEx
and EFI_SIMPLE_TEXT_INPUT_PROTOCOL.ReadKeyStroke().

Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Signed-off-by: Qingyu &lt;qingyu.shang@intel.com&gt;
Reviewed-by: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/Bus/Usb/UsbNetwork: Check array index range before access</title>
<updated>2024-02-26T20:46:12+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2024-02-15T19:16:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=1f161a7915e1c2c65bfaf7091712e9628107b707'/>
<id>urn:sha1:1f161a7915e1c2c65bfaf7091712e9628107b707</id>
<content type='text'>
Checks that an offset used to access array elements is within the
expected range before accessing the array item.

Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Cc: Ray Ni &lt;ray.ni@intel.com&gt;
Cc: Rebecca Cran &lt;rebecca@bsdio.com&gt;
Cc: Richard Ho &lt;richardho@ami.com&gt;
Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
Reviewed-by: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: UsbRndis: get rid of magic values</title>
<updated>2023-10-16T22:49:33+00:00</updated>
<author>
<name>Mike Maslenkin</name>
<email>mike.maslenkin@gmail.com</email>
</author>
<published>2023-08-26T01:58:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=03d6569f70939d2a1653265367121212459a6b89'/>
<id>urn:sha1:03d6569f70939d2a1653265367121212459a6b89</id>
<content type='text'>
Replace magic values used for checking Base Class, SubClass and Protocol
fields of USB Interface Descriptor.
Add definitions for Base Class EFh (Miscellaneous) and RNDIS subclass.
These definitions were taken from https://www.usb.org/defined-class-codes

Cc: Richard Ho &lt;richardho@ami.com&gt;
Cc: Rebecca Cran &lt;rebecca@bsdio.com&gt;
Signed-off-by: Mike Maslenkin &lt;mike.maslenkin@gmail.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: UsbNetwork: fix Ethernet functional descriptor processing</title>
<updated>2023-10-16T22:49:33+00:00</updated>
<author>
<name>Mike Maslenkin</name>
<email>mike.maslenkin@gmail.com</email>
</author>
<published>2023-08-26T01:57:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=e07948255cfafb75fa9cbe4555bfe3421488dd9a'/>
<id>urn:sha1:e07948255cfafb75fa9cbe4555bfe3421488dd9a</id>
<content type='text'>
This patch fixes wrong condition because of UINT16 value to integer
promotion. NumberMcFilters is UINT16 value, so when bitwise shift operator
applied to small integer type, the operation is preceded by integral
promotion. This is described in MISRA-C:2004 guideline as Rule 10.5:
"If the bitwise operators ~ and &lt;&lt; are applied to an operand of underlying
type unsigned char or unsigned short, the result shall be immediately cast
to the underlying type of the operand."

A simple fix for this issue would be the following:
  if ((UINT16)(UsbEthFunDescriptor.NumberMcFilters &lt;&lt; 1) == 0)

But this patch proposes to use bitwise AND operation with a proper bit mask
rather than shifting to prevent similar mistakes in future.

Cc: Richard Ho &lt;richardho@ami.com&gt;
Cc: Rebecca Cran &lt;rebecca@bsdio.com&gt;
Signed-off-by: Mike Maslenkin &lt;mike.maslenkin@gmail.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/Bus/Usb/UsbNetwork/UsbCdcNcm: Add USB Cdc NCM devices support</title>
<updated>2023-07-13T17:18:40+00:00</updated>
<author>
<name>Richard Ho</name>
<email>richardho@ami.com</email>
</author>
<published>2023-07-13T06:20:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ff3382a51ca726a90f49623a2b2d2e8ad8459ce2'/>
<id>urn:sha1:ff3382a51ca726a90f49623a2b2d2e8ad8459ce2</id>
<content type='text'>
This driver provides UEFI driver for USB CDC NCM device

Signed-off-by: Richard Ho &lt;richardho@ami.com&gt;
Cc: Andrew Fish &lt;afish@apple.com&gt;
Cc: Leif Lindholm &lt;quic_llindhol@quicinc.com&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Cc: Michael Kubacki &lt;mikuback@linux.microsoft.com&gt;
Cc: Zhiguang Liu &lt;zhiguang.liu@intel.com&gt;
Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Cc: Hao A Wu &lt;hao.a.wu@intel.com&gt;
Cc: Ray Ni &lt;ray.ni@intel.com&gt;
Tested-by: Tinh Nguyen &lt;tinhnguyen@os.amperecomputing.com&gt;
Acked-by: Hao A Wu &lt;hao.a.wu@intel.com&gt;
Reviewed-by: Rebecca Cran &lt;rebecca@bsdio.com&gt;
Reviewed-by: Tony Lo &lt;tonylo@ami.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/Bus/Usb/UsbNetwork/UsbCdcEcm: Add USB Cdc ECM devices support</title>
<updated>2023-07-13T17:18:40+00:00</updated>
<author>
<name>Richard Ho</name>
<email>richardho@ami.com</email>
</author>
<published>2023-07-13T06:18:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=5e400d22a0d19452eba56cd553ac692318d9dd80'/>
<id>urn:sha1:5e400d22a0d19452eba56cd553ac692318d9dd80</id>
<content type='text'>
This driver provides UEFI driver for USB CDC ECM device

Signed-off-by: Richard Ho &lt;richardho@ami.com&gt;
Cc: Andrew Fish &lt;afish@apple.com&gt;
Cc: Leif Lindholm &lt;quic_llindhol@quicinc.com&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Cc: Michael Kubacki &lt;mikuback@linux.microsoft.com&gt;
Cc: Zhiguang Liu &lt;zhiguang.liu@intel.com&gt;
Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Cc: Hao A Wu &lt;hao.a.wu@intel.com&gt;
Cc: Ray Ni &lt;ray.ni@intel.com&gt;
Tested-by: Tinh Nguyen &lt;tinhnguyen@os.amperecomputing.com&gt;
Acked-by: Hao A Wu &lt;hao.a.wu@intel.com&gt;
Reviewed-by: Rebecca Cran &lt;rebecca@bsdio.com&gt;
Reviewed-by: Tony Lo &lt;tonylo@ami.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/Bus/Usb/UsbNetwork/UsbRndis: Add USB RNDIS devices support</title>
<updated>2023-07-13T17:18:40+00:00</updated>
<author>
<name>Richard Ho</name>
<email>richardho@ami.com</email>
</author>
<published>2023-07-13T06:15:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=fc0d5922f1f866b47561545ebd15883d618c91bf'/>
<id>urn:sha1:fc0d5922f1f866b47561545ebd15883d618c91bf</id>
<content type='text'>
This driver provides UEFI driver for USB RNDIS device

Signed-off-by: Richard Ho &lt;richardho@ami.com&gt;
Cc: Andrew Fish &lt;afish@apple.com&gt;
Cc: Leif Lindholm &lt;quic_llindhol@quicinc.com&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Cc: Michael Kubacki &lt;mikuback@linux.microsoft.com&gt;
Cc: Zhiguang Liu &lt;zhiguang.liu@intel.com&gt;
Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Cc: Hao A Wu &lt;hao.a.wu@intel.com&gt;
Cc: Ray Ni &lt;ray.ni@intel.com&gt;
Tested-by: Tinh Nguyen &lt;tinhnguyen@os.amperecomputing.com&gt;
Acked-by: Hao A Wu &lt;hao.a.wu@intel.com&gt;
Reviewed-by: Rebecca Cran &lt;rebecca@bsdio.com&gt;
Reviewed-by: Tony Lo &lt;tonylo@ami.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Improve formatting of DEBUG messages in UsbBusDxe</title>
<updated>2023-03-07T07:09:20+00:00</updated>
<author>
<name>Rebecca Cran</name>
<email>rebecca@bsdio.com</email>
</author>
<published>2023-02-24T00:18:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=46f51898ff716e53921b93e8d78af0fc7d06a2f9'/>
<id>urn:sha1:46f51898ff716e53921b93e8d78af0fc7d06a2f9</id>
<content type='text'>
Improve the formatting of DEBUG messages in UsbBusDxe by adding
a hyphen to separate the EFI_STATUS code.

Signed-off-by: Rebecca Cran &lt;rebecca@bsdio.com&gt;
Reviewed-by: Hao A Wu &lt;hao.a.wu@intel.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/Usb: Read a large number of blocks</title>
<updated>2023-01-16T02:34:53+00:00</updated>
<author>
<name>Abner Chang</name>
<email>abner.chang@amd.com</email>
</author>
<published>2023-01-11T03:10:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=be8d6ef3856fac2e64e23847a8f05d37822b1f14'/>
<id>urn:sha1:be8d6ef3856fac2e64e23847a8f05d37822b1f14</id>
<content type='text'>
Changes to allow reading blocks that greater than 65535 sectors.

Signed-off-by: Jiangang He &lt;jiangang.he@amd.com&gt;
Cc: Hao A Wu &lt;hao.a.wu@intel.com&gt;
Cc: Ray Ni &lt;ray.ni@intel.com&gt;
Cc: Garrett Kirkendall &lt;garrett.kirkendall@amd.com&gt;
Cc: Abner Chang &lt;abner.chang@amd.com&gt;
Cc: Kuei-Hung Lin &lt;Kuei-Hung.Lin@amd.com&gt;
Reviewed-by: Hao A Wu &lt;hao.a.wu@intel.com&gt;
</content>
</entry>
</feed>
