. avoid a name clash with gdb
/* don't know where ACPI tables are, we may need to access any memory */
static int init_mem_priv(void)
{
- struct mem_range mr;
+ struct minix_mem_range mr;
mr.mr_base = 0;
mr.mr_limit = 0xffffffff;
int i, r;
int ilr;
struct io_range ior;
- struct mem_range mr;
+ struct minix_mem_range mr;
if (devind < 0 || devind >= nr_pcidev)
{
unsigned ior_limit; /* Highest I/O port in range */
};
-struct mem_range
+struct minix_mem_range
{
phys_bytes mr_base; /* Lowest memory address in range */
phys_bytes mr_limit; /* Highest memory address in range */
struct io_range s_io_tab[NR_IO_RANGE];
int s_nr_mem_range; /* allowed memory ranges */
- struct mem_range s_mem_tab[NR_MEM_RANGE];
+ struct minix_mem_range s_mem_tab[NR_MEM_RANGE];
int s_nr_irq; /* allowed IRQ lines */
int s_irq_tab[NR_IRQ];
int ipc_to_m, kcalls;
int i, r;
struct io_range io_range;
- struct mem_range mem_range;
+ struct minix_mem_range mem_range;
struct priv priv;
int irq;