summaryrefslogtreecommitdiffstats
path: root/sys/x86
diff options
context:
space:
mode:
authorjimharris <jimharris@FreeBSD.org>2012-12-06 22:33:31 +0000
committerjimharris <jimharris@FreeBSD.org>2012-12-06 22:33:31 +0000
commitf20d18d37b9e43b9320de53bab8dd86f81f328f7 (patch)
tree1b2bb07832431e4632b97ebf7f4f60942fa40c65 /sys/x86
parent0bf300ea4be2e21bf74b325c7549c9812ac56ddb (diff)
downloadFreeBSD-src-f20d18d37b9e43b9320de53bab8dd86f81f328f7.zip
FreeBSD-src-f20d18d37b9e43b9320de53bab8dd86f81f328f7.tar.gz
Add amd64 implementations for 8-byte bus_space routines.
Submitted by: Carl Delsey <carl.r.delsey@intel.com> Discussed with: jhb, rwatson Reviewed by: jimharris MFC after: 1 week
Diffstat (limited to 'sys/x86')
-rw-r--r--sys/x86/include/bus.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/sys/x86/include/bus.h b/sys/x86/include/bus.h
index fb5babf..f4369d9 100644
--- a/sys/x86/include/bus.h
+++ b/sys/x86/include/bus.h
@@ -251,10 +251,6 @@ bus_space_read_4(bus_space_tag_t tag, bus_space_handle_t handle,
return (*(volatile u_int32_t *)(handle + offset));
}
-#if 0 /* Cause a link error for bus_space_read_8 */
-#define bus_space_read_8(t, h, o) !!! bus_space_read_8 unimplemented !!!
-#endif
-
/*
* Read `count' 1, 2, 4, or 8 byte quantities from bus space
* described by tag/handle/offset and copy into buffer provided.
@@ -337,10 +333,6 @@ bus_space_read_multi_4(bus_space_tag_t tag, bus_space_handle_t bsh,
}
}
-#if 0 /* Cause a link error for bus_space_read_multi_8 */
-#define bus_space_read_multi_8 !!! bus_space_read_multi_8 unimplemented !!!
-#endif
-
/*
* Read `count' 1, 2, 4, or 8 byte quantities from bus space
* described by tag/handle and starting at `offset' and copy into
@@ -458,10 +450,6 @@ bus_space_read_region_4(bus_space_tag_t tag, bus_space_handle_t bsh,
}
}
-#if 0 /* Cause a link error for bus_space_read_region_8 */
-#define bus_space_read_region_8 !!! bus_space_read_region_8 unimplemented !!!
-#endif
-
/*
* Write the 1, 2, 4, or 8 byte value `value' to bus space
* described by tag/handle/offset.
@@ -512,10 +500,6 @@ bus_space_write_4(bus_space_tag_t tag, bus_space_handle_t bsh,
*(volatile u_int32_t *)(bsh + offset) = value;
}
-#if 0 /* Cause a link error for bus_space_write_8 */
-#define bus_space_write_8 !!! bus_space_write_8 not implemented !!!
-#endif
-
/*
* Write `count' 1, 2, 4, or 8 byte quantities from the buffer
* provided to bus space described by tag/handle/offset.
@@ -601,11 +585,6 @@ bus_space_write_multi_4(bus_space_tag_t tag, bus_space_handle_t bsh,
}
}
-#if 0 /* Cause a link error for bus_space_write_multi_8 */
-#define bus_space_write_multi_8(t, h, o, a, c) \
- !!! bus_space_write_multi_8 unimplemented !!!
-#endif
-
/*
* Write `count' 1, 2, 4, or 8 byte quantities from the buffer provided
* to bus space described by tag/handle starting at `offset'.
@@ -723,11 +702,6 @@ bus_space_write_region_4(bus_space_tag_t tag, bus_space_handle_t bsh,
}
}
-#if 0 /* Cause a link error for bus_space_write_region_8 */
-#define bus_space_write_region_8 \
- !!! bus_space_write_region_8 unimplemented !!!
-#endif
-
/*
* Write the 1, 2, 4, or 8 byte value `val' to bus space described
* by tag/handle/offset `count' times.
@@ -788,10 +762,6 @@ bus_space_set_multi_4(bus_space_tag_t tag, bus_space_handle_t bsh,
*(volatile u_int32_t *)(addr) = value;
}
-#if 0 /* Cause a link error for bus_space_set_multi_8 */
-#define bus_space_set_multi_8 !!! bus_space_set_multi_8 unimplemented !!!
-#endif
-
/*
* Write `count' 1, 2, 4, or 8 byte value `val' to bus space described
* by tag/handle starting at `offset'.
@@ -852,10 +822,6 @@ bus_space_set_region_4(bus_space_tag_t tag, bus_space_handle_t bsh,
*(volatile u_int32_t *)(addr) = value;
}
-#if 0 /* Cause a link error for bus_space_set_region_8 */
-#define bus_space_set_region_8 !!! bus_space_set_region_8 unimplemented !!!
-#endif
-
/*
* Copy `count' 1, 2, 4, or 8 byte values from bus space starting
* at tag/bsh1/off1 to bus space starting at tag/bsh2/off2.
@@ -984,10 +950,6 @@ bus_space_copy_region_4(bus_space_tag_t tag, bus_space_handle_t bsh1,
}
}
-#if 0 /* Cause a link error for bus_space_copy_8 */
-#define bus_space_copy_region_8 !!! bus_space_copy_region_8 unimplemented !!!
-#endif
-
/*
* Bus read/write barrier methods.
*
OpenPOWER on IntegriCloud