pc/dma, pc/sdide: use uintptr for physical address instead of ulong

This commit is contained in:
cinap_lenrek 2020-12-05 17:01:24 +01:00
parent 178a9d12c6
commit abcc56afef
2 changed files with 3 additions and 3 deletions

View file

@ -183,7 +183,7 @@ long
dmasetup(int chan, void *va, long len, int flags)
{
DMA *dp;
ulong pa;
uintptr pa;
uchar mode;
DMAxfer *xp;

View file

@ -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);