VirtualBox

Ignore:
Timestamp:
Aug 14, 2024 1:16:30 PM (4 months ago)
Author:
vboxsync
Message:

Devices/EFI/FirmwareNew: Merge edk2-stable-202405 and make it build on aarch64, bugref:4643

Location:
trunk/src/VBox/Devices/EFI/FirmwareNew
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/FirmwareNew

  • trunk/src/VBox/Devices/EFI/FirmwareNew/MdePkg/Library/BaseFdtLib/LibFdtSupport.h

    r101291 r105670  
    6464
    6565char *
    66 strrchr    (
     66fdt_strrchr    (
    6767  const char *,
    6868  int
     
    7070
    7171unsigned long
    72 strtoul     (
     72fdt_strtoul     (
    7373  const char *,
    7474  char **,
     
    9494#define strncpy(strDest, strSource, count)  AsciiStrnCpyS(strDest, MAX_STRING_SIZE, strSource, (UINTN)count)
    9595#define strcat(strDest, strSource)          AsciiStrCatS(strDest, MAX_STRING_SIZE, strSource)
     96#define strchr(str, ch)                     ScanMem8(str, AsciiStrSize (str), (UINT8)ch)
    9697#define strcmp(string1, string2, count)     (int)(AsciiStrCmp(string1, string2))
    9798#define strncmp(string1, string2, count)    (int)(AsciiStrnCmp(string1, string2, (UINTN)(count)))
     99#define strrchr(str, ch)                    fdt_strrchr(str, ch)
     100#define strtoul(ptr, end_ptr, base)         fdt_strtoul(ptr, end_ptr, base)
    98101
    99102#endif /* FDT_LIB_SUPPORT_H_ */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette