* Add AtomBIOS memory controller callbacks

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42461 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Alexander von Gluck IV
2011-07-22 01:24:26 +00:00
parent 75f0db355c
commit 787929837b
+2 -8
View File
@@ -151,12 +151,8 @@ ULONG
CailReadMC(VOID *CAIL, ULONG address)
{
TRACE("AtomBios callback %s, addr (0x%X)\n", __func__, address);
// TODO : CailReadMC
ULONG ret = 0;
// ret = RHDReadMC(((atomBiosHandlePtr)CAIL), address | MC_IND_ALL);
return ret;
return Read32(MC, address | MC_IND_ALL);
}
@@ -164,11 +160,9 @@ VOID
CailWriteMC(VOID *CAIL, ULONG address, ULONG data)
{
TRACE("AtomBios callback %s, addr (0x%X)\n", __func__, address);
// TODO : CailWriteMC
// atomSaveRegisters((atomBiosHandlePtr)CAIL, atomRegisterMC, address);
// RHDWriteMC(((atomBiosHandlePtr)CAIL),
// address | MC_IND_ALL | MC_IND_WR_EN, data);
Write32(MC, address | MC_IND_ALL | MC_IND_WR_EN, data);
}