CFT: uintmax_t rman

From: Justin Hibbits <chmeeedalf_at_gmail.com>
Date: Sun, 15 Nov 2015 22:13:31 -0600
(Attempted to send this yesterday, but appears it didn't go through.   
Apologies if it really did go through).

As part of a project getting FreeBSD on the Freescale P5020 SoC, I  
increased the width of resources, from u_long(32 bits on 32-bit archs,  
64 bits on 64-bit archs) to uintmax_t (currently 64 bits on all  
archs).  I have it working on PowerPC, but have not tested it on any  
other architecture, I have no other systems to test it with, so I need  
help.  This passes a tinderbox build.  I need this tested on other  
archs, the more the better, especially i386, including PAE.

It should be effectively a no-op on most architectures, especially 64- 
bit archs, though there were some checks I found in x86 code clamping  
address checks to under 4GB, commented as necessary purely for rman.   
If this isn't the case, and we can't yet handle the checks being  
removed, they can go in, but that needs testing.  It should apply  
cleanly to recent head.

- Justin

Received on Mon Nov 16 2015 - 03:13:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:01 UTC