Don't use partition pointer as id, as it only works on 32bit platforms.
commit20e11028aa31e17ff6f4a08f288afa0e703cc6f2
authorFredrik Holmqvist <fredrik.holmqvist@gmail.com>
Sun, 8 Sep 2013 11:22:29 +0000 (8 13:22 +0200)
committerJessica Hamilton <jessica.l.hamilton@gmail.com>
Thu, 14 Apr 2016 07:18:21 +0000 (14 19:18 +1200)
tree91e96597d81adcc0c6c672323844a9e66c15881b
parentddef999990afb4ebe5cfc5c3e947aa326d42e8bb
Don't use partition pointer as id, as it only works on 32bit platforms.

Use a counter to generate the partition id, and store the id to partition
lookup in a hashmap instead.
src/system/boot/loader/partitions.cpp