Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[threadx-dev] Issue with RISCV-64 port causing issues with netxduo
  • From: Adrian SKERRATT <askerratt@xxxxxxxxxxx>
  • Date: Mon, 8 Jul 2024 13:37:20 +0000
  • Accept-language: en-GB, fr-FR, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=witekio.com; dmarc=pass action=none header.from=witekio.com; dkim=pass header.d=witekio.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=dkeiNu27ezL49j5pFhsdJxpSUQqanXAAM9bJ/Wl8Sxc=; b=cCbv76igyo8QDmVme2ps1u0FFBzYwUI5sR2v2yghx8eqC2SRDylfyv6rWczfmdK18OGZhcGFjjj8hJLy5VPyfjI93OoOCphSfkvvpIfScnriB8pNrBVHdrZYqCNpNhIA73OObreY+4A+D/lBWkf+lX2GcjaB73V/2+bLSZWoR0iw4VwYiIZD5UAuVugwNqzhWTJOBQyIHjyBfhSkBEr/3Nyj7sh/W5l3LYmGxy5wgCEzjGMy2VOaaLa1Ebl0O2WCySQnfy0HXTwC7Quzs4sO0X7V4ykv5uGgU5jGAt5NvtDep6ZmbHwddPPDxz3pbygMfz2H+dotI2UHF/Ci6b1i5A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hnEjB7HxJ0G92RrPWxPMNkzDzZdM/3VMyQZjx2QLP5dOitMmD7lcsGoDuk16gBjdvEpFQiI99GEtE9w+UxMlfpVgPlIqf+kkVyl2j33QsJPxeutsy/NNFHlx5vAuGibxIirUekI42vLChV6mk/MD3JMyGsneUzKIrEKXKDdKCU/F5srlSb+XQM4UY558HCv83EVf6fu3zZYugz8do3LbkMoRrbKXO0yiOz3clSoabmFym5WgL5YzLIelSAMkB1EIuH1qVeW5WaGk8wkWAFHWz9CSVAapavAhH1AZzFs8eR8mGVUDAOoo8v0ITZLFt/sJBXPLOR5JHX7YHOxUaLC+1w==
  • Delivered-to: threadx-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/threadx-dev/>
  • List-help: <mailto:threadx-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/threadx-dev>, <mailto:threadx-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/threadx-dev>, <mailto:threadx-dev-request@eclipse.org?subject=unsubscribe>
  • Msip_labels:
  • Thread-index: AQHazt4ALkuojgKUa0ibLE0k7WYIRw==
  • Thread-topic: Issue with RISCV-64 port causing issues with netxduo

Hi All

An issue has been raised on the netxduo repo


For RISCV-64, ULONG is an unsigned long which means it is 64 bits, which causes the netxduo code to fail, but for other 64-bit processors ULONG is a typedef to unsigned int, meaning ULONG is 32 bits.

At first, I thought that means we just needed the RISCV-64 definition to match those of other 64-bit processors, but I'm not sure if the RISCV-64 is implemented differently to x86_64/arm64 due to hardware implementation differences.

Is the correct way to fix this to make ULONG 32 bits on RISCV-64 or to fix the netxduo so that its comparing with a constant rather than sizeof(ULONG) which is implementation dependant?

Adrian

Witekio Logo
Adrian Skerratt
Software Engineer


Witekio UK Limited is a Private Limited Company registered in England and Wales. Registered office: Witekio UK, Units 7 & 8 Brabazon Office Park, Golf Course Lane, Filton, BS34 7PZ. Company number 08178608. VAT number 140658911
This message contains confidential information and is intended only for the individual(s) addressed in the message. If you aren't the named addressee, you should not disseminate, distribute, or copy this e-mail.

We continuously commit to comply with the applicable data protection laws and ensure fair and transparent processing of your personal data. Please read our privacy statement including an information notice and data protection policy for detailed information on our website.


Back to the top