Mike
>
> FreeBSD provides a more complete mechanism for getting virtual mappings
> of device physical apertures, and you should use it.
>
> > No actually it would the other way around: VM_PAGE_TO_PHYS.
> > But you have to get the vm_page of the virtual address first.
> > Perhaps pmap_extract(pm
Alexey
> static inline unsigned long
> get_kvirt_address(unsigned long address)
> {
> }
This function returns 0 if a virtual address is not mapped.
Otherwise it returns the linear address associated
with that virtual address by traversing the page table
and extrac
Mike (and Paul)
> I'm fixing this so that it doesn't use the 2.x PCI compatibility
> interface; there's a lot of other real ugliness in here, some of which is
> probably worth throwing out.
I'm not exactly sure what you meant here. Do you mean the pci_readcfg calls?
I thought they were low-lev
Chris
THANKS! and compliments on your name. It was a quick and simple port
to see if people were interested. I've sent it to the author/maintainer
Dan Hollis but I haven't gotten a response yet. He has an email list
on Yahoo/Groups and there is occasional traffic so it isn't dead code.
Yes, I
ck if ecc_mode == ECC_NONE before installing the timer
I've attached it and would welcome any comments. I've also
posted it back to the Linux ECC people.
(sorry, the previous post didn't include the attachments)
Chris Sears
[EMAIL PROTECTED]
/*
* ECC kernel module (C) 1998, 1999 Dan
ck if ecc_mode == ECC_NONE before installing the timer
I've attached it and would welcome any comments. I've also
posted it back to the Linux ECC people.
Chris Sears
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
6 matches
Mail list logo