[haiku-development] Re: [RFC] PCI->ram_address(phys_addr_t)

  • From: François Revol <revol@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 21 Nov 2017 18:50:42 +0100

Le 21/11/2017 à 18:37, François Revol a écrit :

Le 21/11/2017 à 10:22, Axel Dörfler a écrit :
Am 21/11/2017 um 10:17 schrieb François Revol:
trying to fix the remaining wranings in OpenSound, I noticed that the
ram_address call on the PCI bus manager takes a void* historically, but
it should really be phys_addr_t now.

Using phys_addr_t should be binary compatible on x86 without PAE.

Right, it'd just get a random value for the MSB return it in a discarded
register anyway.

Besides that, I don't there are any kernel add-ons outside of our
repository that makes maintaining compatibility a high priority right now.


Ok so let's change it to take a phys_addr_t.


ISA too I guess...

François.

Other related posts: