[haiku-commits] Re: r42068 - haiku/trunk/src/system/boot/platform/bios_ia32

  • From: Stefano Ceccherini <stefano.ceccherini@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 9 Jun 2011 17:53:29 +0200

Il giorno 09/giu/2011 17.39, "Stefano Ceccherini" <
stefano.ceccherini@xxxxxxxxx> ha scritto:
>
> 2011/6/9 Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>:
>
> > stefano.ceccherini@xxxxxxxxx wrote:
> >> Log:
> >> Map B_PAGE_SIZE, and not just acpi_description_header (was actually a
> >> regression), since the tables are bigger than that.
> >> Accessing unmapped memory was doing bad things on XenServer.
> >
> > That doesn't make any sense at all: the minimum mapping size is
B_PAGE_SIZE; if you map less it will be automatically expanded to it. So
unless the header is larger than B_PAGE_SIZE, this change doesn't really
change anything.
>
> >
> Also in the bootloader?
> Anyway, unfortunately I'm driving home so I can't revert right now.

Replying to myself: obviously it has to be like that, since you can't map a
part of a page only. In that case, I wonder why it works in this case, since
I thought I checked if acpi_description_header is bigger than page size

Other related posts: