From cb7b72b8c3ac212bbafe93fed0bd5c0e7f1e3571 Mon Sep 17 00:00:00 2001 From: Missy Connell Date: Mon, 28 Nov 2011 12:30:13 -0600 Subject: remove mmioMap and mmioUnmap deprecated functions. Change-Id: I9d9094d5c6689c9127c6948239c7c9aaebacdfde Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/514 Tested-by: Jenkins Server Reviewed-by: MATTHEW S. BARTH Reviewed-by: A. Patrick Williams III --- src/usr/testcore/kernel/segmenttest.H | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'src/usr/testcore/kernel/segmenttest.H') diff --git a/src/usr/testcore/kernel/segmenttest.H b/src/usr/testcore/kernel/segmenttest.H index d98e3c7b1..effa34e2e 100644 --- a/src/usr/testcore/kernel/segmenttest.H +++ b/src/usr/testcore/kernel/segmenttest.H @@ -42,19 +42,6 @@ class segmenttest: public CxxTest::TestSuite { int rc = 0; uint64_t ra = 2*1024*1024; - printkd("Map Device @ ra = 0x%lX using mmio_map\n",ra); - uint64_t* virtAddrMMIO = static_cast - (mmio_map(reinterpret_cast(ra), 1)); - if (virtAddrMMIO == NULL) - { - TS_FAIL("Failed to map using mmio_map\n"); - } - printkd("Unmap Device @ va = %p using mmio_unmap\n",virtAddrMMIO); - rc = mmio_unmap(reinterpret_cast(virtAddrMMIO), 1); - if (rc != 0) - { - TS_FAIL("Failed to unmap using mmio_unmap\n"); - } printkd("Map Device @ ra = 0x%lX using dev_map\n",ra); uint64_t* virtAddrDEV = static_cast @@ -63,6 +50,7 @@ class segmenttest: public CxxTest::TestSuite { TS_FAIL("Failed to map using mmio_dev_map\n"); } + printkd("Unmap Device @ va = %p using dev_unmap\n",virtAddrDEV); rc = mmio_dev_unmap(reinterpret_cast(virtAddrDEV)); if (rc != 0) -- cgit v1.2.1