diff --git a/ports/arm9/gnu/inc/ux_port.h b/ports/arm9/gnu/inc/ux_port.h index 6c1324cd..7a8e2b31 100644 --- a/ports/arm9/gnu/inc/ux_port.h +++ b/ports/arm9/gnu/inc/ux_port.h @@ -1,18 +1,18 @@ /*************************************************************************** - * Copyright (c) 2024 Microsoft Corporation - * + * Copyright (c) 2024 Microsoft Corporation + * * This program and the accompanying materials are made available under the * terms of the MIT License which is available at * https://opensource.org/licenses/MIT. - * + * * SPDX-License-Identifier: MIT **************************************************************************/ /**************************************************************************/ /**************************************************************************/ -/** */ -/** USBX Component */ +/** */ +/** USBX Component */ /** */ /** Port Specific */ /** */ @@ -20,11 +20,11 @@ /**************************************************************************/ -/**************************************************************************/ -/* */ -/* PORT SPECIFIC C INFORMATION RELEASE */ -/* */ -/* ux_port.h ARM9/GNU */ +/**************************************************************************/ +/* */ +/* PORT SPECIFIC C INFORMATION RELEASE */ +/* */ +/* ux_port.h ARM9/GNU */ /* 6.3.0 */ /* */ /* AUTHOR */ @@ -32,14 +32,14 @@ /* Chaoqiong Xiao, Microsoft Corporation */ /* */ /* DESCRIPTION */ -/* */ -/* This file contains data type definitions that make USBX function */ -/* identically on a variety of different processor architectures. */ -/* */ -/* RELEASE HISTORY */ -/* */ -/* DATE NAME DESCRIPTION */ -/* */ +/* */ +/* This file contains data type definitions that make USBX function */ +/* identically on a variety of different processor architectures. */ +/* */ +/* RELEASE HISTORY */ +/* */ +/* DATE NAME DESCRIPTION */ +/* */ /* 09-30-2020 Chaoqiong Xiao Initial Version 6.1 */ /* 01-31-2022 Chaoqiong Xiao Modified comment(s), */ /* moved tx_api.h include and */ @@ -61,7 +61,7 @@ #ifdef UX_INCLUDE_USER_DEFINE_FILE -/* Yes, include the user defines in ux_user.h. The defines in this file may +/* Yes, include the user defines in ux_user.h. The defines in this file may alternately be defined on the command line. */ #include "ux_user.h" @@ -210,6 +210,10 @@ typedef LONG SLONG; #define UX_SLAVE_REQUEST_DATA_MAX_LENGTH 4096 #endif +#ifndef UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT +#define UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT 8 +#endif + #ifndef UX_USE_IO_INSTRUCTIONS /* Don't use IO instructions if this define is not set. Default to memory mapped. */ @@ -251,7 +255,7 @@ VOID outpl(ULONG,ULONG); /* Define the version ID of USBX. This may be utilized by the application. */ #ifdef UX_SYSTEM_INIT -CHAR _ux_version_id[] = +CHAR _ux_version_id[] = "Copyright (c) 2024 Microsoft Corporation. * USBX ARM9/GNU Version 6.4.1 *"; #else extern CHAR _ux_version_id[]; diff --git a/ports/cortex_a15/gnu/inc/ux_port.h b/ports/cortex_a15/gnu/inc/ux_port.h index 90c4f073..42bf33c5 100644 --- a/ports/cortex_a15/gnu/inc/ux_port.h +++ b/ports/cortex_a15/gnu/inc/ux_port.h @@ -1,18 +1,18 @@ /*************************************************************************** - * Copyright (c) 2024 Microsoft Corporation - * + * Copyright (c) 2024 Microsoft Corporation + * * This program and the accompanying materials are made available under the * terms of the MIT License which is available at * https://opensource.org/licenses/MIT. - * + * * SPDX-License-Identifier: MIT **************************************************************************/ /**************************************************************************/ /**************************************************************************/ -/** */ -/** USBX Component */ +/** */ +/** USBX Component */ /** */ /** Port Specific */ /** */ @@ -20,11 +20,11 @@ /**************************************************************************/ -/**************************************************************************/ -/* */ -/* PORT SPECIFIC C INFORMATION RELEASE */ -/* */ -/* ux_port.h Cortex-A15/GNU */ +/**************************************************************************/ +/* */ +/* PORT SPECIFIC C INFORMATION RELEASE */ +/* */ +/* ux_port.h Cortex-A15/GNU */ /* 6.3.0 */ /* */ /* AUTHOR */ @@ -32,14 +32,14 @@ /* Chaoqiong Xiao, Microsoft Corporation */ /* */ /* DESCRIPTION */ -/* */ -/* This file contains data type definitions that make USBX function */ -/* identically on a variety of different processor architectures. */ -/* */ -/* RELEASE HISTORY */ -/* */ -/* DATE NAME DESCRIPTION */ -/* */ +/* */ +/* This file contains data type definitions that make USBX function */ +/* identically on a variety of different processor architectures. */ +/* */ +/* RELEASE HISTORY */ +/* */ +/* DATE NAME DESCRIPTION */ +/* */ /* 09-30-2020 Chaoqiong Xiao Initial Version 6.1 */ /* 01-31-2022 Chaoqiong Xiao Modified comment(s), */ /* moved tx_api.h include and */ @@ -61,7 +61,7 @@ #ifdef UX_INCLUDE_USER_DEFINE_FILE -/* Yes, include the user defines in ux_user.h. The defines in this file may +/* Yes, include the user defines in ux_user.h. The defines in this file may alternately be defined on the command line. */ #include "ux_user.h" @@ -210,6 +210,10 @@ typedef LONG SLONG; #define UX_SLAVE_REQUEST_DATA_MAX_LENGTH 4096 #endif +#ifndef UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT +#define UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT 8 +#endif + #ifndef UX_USE_IO_INSTRUCTIONS /* Don't use IO instructions if this define is not set. Default to memory mapped. */ @@ -247,7 +251,7 @@ VOID outpl(ULONG,ULONG); /* Define the version ID of USBX. This may be utilized by the application. */ #ifdef UX_SYSTEM_INIT -CHAR _ux_version_id[] = +CHAR _ux_version_id[] = "Copyright (c) 2024 Microsoft Corporation. * USBX Cortex-A15/GNU Version 6.4.1 *"; #else extern CHAR _ux_version_id[]; diff --git a/ports/cortex_a5x/ac6/inc/ux_port.h b/ports/cortex_a5x/ac6/inc/ux_port.h index c6c7868d..e2c65063 100644 --- a/ports/cortex_a5x/ac6/inc/ux_port.h +++ b/ports/cortex_a5x/ac6/inc/ux_port.h @@ -1,18 +1,18 @@ /*************************************************************************** - * Copyright (c) 2024 Microsoft Corporation - * + * Copyright (c) 2024 Microsoft Corporation + * * This program and the accompanying materials are made available under the * terms of the MIT License which is available at * https://opensource.org/licenses/MIT. - * + * * SPDX-License-Identifier: MIT **************************************************************************/ /**************************************************************************/ /**************************************************************************/ -/** */ -/** USBX Component */ +/** */ +/** USBX Component */ /** */ /** Port Specific */ /** */ @@ -20,26 +20,26 @@ /**************************************************************************/ -/**************************************************************************/ -/* */ -/* PORT SPECIFIC C INFORMATION RELEASE */ -/* */ -/* ux_port.h Cortex-A5x/AC6 */ -/* 6.3.0 */ +/**************************************************************************/ +/* */ +/* PORT SPECIFIC C INFORMATION RELEASE */ +/* */ +/* ux_port.h Cortex-A5x/AC6 */ +/* 6.3.0 */ +/* */ +/* AUTHOR */ +/* */ +/* TCRG, Express Logic, Inc. */ +/* */ +/* DESCRIPTION */ +/* */ +/* This file contains data type definitions that make USBX function */ +/* identically on a variety of different processor architectures. */ +/* */ +/* RELEASE HISTORY */ +/* */ +/* DATE NAME DESCRIPTION */ /* */ -/* AUTHOR */ -/* */ -/* TCRG, Express Logic, Inc. */ -/* */ -/* DESCRIPTION */ -/* */ -/* This file contains data type definitions that make USBX function */ -/* identically on a variety of different processor architectures. */ -/* */ -/* RELEASE HISTORY */ -/* */ -/* DATE NAME DESCRIPTION */ -/* */ /* 09-30-2020 Chaoqiong Xiao Initial Version 6.1 */ /* 01-31-2022 Chaoqiong Xiao Modified comment(s), */ /* moved tx_api.h include and */ @@ -49,8 +49,8 @@ /* added basic types guards, */ /* improved SLONG typedef, */ /* resulting in version 6.3.0 */ -/* */ -/**************************************************************************/ +/* */ +/**************************************************************************/ #ifndef UX_PORT_H #define UX_PORT_H @@ -61,7 +61,7 @@ #ifdef UX_INCLUDE_USER_DEFINE_FILE -/* Yes, include the user defines in ux_user.h. The defines in this file may +/* Yes, include the user defines in ux_user.h. The defines in this file may alternately be defined on the command line. */ #include "ux_user.h" @@ -206,6 +206,10 @@ typedef LONG SLONG; #define UX_SLAVE_REQUEST_DATA_MAX_LENGTH 4096 #endif +#ifndef UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT +#define UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT 8 +#endif + /* Define the extension to hold the control block for 64-bit mode. */ #define UX_THREAD_EXTENSION_PTR_SET(a, b) { \ TX_THREAD *thread_ptr; \ @@ -271,7 +275,7 @@ VOID outpl(ULONG,ULONG); /* Define the version ID of USBX. This may be utilized by the application. */ #ifdef UX_SYSTEM_INIT -CHAR _ux_version_id[] = +CHAR _ux_version_id[] = "Copyright (c) 2024 Microsoft Corporation. * USBX Cortex-A5x/AC6 Version 6.4.1 *"; #else extern CHAR _ux_version_id[]; diff --git a/ports/cortex_a8/iar/inc/ux_port.h b/ports/cortex_a8/iar/inc/ux_port.h index 5e580f69..c7def078 100644 --- a/ports/cortex_a8/iar/inc/ux_port.h +++ b/ports/cortex_a8/iar/inc/ux_port.h @@ -1,18 +1,18 @@ /*************************************************************************** - * Copyright (c) 2024 Microsoft Corporation - * + * Copyright (c) 2024 Microsoft Corporation + * * This program and the accompanying materials are made available under the * terms of the MIT License which is available at * https://opensource.org/licenses/MIT. - * + * * SPDX-License-Identifier: MIT **************************************************************************/ /**************************************************************************/ /**************************************************************************/ -/** */ -/** USBX Component */ +/** */ +/** USBX Component */ /** */ /** Port Specific */ /** */ @@ -20,11 +20,11 @@ /**************************************************************************/ -/**************************************************************************/ -/* */ -/* PORT SPECIFIC C INFORMATION RELEASE */ -/* */ -/* ux_port.h Cortex-A8/IAR */ +/**************************************************************************/ +/* */ +/* PORT SPECIFIC C INFORMATION RELEASE */ +/* */ +/* ux_port.h Cortex-A8/IAR */ /* 6.3.0 */ /* */ /* AUTHOR */ @@ -32,14 +32,14 @@ /* Chaoqiong Xiao, Microsoft Corporation */ /* */ /* DESCRIPTION */ -/* */ -/* This file contains data type definitions that make USBX function */ -/* identically on a variety of different processor architectures. */ -/* */ -/* RELEASE HISTORY */ -/* */ -/* DATE NAME DESCRIPTION */ -/* */ +/* */ +/* This file contains data type definitions that make USBX function */ +/* identically on a variety of different processor architectures. */ +/* */ +/* RELEASE HISTORY */ +/* */ +/* DATE NAME DESCRIPTION */ +/* */ /* 09-30-2020 Chaoqiong Xiao Initial Version 6.1 */ /* 01-31-2022 Chaoqiong Xiao Modified comment(s), */ /* moved tx_api.h include and */ @@ -61,7 +61,7 @@ #ifdef UX_INCLUDE_USER_DEFINE_FILE -/* Yes, include the user defines in ux_user.h. The defines in this file may +/* Yes, include the user defines in ux_user.h. The defines in this file may alternately be defined on the command line. */ #include "ux_user.h" @@ -258,7 +258,7 @@ VOID outpl(ULONG,ULONG); /* Define the version ID of USBX. This may be utilized by the application. */ #ifdef UX_SYSTEM_INIT -CHAR _ux_version_id[] = +CHAR _ux_version_id[] = "Copyright (c) 2024 Microsoft Corporation. * USBX Cortex-A8/IAR Version 6.4.1 *"; #else extern CHAR _ux_version_id[]; diff --git a/ports/cortex_a9/gnu/inc/ux_port.h b/ports/cortex_a9/gnu/inc/ux_port.h index 4515b3be..382cefa0 100644 --- a/ports/cortex_a9/gnu/inc/ux_port.h +++ b/ports/cortex_a9/gnu/inc/ux_port.h @@ -1,18 +1,18 @@ /*************************************************************************** - * Copyright (c) 2024 Microsoft Corporation - * + * Copyright (c) 2024 Microsoft Corporation + * * This program and the accompanying materials are made available under the * terms of the MIT License which is available at * https://opensource.org/licenses/MIT. - * + * * SPDX-License-Identifier: MIT **************************************************************************/ /**************************************************************************/ /**************************************************************************/ -/** */ -/** USBX Component */ +/** */ +/** USBX Component */ /** */ /** Port Specific */ /** */ @@ -20,11 +20,11 @@ /**************************************************************************/ -/**************************************************************************/ -/* */ -/* PORT SPECIFIC C INFORMATION RELEASE */ -/* */ -/* ux_port.h ARM9/GNU */ +/**************************************************************************/ +/* */ +/* PORT SPECIFIC C INFORMATION RELEASE */ +/* */ +/* ux_port.h ARM9/GNU */ /* 6.3.0 */ /* */ /* AUTHOR */ @@ -32,14 +32,14 @@ /* Chaoqiong Xiao, Microsoft Corporation */ /* */ /* DESCRIPTION */ -/* */ -/* This file contains data type definitions that make USBX function */ -/* identically on a variety of different processor architectures. */ -/* */ -/* RELEASE HISTORY */ -/* */ -/* DATE NAME DESCRIPTION */ -/* */ +/* */ +/* This file contains data type definitions that make USBX function */ +/* identically on a variety of different processor architectures. */ +/* */ +/* RELEASE HISTORY */ +/* */ +/* DATE NAME DESCRIPTION */ +/* */ /* 09-30-2020 Chaoqiong Xiao Initial Version 6.1 */ /* 01-31-2022 Chaoqiong Xiao Modified comment(s), */ /* moved tx_api.h include and */ @@ -61,7 +61,7 @@ #ifdef UX_INCLUDE_USER_DEFINE_FILE -/* Yes, include the user defines in ux_user.h. The defines in this file may +/* Yes, include the user defines in ux_user.h. The defines in this file may alternately be defined on the command line. */ #include "ux_user.h" @@ -258,7 +258,7 @@ VOID outpl(ULONG,ULONG); /* Define the version ID of USBX. This may be utilized by the application. */ #ifdef UX_SYSTEM_INIT -CHAR _ux_version_id[] = +CHAR _ux_version_id[] = "Copyright (c) 2024 Microsoft Corporation. * USBX ARM9/GNU Version 6.4.1 *"; #else extern CHAR _ux_version_id[]; diff --git a/ports/cortex_a9/iar/inc/ux_port.h b/ports/cortex_a9/iar/inc/ux_port.h index 5c9e2f2b..bd423fdc 100644 --- a/ports/cortex_a9/iar/inc/ux_port.h +++ b/ports/cortex_a9/iar/inc/ux_port.h @@ -1,18 +1,18 @@ /*************************************************************************** - * Copyright (c) 2024 Microsoft Corporation - * + * Copyright (c) 2024 Microsoft Corporation + * * This program and the accompanying materials are made available under the * terms of the MIT License which is available at * https://opensource.org/licenses/MIT. - * + * * SPDX-License-Identifier: MIT **************************************************************************/ /**************************************************************************/ /**************************************************************************/ -/** */ -/** USBX Component */ +/** */ +/** USBX Component */ /** */ /** Port Specific */ /** */ @@ -20,11 +20,11 @@ /**************************************************************************/ -/**************************************************************************/ -/* */ -/* PORT SPECIFIC C INFORMATION RELEASE */ -/* */ -/* ux_port.h ARM9/IAR */ +/**************************************************************************/ +/* */ +/* PORT SPECIFIC C INFORMATION RELEASE */ +/* */ +/* ux_port.h ARM9/IAR */ /* 6.3.0 */ /* */ /* AUTHOR */ @@ -32,14 +32,14 @@ /* Chaoqiong Xiao, Microsoft Corporation */ /* */ /* DESCRIPTION */ -/* */ -/* This file contains data type definitions that make USBX function */ -/* identically on a variety of different processor architectures. */ -/* */ -/* RELEASE HISTORY */ -/* */ -/* DATE NAME DESCRIPTION */ -/* */ +/* */ +/* This file contains data type definitions that make USBX function */ +/* identically on a variety of different processor architectures. */ +/* */ +/* RELEASE HISTORY */ +/* */ +/* DATE NAME DESCRIPTION */ +/* */ /* 09-30-2020 Chaoqiong Xiao Initial Version 6.1 */ /* 01-31-2022 Chaoqiong Xiao Modified comment(s), */ /* moved tx_api.h include and */ @@ -61,7 +61,7 @@ #ifdef UX_INCLUDE_USER_DEFINE_FILE -/* Yes, include the user defines in ux_user.h. The defines in this file may +/* Yes, include the user defines in ux_user.h. The defines in this file may alternately be defined on the command line. */ #include "ux_user.h" @@ -258,7 +258,7 @@ VOID outpl(ULONG,ULONG); /* Define the version ID of USBX. This may be utilized by the application. */ #ifdef UX_SYSTEM_INIT -CHAR _ux_version_id[] = +CHAR _ux_version_id[] = "Copyright (c) 2024 Microsoft Corporation. * USBX ARM9/IAR Version 6.4.1 *"; #else extern CHAR _ux_version_id[]; diff --git a/ports/cortex_m0/gnu/inc/ux_port.h b/ports/cortex_m0/gnu/inc/ux_port.h index 9c7438e5..01aaf74c 100644 --- a/ports/cortex_m0/gnu/inc/ux_port.h +++ b/ports/cortex_m0/gnu/inc/ux_port.h @@ -1,18 +1,18 @@ /*************************************************************************** - * Copyright (c) 2024 Microsoft Corporation - * + * Copyright (c) 2024 Microsoft Corporation + * * This program and the accompanying materials are made available under the * terms of the MIT License which is available at * https://opensource.org/licenses/MIT. - * + * * SPDX-License-Identifier: MIT **************************************************************************/ /**************************************************************************/ /**************************************************************************/ -/** */ -/** USBX Component */ +/** */ +/** USBX Component */ /** */ /** Port Specific */ /** */ @@ -20,11 +20,11 @@ /**************************************************************************/ -/**************************************************************************/ -/* */ -/* PORT SPECIFIC C INFORMATION RELEASE */ -/* */ -/* ux_port.h Cortex-M0/GNU */ +/**************************************************************************/ +/* */ +/* PORT SPECIFIC C INFORMATION RELEASE */ +/* */ +/* ux_port.h Cortex-M0/GNU */ /* 6.3.0 */ /* */ /* AUTHOR */ @@ -32,14 +32,14 @@ /* Chaoqiong Xiao, Microsoft Corporation */ /* */ /* DESCRIPTION */ -/* */ -/* This file contains data type definitions that make USBX function */ -/* identically on a variety of different processor architectures. */ -/* */ -/* RELEASE HISTORY */ -/* */ -/* DATE NAME DESCRIPTION */ -/* */ +/* */ +/* This file contains data type definitions that make USBX function */ +/* identically on a variety of different processor architectures. */ +/* */ +/* RELEASE HISTORY */ +/* */ +/* DATE NAME DESCRIPTION */ +/* */ /* 05-19-2020 Chaoqiong Xiao Initial Version 6.0 */ /* 09-30-2020 Chaoqiong Xiao Modified comment(s), */ /* resulting in version 6.1 */ @@ -63,7 +63,7 @@ #ifdef UX_INCLUDE_USER_DEFINE_FILE -/* Yes, include the user defines in ux_user.h. The defines in this file may +/* Yes, include the user defines in ux_user.h. The defines in this file may alternately be defined on the command line. */ #include "ux_user.h" @@ -215,6 +215,10 @@ typedef LONG SLONG; #define UX_SLAVE_REQUEST_DATA_MAX_LENGTH 2048 #endif +#ifndef UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT +#define UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT 8 +#endif + #ifndef UX_USE_IO_INSTRUCTIONS /* Don't use IO instructions if this define is not set. Default to memory mapped. */ @@ -252,7 +256,7 @@ VOID outpl(ULONG,ULONG); /* Define the version ID of USBX. This may be utilized by the application. */ #ifdef UX_SYSTEM_INIT -CHAR _ux_version_id[] = +CHAR _ux_version_id[] = "Copyright (c) 2024 Microsoft Corporation. * USBX Cortex-M0/GNU Version 6.4.1 *"; #else extern CHAR _ux_version_id[]; diff --git a/ports/cortex_m0/iar/inc/ux_port.h b/ports/cortex_m0/iar/inc/ux_port.h index 31e9118f..08d87b10 100644 --- a/ports/cortex_m0/iar/inc/ux_port.h +++ b/ports/cortex_m0/iar/inc/ux_port.h @@ -1,18 +1,18 @@ /*************************************************************************** - * Copyright (c) 2024 Microsoft Corporation - * + * Copyright (c) 2024 Microsoft Corporation + * * This program and the accompanying materials are made available under the * terms of the MIT License which is available at * https://opensource.org/licenses/MIT. - * + * * SPDX-License-Identifier: MIT **************************************************************************/ /**************************************************************************/ /**************************************************************************/ -/** */ -/** USBX Component */ +/** */ +/** USBX Component */ /** */ /** Port Specific */ /** */ @@ -20,11 +20,11 @@ /**************************************************************************/ -/**************************************************************************/ -/* */ -/* PORT SPECIFIC C INFORMATION RELEASE */ -/* */ -/* ux_port.h Cortex-M0/IAR */ +/**************************************************************************/ +/* */ +/* PORT SPECIFIC C INFORMATION RELEASE */ +/* */ +/* ux_port.h Cortex-M0/IAR */ /* 6.3.0 */ /* */ /* AUTHOR */ @@ -32,14 +32,14 @@ /* Chaoqiong Xiao, Microsoft Corporation */ /* */ /* DESCRIPTION */ -/* */ -/* This file contains data type definitions that make USBX function */ -/* identically on a variety of different processor architectures. */ -/* */ -/* RELEASE HISTORY */ -/* */ -/* DATE NAME DESCRIPTION */ -/* */ +/* */ +/* This file contains data type definitions that make USBX function */ +/* identically on a variety of different processor architectures. */ +/* */ +/* RELEASE HISTORY */ +/* */ +/* DATE NAME DESCRIPTION */ +/* */ /* 09-30-2020 Chaoqiong Xiao Initial Version 6.1 */ /* 01-31-2022 Chaoqiong Xiao Modified comment(s), */ /* moved tx_api.h include and */ @@ -61,7 +61,7 @@ #ifdef UX_INCLUDE_USER_DEFINE_FILE -/* Yes, include the user defines in ux_user.h. The defines in this file may +/* Yes, include the user defines in ux_user.h. The defines in this file may alternately be defined on the command line. */ #include "ux_user.h" @@ -213,6 +213,10 @@ typedef LONG SLONG; #define UX_SLAVE_REQUEST_DATA_MAX_LENGTH 2048 #endif +#ifndef UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT +#define UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT 8 +#endif + #ifndef UX_USE_IO_INSTRUCTIONS /* Don't use IO instructions if this define is not set. Default to memory mapped. */ @@ -254,7 +258,7 @@ VOID outpl(ULONG,ULONG); /* Define the version ID of USBX. This may be utilized by the application. */ #ifdef UX_SYSTEM_INIT -CHAR _ux_version_id[] = +CHAR _ux_version_id[] = "Copyright (c) 2024 Microsoft Corporation. * USBX Cortex-M0/IAR Version 6.4.1 *"; #else extern CHAR _ux_version_id[]; diff --git a/ports/cortex_m3/gnu/inc/ux_port.h b/ports/cortex_m3/gnu/inc/ux_port.h index a3460bee..42983ea4 100644 --- a/ports/cortex_m3/gnu/inc/ux_port.h +++ b/ports/cortex_m3/gnu/inc/ux_port.h @@ -1,18 +1,18 @@ /*************************************************************************** - * Copyright (c) 2024 Microsoft Corporation - * + * Copyright (c) 2024 Microsoft Corporation + * * This program and the accompanying materials are made available under the * terms of the MIT License which is available at * https://opensource.org/licenses/MIT. - * + * * SPDX-License-Identifier: MIT **************************************************************************/ /**************************************************************************/ /**************************************************************************/ -/** */ -/** USBX Component */ +/** */ +/** USBX Component */ /** */ /** Port Specific */ /** */ @@ -20,11 +20,11 @@ /**************************************************************************/ -/**************************************************************************/ -/* */ -/* PORT SPECIFIC C INFORMATION RELEASE */ -/* */ -/* ux_port.h Cortex-M3/GNU */ +/**************************************************************************/ +/* */ +/* PORT SPECIFIC C INFORMATION RELEASE */ +/* */ +/* ux_port.h Cortex-M3/GNU */ /* 6.3.0 */ /* */ /* AUTHOR */ @@ -32,14 +32,14 @@ /* Chaoqiong Xiao, Microsoft Corporation */ /* */ /* DESCRIPTION */ -/* */ -/* This file contains data type definitions that make USBX function */ -/* identically on a variety of different processor architectures. */ -/* */ -/* RELEASE HISTORY */ -/* */ -/* DATE NAME DESCRIPTION */ -/* */ +/* */ +/* This file contains data type definitions that make USBX function */ +/* identically on a variety of different processor architectures. */ +/* */ +/* RELEASE HISTORY */ +/* */ +/* DATE NAME DESCRIPTION */ +/* */ /* 05-19-2020 Chaoqiong Xiao Initial Version 6.0 */ /* 09-30-2020 Chaoqiong Xiao Modified comment(s), */ /* resulting in version 6.1 */ @@ -63,7 +63,7 @@ #ifdef UX_INCLUDE_USER_DEFINE_FILE -/* Yes, include the user defines in ux_user.h. The defines in this file may +/* Yes, include the user defines in ux_user.h. The defines in this file may alternately be defined on the command line. */ #include "ux_user.h" @@ -215,6 +215,10 @@ typedef LONG SLONG; #define UX_SLAVE_REQUEST_DATA_MAX_LENGTH 2048 #endif +#ifndef UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT +#define UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT 8 +#endif + #ifndef UX_USE_IO_INSTRUCTIONS /* Don't use IO instructions if this define is not set. Default to memory mapped. */ @@ -252,7 +256,7 @@ VOID outpl(ULONG,ULONG); /* Define the version ID of USBX. This may be utilized by the application. */ #ifdef UX_SYSTEM_INIT -CHAR _ux_version_id[] = +CHAR _ux_version_id[] = "Copyright (c) 2024 Microsoft Corporation. * USBX Cortex-M3/GNU Version 6.4.1 *"; #else extern CHAR _ux_version_id[]; diff --git a/ports/cortex_m3/iar/inc/ux_port.h b/ports/cortex_m3/iar/inc/ux_port.h index bd2929a0..2f63f25d 100644 --- a/ports/cortex_m3/iar/inc/ux_port.h +++ b/ports/cortex_m3/iar/inc/ux_port.h @@ -1,18 +1,18 @@ /*************************************************************************** - * Copyright (c) 2024 Microsoft Corporation - * + * Copyright (c) 2024 Microsoft Corporation + * * This program and the accompanying materials are made available under the * terms of the MIT License which is available at * https://opensource.org/licenses/MIT. - * + * * SPDX-License-Identifier: MIT **************************************************************************/ /**************************************************************************/ /**************************************************************************/ -/** */ -/** USBX Component */ +/** */ +/** USBX Component */ /** */ /** Port Specific */ /** */ @@ -20,11 +20,11 @@ /**************************************************************************/ -/**************************************************************************/ -/* */ -/* PORT SPECIFIC C INFORMATION RELEASE */ -/* */ -/* ux_port.h Cortex-M3/IAR */ +/**************************************************************************/ +/* */ +/* PORT SPECIFIC C INFORMATION RELEASE */ +/* */ +/* ux_port.h Cortex-M3/IAR */ /* 6.3.0 */ /* */ /* AUTHOR */ @@ -32,14 +32,14 @@ /* Chaoqiong Xiao, Microsoft Corporation */ /* */ /* DESCRIPTION */ -/* */ -/* This file contains data type definitions that make USBX function */ -/* identically on a variety of different processor architectures. */ -/* */ -/* RELEASE HISTORY */ -/* */ -/* DATE NAME DESCRIPTION */ -/* */ +/* */ +/* This file contains data type definitions that make USBX function */ +/* identically on a variety of different processor architectures. */ +/* */ +/* RELEASE HISTORY */ +/* */ +/* DATE NAME DESCRIPTION */ +/* */ /* 09-30-2020 Chaoqiong Xiao Initial Version 6.1 */ /* 01-31-2022 Chaoqiong Xiao Modified comment(s), */ /* moved tx_api.h include and */ @@ -61,7 +61,7 @@ #ifdef UX_INCLUDE_USER_DEFINE_FILE -/* Yes, include the user defines in ux_user.h. The defines in this file may +/* Yes, include the user defines in ux_user.h. The defines in this file may alternately be defined on the command line. */ #include "ux_user.h" @@ -208,11 +208,14 @@ typedef LONG SLONG; #define UX_SLAVE_REQUEST_CONTROL_MAX_LENGTH 256 #endif - #ifndef UX_SLAVE_REQUEST_DATA_MAX_LENGTH #define UX_SLAVE_REQUEST_DATA_MAX_LENGTH 2048 #endif +#ifndef UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT +#define UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT 8 +#endif + #ifndef UX_USE_IO_INSTRUCTIONS /* Don't use IO instructions if this define is not set. Default to memory mapped. */ @@ -254,7 +257,7 @@ VOID outpl(ULONG,ULONG); /* Define the version ID of USBX. This may be utilized by the application. */ #ifdef UX_SYSTEM_INIT -CHAR _ux_version_id[] = +CHAR _ux_version_id[] = "Copyright (c) 2024 Microsoft Corporation. * USBX Cortex-M3/IAR Version 6.4.1 *"; #else extern CHAR _ux_version_id[]; diff --git a/ports/cortex_m33/gnu/inc/ux_port.h b/ports/cortex_m33/gnu/inc/ux_port.h index 4785f605..06f73b0b 100644 --- a/ports/cortex_m33/gnu/inc/ux_port.h +++ b/ports/cortex_m33/gnu/inc/ux_port.h @@ -215,6 +215,10 @@ typedef LONG SLONG; #define UX_SLAVE_REQUEST_DATA_MAX_LENGTH 2048 #endif +#ifndef UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT +#define UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT 8 +#endif + #ifndef UX_USE_IO_INSTRUCTIONS /* Don't use IO instructions if this define is not set. Default to memory mapped. */ diff --git a/ports/cortex_m33/iar/inc/ux_port.h b/ports/cortex_m33/iar/inc/ux_port.h index 2c95986f..92134747 100644 --- a/ports/cortex_m33/iar/inc/ux_port.h +++ b/ports/cortex_m33/iar/inc/ux_port.h @@ -213,6 +213,10 @@ typedef LONG SLONG; #define UX_SLAVE_REQUEST_DATA_MAX_LENGTH 2048 #endif +#ifndef UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT +#define UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT 8 +#endif + #ifndef UX_USE_IO_INSTRUCTIONS /* Don't use IO instructions if this define is not set. Default to memory mapped. */ diff --git a/ports/cortex_r4/gnu/inc/ux_port.h b/ports/cortex_r4/gnu/inc/ux_port.h index 47b999ad..f5657ae8 100644 --- a/ports/cortex_r4/gnu/inc/ux_port.h +++ b/ports/cortex_r4/gnu/inc/ux_port.h @@ -1,18 +1,18 @@ /*************************************************************************** - * Copyright (c) 2024 Microsoft Corporation - * + * Copyright (c) 2024 Microsoft Corporation + * * This program and the accompanying materials are made available under the * terms of the MIT License which is available at * https://opensource.org/licenses/MIT. - * + * * SPDX-License-Identifier: MIT **************************************************************************/ /**************************************************************************/ /**************************************************************************/ -/** */ -/** USBX Component */ +/** */ +/** USBX Component */ /** */ /** Port Specific */ /** */ @@ -20,11 +20,11 @@ /**************************************************************************/ -/**************************************************************************/ -/* */ -/* PORT SPECIFIC C INFORMATION RELEASE */ -/* */ -/* ux_port.h Cortex-R4/GNU */ +/**************************************************************************/ +/* */ +/* PORT SPECIFIC C INFORMATION RELEASE */ +/* */ +/* ux_port.h Cortex-R4/GNU */ /* 6.3.0 */ /* */ /* AUTHOR */ @@ -32,14 +32,14 @@ /* Chaoqiong Xiao, Microsoft Corporation */ /* */ /* DESCRIPTION */ -/* */ -/* This file contains data type definitions that make USBX function */ -/* identically on a variety of different processor architectures. */ -/* */ -/* RELEASE HISTORY */ -/* */ -/* DATE NAME DESCRIPTION */ -/* */ +/* */ +/* This file contains data type definitions that make USBX function */ +/* identically on a variety of different processor architectures. */ +/* */ +/* RELEASE HISTORY */ +/* */ +/* DATE NAME DESCRIPTION */ +/* */ /* 09-30-2020 Chaoqiong Xiao Initial Version 6.1 */ /* 01-31-2022 Chaoqiong Xiao Modified comment(s), */ /* moved tx_api.h include and */ @@ -61,7 +61,7 @@ #ifdef UX_INCLUDE_USER_DEFINE_FILE -/* Yes, include the user defines in ux_user.h. The defines in this file may +/* Yes, include the user defines in ux_user.h. The defines in this file may alternately be defined on the command line. */ #include "ux_user.h" @@ -217,6 +217,10 @@ typedef LONG SLONG; #define UX_SLAVE_REQUEST_DATA_MAX_LENGTH 4096 #endif +#ifndef UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT +#define UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT 8 +#endif + #ifndef UX_USE_IO_INSTRUCTIONS /* Don't use IO instructions if this define is not set. Default to memory mapped. */ @@ -254,7 +258,7 @@ VOID outpl(ULONG,ULONG); /* Define the version ID of USBX. This may be utilized by the application. */ #ifdef UX_SYSTEM_INIT -CHAR _ux_version_id[] = +CHAR _ux_version_id[] = "Copyright (c) 2024 Microsoft Corporation. * USBX Cortex-R4/GNU Version 6.4.1 *"; #else extern CHAR _ux_version_id[]; diff --git a/ports/cortex_r4/iar/inc/ux_port.h b/ports/cortex_r4/iar/inc/ux_port.h index 6b18f7bb..ecefdd79 100644 --- a/ports/cortex_r4/iar/inc/ux_port.h +++ b/ports/cortex_r4/iar/inc/ux_port.h @@ -1,18 +1,18 @@ /*************************************************************************** - * Copyright (c) 2024 Microsoft Corporation - * + * Copyright (c) 2024 Microsoft Corporation + * * This program and the accompanying materials are made available under the * terms of the MIT License which is available at * https://opensource.org/licenses/MIT. - * + * * SPDX-License-Identifier: MIT **************************************************************************/ /**************************************************************************/ /**************************************************************************/ -/** */ -/** USBX Component */ +/** */ +/** USBX Component */ /** */ /** Port Specific */ /** */ @@ -20,11 +20,11 @@ /**************************************************************************/ -/**************************************************************************/ -/* */ -/* PORT SPECIFIC C INFORMATION RELEASE */ -/* */ -/* ux_port.h Cortex-R4/IAR */ +/**************************************************************************/ +/* */ +/* PORT SPECIFIC C INFORMATION RELEASE */ +/* */ +/* ux_port.h Cortex-R4/IAR */ /* 6.3.0 */ /* */ /* AUTHOR */ @@ -32,14 +32,14 @@ /* Chaoqiong Xiao, Microsoft Corporation */ /* */ /* DESCRIPTION */ -/* */ -/* This file contains data type definitions that make USBX function */ -/* identically on a variety of different processor architectures. */ -/* */ -/* RELEASE HISTORY */ -/* */ -/* DATE NAME DESCRIPTION */ -/* */ +/* */ +/* This file contains data type definitions that make USBX function */ +/* identically on a variety of different processor architectures. */ +/* */ +/* RELEASE HISTORY */ +/* */ +/* DATE NAME DESCRIPTION */ +/* */ /* 09-30-2020 Chaoqiong Xiao Initial Version 6.1 */ /* 01-31-2022 Chaoqiong Xiao Modified comment(s), */ /* moved tx_api.h include and */ @@ -61,7 +61,7 @@ #ifdef UX_INCLUDE_USER_DEFINE_FILE -/* Yes, include the user defines in ux_user.h. The defines in this file may +/* Yes, include the user defines in ux_user.h. The defines in this file may alternately be defined on the command line. */ #include "ux_user.h" @@ -217,6 +217,10 @@ typedef LONG SLONG; #define UX_SLAVE_REQUEST_DATA_MAX_LENGTH 4096 #endif +#ifndef UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT +#define UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT 8 +#endif + #ifndef UX_USE_IO_INSTRUCTIONS /* Don't use IO instructions if this define is not set. Default to memory mapped. */ @@ -258,7 +262,7 @@ VOID outpl(ULONG,ULONG); /* Define the version ID of USBX. This may be utilized by the application. */ #ifdef UX_SYSTEM_INIT -CHAR _ux_version_id[] = +CHAR _ux_version_id[] = "Copyright (c) 2024 Microsoft Corporation. * USBX Cortex-R4/IAR Version 6.4.1 *"; #else extern CHAR _ux_version_id[]; diff --git a/ports/cortex_r5/gnu/inc/ux_port.h b/ports/cortex_r5/gnu/inc/ux_port.h index 19385d55..b72baa3f 100644 --- a/ports/cortex_r5/gnu/inc/ux_port.h +++ b/ports/cortex_r5/gnu/inc/ux_port.h @@ -1,18 +1,18 @@ /*************************************************************************** - * Copyright (c) 2024 Microsoft Corporation - * + * Copyright (c) 2024 Microsoft Corporation + * * This program and the accompanying materials are made available under the * terms of the MIT License which is available at * https://opensource.org/licenses/MIT. - * + * * SPDX-License-Identifier: MIT **************************************************************************/ /**************************************************************************/ /**************************************************************************/ -/** */ -/** USBX Component */ +/** */ +/** USBX Component */ /** */ /** Port Specific */ /** */ @@ -20,11 +20,11 @@ /**************************************************************************/ -/**************************************************************************/ -/* */ -/* PORT SPECIFIC C INFORMATION RELEASE */ -/* */ -/* ux_port.h Cortex-R5/GNU */ +/**************************************************************************/ +/* */ +/* PORT SPECIFIC C INFORMATION RELEASE */ +/* */ +/* ux_port.h Cortex-R5/GNU */ /* 6.3.0 */ /* */ /* AUTHOR */ @@ -32,14 +32,14 @@ /* Chaoqiong Xiao, Microsoft Corporation */ /* */ /* DESCRIPTION */ -/* */ -/* This file contains data type definitions that make USBX function */ -/* identically on a variety of different processor architectures. */ -/* */ -/* RELEASE HISTORY */ -/* */ -/* DATE NAME DESCRIPTION */ -/* */ +/* */ +/* This file contains data type definitions that make USBX function */ +/* identically on a variety of different processor architectures. */ +/* */ +/* RELEASE HISTORY */ +/* */ +/* DATE NAME DESCRIPTION */ +/* */ /* 09-30-2020 Chaoqiong Xiao Initial Version 6.1 */ /* 01-31-2022 Chaoqiong Xiao Modified comment(s), */ /* moved tx_api.h include and */ @@ -61,7 +61,7 @@ #ifdef UX_INCLUDE_USER_DEFINE_FILE -/* Yes, include the user defines in ux_user.h. The defines in this file may +/* Yes, include the user defines in ux_user.h. The defines in this file may alternately be defined on the command line. */ #include "ux_user.h" @@ -217,6 +217,10 @@ typedef LONG SLONG; #define UX_SLAVE_REQUEST_DATA_MAX_LENGTH 4096 #endif +#ifndef UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT +#define UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT 8 +#endif + #ifndef UX_USE_IO_INSTRUCTIONS /* Don't use IO instructions if this define is not set. Default to memory mapped. */ @@ -258,7 +262,7 @@ VOID outpl(ULONG,ULONG); /* Define the version ID of USBX. This may be utilized by the application. */ #ifdef UX_SYSTEM_INIT -CHAR _ux_version_id[] = +CHAR _ux_version_id[] = "Copyright (c) 2024 Microsoft Corporation. * USBX Cortex-R5/GNU Version 6.4.1 *"; #else extern CHAR _ux_version_id[]; diff --git a/ports/cortex_r5/iar/inc/ux_port.h b/ports/cortex_r5/iar/inc/ux_port.h index 29b76197..42a50226 100644 --- a/ports/cortex_r5/iar/inc/ux_port.h +++ b/ports/cortex_r5/iar/inc/ux_port.h @@ -1,18 +1,18 @@ /*************************************************************************** - * Copyright (c) 2024 Microsoft Corporation - * + * Copyright (c) 2024 Microsoft Corporation + * * This program and the accompanying materials are made available under the * terms of the MIT License which is available at * https://opensource.org/licenses/MIT. - * + * * SPDX-License-Identifier: MIT **************************************************************************/ /**************************************************************************/ /**************************************************************************/ -/** */ -/** USBX Component */ +/** */ +/** USBX Component */ /** */ /** Port Specific */ /** */ @@ -20,11 +20,11 @@ /**************************************************************************/ -/**************************************************************************/ -/* */ -/* PORT SPECIFIC C INFORMATION RELEASE */ -/* */ -/* ux_port.h Cortex-R5/IAR */ +/**************************************************************************/ +/* */ +/* PORT SPECIFIC C INFORMATION RELEASE */ +/* */ +/* ux_port.h Cortex-R5/IAR */ /* 6.3.0 */ /* */ /* AUTHOR */ @@ -32,14 +32,14 @@ /* Chaoqiong Xiao, Microsoft Corporation */ /* */ /* DESCRIPTION */ -/* */ -/* This file contains data type definitions that make USBX function */ -/* identically on a variety of different processor architectures. */ -/* */ -/* RELEASE HISTORY */ -/* */ -/* DATE NAME DESCRIPTION */ -/* */ +/* */ +/* This file contains data type definitions that make USBX function */ +/* identically on a variety of different processor architectures. */ +/* */ +/* RELEASE HISTORY */ +/* */ +/* DATE NAME DESCRIPTION */ +/* */ /* 09-30-2020 Chaoqiong Xiao Initial Version 6.1 */ /* 01-31-2022 Chaoqiong Xiao Modified comment(s), */ /* moved tx_api.h include and */ @@ -61,7 +61,7 @@ #ifdef UX_INCLUDE_USER_DEFINE_FILE -/* Yes, include the user defines in ux_user.h. The defines in this file may +/* Yes, include the user defines in ux_user.h. The defines in this file may alternately be defined on the command line. */ #include "ux_user.h" @@ -217,6 +217,10 @@ typedef LONG SLONG; #define UX_SLAVE_REQUEST_DATA_MAX_LENGTH 4096 #endif +#ifndef UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT +#define UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT 8 +#endif + #ifndef UX_USE_IO_INSTRUCTIONS /* Don't use IO instructions if this define is not set. Default to memory mapped. */ @@ -258,7 +262,7 @@ VOID outpl(ULONG,ULONG); /* Define the version ID of USBX. This may be utilized by the application. */ #ifdef UX_SYSTEM_INIT -CHAR _ux_version_id[] = +CHAR _ux_version_id[] = "Copyright (c) 2024 Microsoft Corporation. * USBX Cortex-R5/IAR Version 6.4.1 *"; #else extern CHAR _ux_version_id[]; diff --git a/ports/generic/inc/ux_port.h b/ports/generic/inc/ux_port.h index ab036ac1..4052c1c9 100644 --- a/ports/generic/inc/ux_port.h +++ b/ports/generic/inc/ux_port.h @@ -1,18 +1,18 @@ /*************************************************************************** - * Copyright (c) 2024 Microsoft Corporation - * + * Copyright (c) 2024 Microsoft Corporation + * * This program and the accompanying materials are made available under the * terms of the MIT License which is available at * https://opensource.org/licenses/MIT. - * + * * SPDX-License-Identifier: MIT **************************************************************************/ /**************************************************************************/ /**************************************************************************/ -/** */ -/** USBX Component */ +/** */ +/** USBX Component */ /** */ /** Port Specific */ /** */ @@ -20,11 +20,11 @@ /**************************************************************************/ -/**************************************************************************/ -/* */ -/* PORT SPECIFIC C INFORMATION RELEASE */ -/* */ -/* ux_port.h Generic */ +/**************************************************************************/ +/* */ +/* PORT SPECIFIC C INFORMATION RELEASE */ +/* */ +/* ux_port.h Generic */ /* 6.3.0 */ /* */ /* AUTHOR */ @@ -32,14 +32,14 @@ /* Chaoqiong Xiao, Microsoft Corporation */ /* */ /* DESCRIPTION */ -/* */ -/* This file contains data type definitions that make USBX function */ -/* identically on a variety of different processor architectures. */ -/* */ -/* RELEASE HISTORY */ -/* */ -/* DATE NAME DESCRIPTION */ -/* */ +/* */ +/* This file contains data type definitions that make USBX function */ +/* identically on a variety of different processor architectures. */ +/* */ +/* RELEASE HISTORY */ +/* */ +/* DATE NAME DESCRIPTION */ +/* */ /* 12-31-2020 Chaoqiong Xiao Initial Version 6.1.3 */ /* 01-31-2022 Chaoqiong Xiao Modified comment(s), */ /* moved tx_api.h include and */ @@ -61,7 +61,7 @@ #ifdef UX_INCLUDE_USER_DEFINE_FILE -/* Yes, include the user defines in ux_user.h. The defines in this file may +/* Yes, include the user defines in ux_user.h. The defines in this file may alternately be defined on the command line. */ #include "ux_user.h" @@ -84,7 +84,7 @@ #include -#ifndef VOID +#ifndef VOID #define VOID void typedef char CHAR; typedef unsigned char UCHAR; @@ -202,7 +202,11 @@ typedef LONG SLONG; #endif #ifndef UX_HOST_CLASS_STORAGE_MAX_MEDIA -#define UX_HOST_CLASS_STORAGE_MAX_MEDIA 1 +#define UX_HOST_CLASS_STORAGE_MAX_MEDIA 2 +#endif + +#ifndef UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT +#define UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT 8 #endif #ifndef UX_SLAVE_REQUEST_CONTROL_MAX_LENGTH @@ -255,7 +259,7 @@ VOID outpl(ULONG,ULONG); /* Define the version ID of USBX. This may be utilized by the application. */ #ifdef UX_SYSTEM_INIT -CHAR _ux_version_id[] = +CHAR _ux_version_id[] = "Copyright (c) 2024 Microsoft Corporation. * USBX Generic Version 6.4.1 *"; #else extern CHAR _ux_version_id[]; diff --git a/ports/linux/gnu/inc/ux_port.h b/ports/linux/gnu/inc/ux_port.h index fe455cfb..a2405068 100644 --- a/ports/linux/gnu/inc/ux_port.h +++ b/ports/linux/gnu/inc/ux_port.h @@ -1,18 +1,18 @@ /*************************************************************************** - * Copyright (c) 2024 Microsoft Corporation - * + * Copyright (c) 2024 Microsoft Corporation + * * This program and the accompanying materials are made available under the * terms of the MIT License which is available at * https://opensource.org/licenses/MIT. - * + * * SPDX-License-Identifier: MIT **************************************************************************/ /**************************************************************************/ /**************************************************************************/ -/** */ -/** USBX Component */ +/** */ +/** USBX Component */ /** */ /** Port Specific */ /** */ @@ -20,11 +20,11 @@ /**************************************************************************/ -/**************************************************************************/ -/* */ -/* PORT SPECIFIC C INFORMATION RELEASE */ -/* */ -/* ux_port.h Linux/GNU */ +/**************************************************************************/ +/* */ +/* PORT SPECIFIC C INFORMATION RELEASE */ +/* */ +/* ux_port.h Linux/GNU */ /* 6.3.0 */ /* */ /* AUTHOR */ @@ -32,14 +32,14 @@ /* Chaoqiong Xiao, Microsoft Corporation */ /* */ /* DESCRIPTION */ -/* */ -/* This file contains data type definitions that make USBX function */ -/* identically on a variety of different processor architectures. */ -/* */ -/* RELEASE HISTORY */ -/* */ -/* DATE NAME DESCRIPTION */ -/* */ +/* */ +/* This file contains data type definitions that make USBX function */ +/* identically on a variety of different processor architectures. */ +/* */ +/* RELEASE HISTORY */ +/* */ +/* DATE NAME DESCRIPTION */ +/* */ /* 10-15-2021 Chaoqiong Xiao Initial Version 6.1.9 */ /* 01-31-2022 Chaoqiong Xiao Modified comment(s), */ /* moved tx_api.h include and */ @@ -67,7 +67,7 @@ #ifdef UX_INCLUDE_USER_DEFINE_FILE -/* Yes, include the user defines in ux_user.h. The defines in this file may +/* Yes, include the user defines in ux_user.h. The defines in this file may alternately be defined on the command line. */ #include "ux_user.h" @@ -223,6 +223,10 @@ typedef LONG SLONG; #define UX_SLAVE_REQUEST_DATA_MAX_LENGTH 4096 #endif +#ifndef UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT +#define UX_HOST_CLASS_STORAGE_MAX_PARTITIONS_COUNT 8 +#endif + #ifndef UX_USE_IO_INSTRUCTIONS /* Don't use IO instructions if this define is not set. Default to memory mapped. */ @@ -260,7 +264,7 @@ ULONG outpl(ULONG,ULONG); /* Define the version ID of USBX. This may be utilized by the application. */ #ifdef UX_SYSTEM_INIT -CHAR _ux_version_id[] = +CHAR _ux_version_id[] = "Copyright (c) 2024 Microsoft Corporation. * USBX Linux/GNU Version 6.4.1 *"; #else extern CHAR _ux_version_id[];