diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2008-06-12 01:00:05 -0400 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2008-06-12 01:00:05 -0400 |
commit | c625cf0ae1ea00ed87d336ea5569fdbd7f9de4a2 (patch) | |
tree | 2abfe97f88fb3678358f4b7231a6d2e1086c3db5 /src/dev/x86 | |
parent | 23c04b8c666b062cf97ad127805bf56e0797303b (diff) | |
download | gem5-c625cf0ae1ea00ed87d336ea5569fdbd7f9de4a2.tar.xz |
X86: Make the code compile as 32 bit.
Diffstat (limited to 'src/dev/x86')
-rw-r--r-- | src/dev/x86/south_bridge/cmos.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dev/x86/south_bridge/cmos.hh b/src/dev/x86/south_bridge/cmos.hh index 6fd7613bc..d1aa74b72 100644 --- a/src/dev/x86/south_bridge/cmos.hh +++ b/src/dev/x86/south_bridge/cmos.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004-2005 The Regents of The University of Michigan + * Copyright (c) 2008 The Regents of The University of Michigan * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -69,14 +69,14 @@ class Cmos : public SubDevice public: - Cmos() : rtc("rtc", foo_time, true, 5000000000) + Cmos() : rtc("rtc", foo_time, true, ULL(5000000000)) { memset(regs, 0, numRegs * sizeof(uint8_t)); address = 0; } Cmos(Tick _latency) : SubDevice(_latency), - rtc("rtc", foo_time, true, 5000000000) + rtc("rtc", foo_time, true, ULL(5000000000)) { memset(regs, 0, numRegs * sizeof(uint8_t)); address = 0; @@ -84,7 +84,7 @@ class Cmos : public SubDevice Cmos(Addr start, Addr size, Tick _latency) : SubDevice(start, size, _latency), - rtc("rtc", foo_time, true, 5000000000) + rtc("rtc", foo_time, true, ULL(5000000000)) { memset(regs, 0, numRegs * sizeof(uint8_t)); address = 0; |