coreboot/payloads/libpayload/drivers/usb
Subrata Banik afa39105d8 libpayload: Add x86_64 (64-bit) support
This patch introduces x86_64 (64-bit) support to the payload, building
upon the existing x86 (32-bit) architecture. Files necessary for 64-bit
compilation are now guarded by the `CONFIG_LP_ARCH_X86_64` Kconfig
option.

BUG=b:242829490
TEST=Able to verify all valid combinations between coreboot and
payload with this patch.

Payload Entry Point Behavior with below code.

+----------------+--------------------+----------------------------+
| LP_ARCH_X86_64 | Payload Entry Mode | Description                |
+----------------+--------------------+----------------------------+
| No             | 32-bit             | Direct protected mode init |
+----------------+--------------------+----------------------------+
| Yes            | 32-bit             | Protected to long mode     |
+----------------+--------------------+----------------------------+
| Yes            | 64-bit             | Long mode initialization   |
+----------------+--------------------+----------------------------+

Change-Id: I69fda47bedf1a14807b1515c4aed6e3a1d5b8585
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81968
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2024-05-26 01:26:31 +00:00
..
dwc2.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
dwc2.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
dwc2_private.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
dwc2_rh.c payloads: Drop unneeded empty lines 2020-09-21 16:20:57 +00:00
ehci.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
ehci.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
ehci_private.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
ehci_rh.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
generic_hub.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
generic_hub.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
Kconfig treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
ohci.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
ohci.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
ohci_private.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
ohci_rh.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
quirks.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
TODO
uhci.c libpayload: Add x86_64 (64-bit) support 2024-05-26 01:26:31 +00:00
uhci.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
uhci_private.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
uhci_rh.c libpayload/uhci: Re-write UHCI RH driver w/ generic_hub API 2023-06-12 17:00:28 +00:00
usb.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
usb_dev.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
usbhid.c libpayload: Add after an if conditional on the next line 2023-09-07 13:33:39 +00:00
usbhub.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
usbinit.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
usbmsc.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
xhci.c libpayload/drivers/usb/xhci.c: Check for NULL in xhci_init 2023-06-06 21:04:25 +00:00
xhci.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
xhci_commands.c xhci: Do not set the CRCR_CS bit 2020-08-31 06:38:53 +00:00
xhci_debug.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
xhci_devconf.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
xhci_events.c xhci: Fix Abort command event handling 2020-08-31 06:38:47 +00:00
xhci_private.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
xhci_rh.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00