Typo fixed

This commit is contained in:
Stanislav Shwartsman 2008-10-18 18:14:04 +00:00
parent ce425f02d9
commit d12c08f720

View File

@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////
// $Id: misc_mem.cc,v 1.116 2008-10-18 18:10:14 sshwarts Exp $ // $Id: misc_mem.cc,v 1.117 2008-10-18 18:14:04 sshwarts Exp $
///////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////
// //
// Copyright (C) 2002 MandrakeSoft S.A. // Copyright (C) 2002 MandrakeSoft S.A.
@ -76,7 +76,7 @@ void BX_MEM_C::init_memory(Bit32u memsize)
{ {
unsigned idx; unsigned idx;
BX_DEBUG(("Init $Id: misc_mem.cc,v 1.116 2008-10-18 18:10:14 sshwarts Exp $")); BX_DEBUG(("Init $Id: misc_mem.cc,v 1.117 2008-10-18 18:14:04 sshwarts Exp $"));
if (BX_MEM_THIS actual_vector != NULL) { if (BX_MEM_THIS actual_vector != NULL) {
BX_INFO (("freeing existing memory vector")); BX_INFO (("freeing existing memory vector"));
@ -585,7 +585,7 @@ Bit8u *BX_MEM_C::getHostMemAddr(BX_CPU_C *cpu, bx_phy_address a20Addr, unsigned
} }
} }
#if BX_PHY_ADDRESS_LONG #if BX_PHY_ADDRESS_LONG
else if (addr >= BX_CONST64(0xFFFFFFFF)) { else if (a20Addr >= BX_CONST64(0xFFFFFFFF)) {
// Error, requested addr is out of bounds. // Error, requested addr is out of bounds.
return (Bit8u *) &BX_MEM_THIS bogus[a20Addr & 0xfff]; return (Bit8u *) &BX_MEM_THIS bogus[a20Addr & 0xfff];
} }