Changeset 3b8f03b in rtems-libbsd


Ignore:
Timestamp:
Sep 6, 2018, 8:51:44 AM (8 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
647dd08ae2aa69b935c2847ea450fb824322ecae, c6261f97870562d4c797cfb1ff1ba0affb85a916
Children:
6e5b088
Parents:
3990b45
git-author:
Sebastian Huber <sebastian.huber@…> (09/06/18 08:51:44)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/12/18 05:48:17)
Message:

Fix BUS_SPACE_MAXADDR for 64-bit targets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemsbsd/include/machine/bus.h

    r3990b45 r3b8f03b  
    137137#define BUS_SPACE_MAXADDR_24BIT 0xffffffU
    138138#define BUS_SPACE_MAXADDR_32BIT 0xffffffffU
    139 #define BUS_SPACE_MAXADDR       0xffffffffU
     139#define BUS_SPACE_MAXADDR       UINTPTR_MAX
    140140#define BUS_SPACE_MAXSIZE_24BIT 0xffffffU
    141141#define BUS_SPACE_MAXSIZE_32BIT 0xffffffffU
    142 #define BUS_SPACE_MAXSIZE       0xffffffffU
     142#define BUS_SPACE_MAXSIZE       UINTPTR_MAX
    143143
    144144/*
Note: See TracChangeset for help on using the changeset viewer.