Changeset 3b8f03b in rtems-libbsd


Ignore:
Timestamp:
Sep 6, 2018, 8:51:44 AM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
b96abfd647154f10ea8f7fac68e25676636eded5, 13421d06177df03916665bb2f3a7fcadc51a951b, d964a6703c705cc92fd053bcefc08bb3b6baa0e2, b1e67a2bdc575f7f6e0af4922d7adb91545827ca
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.