[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: amiboot - tlsfmem



Hi,

> With TLSF enabled this fails. Is there any other way to obtain this
> information? Or do TLSF users have to hardcode this information in a memfile?

I don't know how system-friendly TLSF behaves and what information needs
to be passed to the linux kernel exactly. But if you need only the
amount of installed memory without any information about it's location,
maybe this would be a better (or lets say "more compatible") solution:

size_chip = AvailMem(MEMF_CHIP|MEMF_TOTAL);
size_fast = AvailMem(MEMF_FAST|MEMF_TOTAL);

This is just a guess, I haven't played around much with AmigaOS during
the last years. ;-)

Regards,
Chris



Reply to: