[haiku-commits] Re: r42566 - haiku/trunk/src/add-ons/kernel/drivers/graphics/radeon_hd

  • From: Alexander von Gluck <kallisti5@xxxxxxxxxxx>
  • To: <haiku-commits@xxxxxxxxxxxxx>
  • Date: Sun, 07 Aug 2011 13:06:00 -0500

On Sun, 07 Aug 2011 18:27:13 +0200, Axel Dörfler wrote:
Alexander von Gluck <kallisti5@xxxxxxxxxxx> wrote:
The WRITE_AREA in the kernel create_area is needed because we do
write
to it...

B_WRITE_AREA    means writable from userland - from the kernel, it's
always writable. Does the kernel driver need it for anything, anyway?

Ah, welcome back!  I've made quite a few commits without any input so
i figured you were out of town :)

Didn't know kernel had exclusive access and could write no matter what... will fix.

We do it in the kernel so we can have full access to PCI memory areas and pass the resulting PCI ROM to the accelerant... the kernel really just creates and area
and passes it.

Thanks!
 -- Alex

Other related posts: