isa_dma.c (6a068746777241722b2b32c5d0bc443a2a64d80b) isa_dma.c (f79309d29c290245861b35db9c2c768f33b45f9f)
1/*-
2 * Copyright (c) 1991 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 47 unchanged lines hidden (view full) ---

56#include <sys/module.h>
57#include <vm/vm.h>
58#include <vm/vm_param.h>
59#include <vm/pmap.h>
60#include <isa/isareg.h>
61#include <isa/isavar.h>
62#include <isa/isa_dmareg.h>
63
1/*-
2 * Copyright (c) 1991 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 47 unchanged lines hidden (view full) ---

56#include <sys/module.h>
57#include <vm/vm.h>
58#include <vm/vm_param.h>
59#include <vm/pmap.h>
60#include <isa/isareg.h>
61#include <isa/isavar.h>
62#include <isa/isa_dmareg.h>
63
64#define ISARAM_END RAM_END
64#define ISARAM_END 0x1000000
65
66static int isa_dmarangecheck(caddr_t va, u_int length, int chan);
67
68static caddr_t dma_bouncebuf[8];
69static u_int dma_bouncebufsize[8];
70static u_int8_t dma_bounced = 0;
71static u_int8_t dma_busy = 0; /* Used in isa_dmastart() */
72static u_int8_t dma_inuse = 0; /* User for acquire/release */

--- 540 unchanged lines hidden ---
65
66static int isa_dmarangecheck(caddr_t va, u_int length, int chan);
67
68static caddr_t dma_bouncebuf[8];
69static u_int dma_bouncebufsize[8];
70static u_int8_t dma_bounced = 0;
71static u_int8_t dma_busy = 0; /* Used in isa_dmastart() */
72static u_int8_t dma_inuse = 0; /* User for acquire/release */

--- 540 unchanged lines hidden ---