artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
104d460
)
Use uint64_t instead of u_long for pcitag_t.
author
kettenis
<kettenis@openbsd.org>
Mon, 14 Jun 2021 08:19:39 +0000
(08:19 +0000)
committer
kettenis
<kettenis@openbsd.org>
Mon, 14 Jun 2021 08:19:39 +0000
(08:19 +0000)
sys/arch/riscv64/include/pci_machdep.h
patch
|
blob
|
history
diff --git
a/sys/arch/riscv64/include/pci_machdep.h
b/sys/arch/riscv64/include/pci_machdep.h
index
e2c7a7b
..
c3cc801
100644
(file)
--- a/
sys/arch/riscv64/include/pci_machdep.h
+++ b/
sys/arch/riscv64/include/pci_machdep.h
@@
-1,4
+1,4
@@
-/* $OpenBSD: pci_machdep.h,v 1.
2 2021/06/14 03:48:41 deraadt
Exp $ */
+/* $OpenBSD: pci_machdep.h,v 1.
3 2021/06/14 08:19:39 kettenis
Exp $ */
/*
* Copyright (c) 2003-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@
-27,7
+27,7
@@
*/
typedef struct machine_pci_chipset *pci_chipset_tag_t;
-typedef u
_long
pcitag_t;
+typedef u
int64_t
pcitag_t;
#define PCITAG_NODE(x) ((x) >> 32)
#define PCITAG_OFFSET(x) ((x) & 0xffffffff)