Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 24 additions & 20 deletions ports/arm9/gnu/inc/ux_port.h
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
/***************************************************************************
* 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 */
/** */
/**************************************************************************/
/**************************************************************************/


/**************************************************************************/
/* */
/* PORT SPECIFIC C INFORMATION RELEASE */
/* */
/* ux_port.h ARM9/GNU */
/**************************************************************************/
/* */
/* PORT SPECIFIC C INFORMATION RELEASE */
/* */
/* ux_port.h ARM9/GNU */
/* 6.3.0 */
/* */
/* AUTHOR */
/* */
/* 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 */
Expand All @@ -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"
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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[];
Expand Down
44 changes: 24 additions & 20 deletions ports/cortex_a15/gnu/inc/ux_port.h
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
/***************************************************************************
* 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 */
/** */
/**************************************************************************/
/**************************************************************************/


/**************************************************************************/
/* */
/* 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 */
/* */
/* 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 */
Expand All @@ -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"
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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[];
Expand Down
60 changes: 32 additions & 28 deletions ports/cortex_a5x/ac6/inc/ux_port.h
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
/***************************************************************************
* 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 */
/** */
/**************************************************************************/
/**************************************************************************/


/**************************************************************************/
/* */
/* 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 */
Expand All @@ -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
Expand All @@ -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"
Expand Down Expand Up @@ -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; \
Expand Down Expand Up @@ -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[];
Expand Down
Loading