haiku/headers
François Revol 495efc382b loader: Drop the HashMap for partition lookup by id
The HashMap constructor was called before the heap is initialized,
ending up calling malloc from the OpenHashMap constructor.

Oddly it was still working on x86 but broke other platforms.

Instead we add a Lookup() static method to Partition,
which by default walks gPartitions for the id,
and recursively calls itself on the children lists.

This means we must add a partition even temporarily to gPartitions
before Scan()ing it though.

Signed-off-by: François Revol <revol@free.fr>
2016-09-02 19:02:33 +12:00
..
build headers/os: Add gcc 5 to BeBuild.h 2015-06-24 23:06:23 -05:00
clang Import lib/Headers from Clang 2015-11-09 18:01:18 +01:00
compatibility build: Convert to external libedit build package 2015-07-04 15:29:05 -05:00
config ARM: Be aware of ARMEL and ARMEL 2014-01-01 23:41:02 -07:00
cpp build fix. 2015-11-12 22:24:16 +01:00
glibc
libs More libunwind compilation fixes 2015-11-09 20:00:06 +01:00
os Replace synchronization semaphore with async messages 2016-04-05 00:41:20 +02:00
posix Allow custom baud rates for FTDI serial ports 2016-02-27 19:08:53 +01:00
private loader: Drop the HashMap for partition lookup by id 2016-09-02 19:02:33 +12:00
tools Remove preprocessor checks from TestShell.h 2014-07-29 23:05:52 +02:00