mirror of
https://github.com/opnsense/src.git
synced 2026-06-06 07:12:52 -04:00
LinuxKPI: Implement ioread64()
Sponsored by: Serenity Cyber Security, LLC Reviewed by: manu, bz MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D42801
This commit is contained in:
parent
f8ab2f5bae
commit
dcfc983373
1 changed files with 8 additions and 0 deletions
|
|
@ -349,6 +349,14 @@ ioread32be(const volatile void *addr)
|
|||
}
|
||||
#define ioread32be(addr) ioread32be(addr)
|
||||
|
||||
#undef ioread64
|
||||
static inline uint64_t
|
||||
ioread64(const volatile void *addr)
|
||||
{
|
||||
return (readq(addr));
|
||||
}
|
||||
#define ioread64(addr) ioread64(addr)
|
||||
|
||||
#undef iowrite8
|
||||
static inline void
|
||||
iowrite8(uint8_t v, volatile void *addr)
|
||||
|
|
|
|||
Loading…
Reference in a new issue