]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: Add 64-bit memory-mapped I/O functions
authorIvan Gorinov <ivan.gorinov@intel.com>
Fri, 6 Apr 2018 21:43:04 +0000 (14:43 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 16 Apr 2018 08:54:51 +0000 (16:54 +0800)
commit53cabe3d8eaac128788db9bce3f9d4874068806d
tree4a063fb5c2bd003c5af8a37a07da0d9c38f1512f
parentebca902aeb3af3eaedd2787928184ad84a86b98f
x86: Add 64-bit memory-mapped I/O functions

Add readq() and writeq() definitions for x86.

Please note: in 32-bit code readq/writeq will generate two 32-bit
memory access instructions instead of one atomic 64-bit operation.

Signed-off-by: Ivan Gorinov <ivan.gorinov@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/io.h