Enumerations

enum VdsoVariant
Name Value
STABLE 0
NEXT 1
TEST1 2
TEST2 3
COUNT 4

This is only here for the count. No userboot code cares which is which

except that the stable (default) variant is first and that kLastVdso (below)

is correct.

Defined at line 24 of file ../../zircon/kernel/lib/userabi/include/lib/userabi/userboot.h

enum HandleIndex
Name Value
kProcSelf 0
kVmarRootSelf 1
kThreadSelf 2
kRootJob 3
kMmioResource 4
kIrqResource 5
kIoportResource 6
kSystemResource 7
kZbi 8
kFirstVdso 9
kLastVdso kFirstVdso + kNumVdsoVariants - 1
kCrashlog 13
kFirstKernelFile kCrashlog
kBootOptions 14
kCounterNames 15
kCounters 16
kMidrTxt 17
kTimeValues 18
kFirstInstrumentationData 19
kFirstExtraPhysVmo kFirstInstrumentationData + InstrumentationData::vmo_count()
kLastExtraPhysVmo kFirstExtraPhysVmo + PhysVmo::kMaxExtraHandoffPhysVmos - 1
kLastKernelFile kLastExtraPhysVmo
kVmarLoaded 27
kHandleCount 28

The handles in the bootstrap message are as follows:

Defined at line 29 of file ../../zircon/kernel/lib/userabi/include/lib/userabi/userboot.h