diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-12-05 17:01:24 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-12-05 17:01:24 +0100 |
commit | abcc56afef59bfc98cff48c800735746ff04e486 (patch) | |
tree | f402a415f667f77d30039ad80d39602295e03cbf | |
parent | 178a9d12c6ead437a85490764e9a5d92e1016d5d (diff) | |
download | plan9front-abcc56afef59bfc98cff48c800735746ff04e486.tar.xz |
pc/dma, pc/sdide: use uintptr for physical address instead of ulong
-rw-r--r-- | sys/src/9/pc/dma.c | 2 | ||||
-rw-r--r-- | sys/src/9/pc/sdide.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/src/9/pc/dma.c b/sys/src/9/pc/dma.c index 1b07b4f98..928f7372b 100644 --- a/sys/src/9/pc/dma.c +++ b/sys/src/9/pc/dma.c @@ -183,7 +183,7 @@ long dmasetup(int chan, void *va, long len, int flags) { DMA *dp; - ulong pa; + uintptr pa; uchar mode; DMAxfer *xp; diff --git a/sys/src/9/pc/sdide.c b/sys/src/9/pc/sdide.c index a7626726a..d13f47521 100644 --- a/sys/src/9/pc/sdide.c +++ b/sys/src/9/pc/sdide.c @@ -909,9 +909,9 @@ static int atadmasetup(Drive* drive, int len) { Prd *prd; - ulong pa; Ctlr *ctlr; - int bmiba, bmisx, count, i, span; + uintptr pa, span; + int bmiba, bmisx, count, i; ctlr = drive->ctlr; pa = PCIWADDR(drive->data); |