quiet compiler warnings

This commit is contained in:
cgd 1994-05-23 03:02:13 +00:00
parent d158bd71a6
commit 057dc4deec
2 changed files with 4 additions and 4 deletions

View File

@ -85,7 +85,7 @@ isa_dmastart(flags, addr, nbytes, chan)
} }
/* translate to physical */ /* translate to physical */
phys = pmap_extract(pmap_kernel(), (vm_offset_t)addr); phys = pmap_extract(kernel_pmap, (vm_offset_t)addr);
if ((chan & 4) == 0) { if ((chan & 4) == 0) {
/* /*
@ -211,7 +211,7 @@ isa_dmarangecheck(va, length, chan)
endva = round_page(va + length); endva = round_page(va + length);
for (; va < endva ; va += NBPG) { for (; va < endva ; va += NBPG) {
phys = trunc_page(pmap_extract(pmap_kernel(), va)); phys = trunc_page(pmap_extract(kernel_pmap, va));
if (phys == 0) if (phys == 0)
panic("isa_dmacheck: no physical page present"); panic("isa_dmacheck: no physical page present");
if (phys >= (1<<24)) if (phys >= (1<<24))

View File

@ -85,7 +85,7 @@ isa_dmastart(flags, addr, nbytes, chan)
} }
/* translate to physical */ /* translate to physical */
phys = pmap_extract(pmap_kernel(), (vm_offset_t)addr); phys = pmap_extract(kernel_pmap, (vm_offset_t)addr);
if ((chan & 4) == 0) { if ((chan & 4) == 0) {
/* /*
@ -211,7 +211,7 @@ isa_dmarangecheck(va, length, chan)
endva = round_page(va + length); endva = round_page(va + length);
for (; va < endva ; va += NBPG) { for (; va < endva ; va += NBPG) {
phys = trunc_page(pmap_extract(pmap_kernel(), va)); phys = trunc_page(pmap_extract(kernel_pmap, va));
if (phys == 0) if (phys == 0)
panic("isa_dmacheck: no physical page present"); panic("isa_dmacheck: no physical page present");
if (phys >= (1<<24)) if (phys >= (1<<24))