diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-09-30 19:30:35 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2010-09-30 19:30:35 -0400 |
commit | e843faf355c864beab81e74f0e39f8ad53d4c2bf (patch) | |
tree | 7fa8f60ef0422f283addf64f5194a2c3acaf77a5 /src/radeon.h | |
parent | 886febc882053e09294225e85b102f965041b62b (diff) |
radeon: fix fbLocation for >32 bit MC addresses
If the fbLocation was at an address >32 bits, we'd fail.
Change fbLocation to uint64_t and properly cast when needed.
Diffstat (limited to 'src/radeon.h')
-rw-r--r-- | src/radeon.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon.h b/src/radeon.h index 134a4cf2..7a3f5b66 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -832,7 +832,7 @@ typedef struct { unsigned long long LinearAddr; /* Frame buffer physical address */ unsigned long long MMIOAddr; /* MMIO region physical address */ unsigned long long BIOSAddr; /* BIOS physical address */ - uint32_t fbLocation; + uint64_t fbLocation; uint32_t gartLocation; uint32_t mc_fb_location; uint32_t mc_agp_location; |