Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 63 of file lookas.c.
Referenced by ExpInitializeExecutive(), and KiSystemStartupBootStack().
{ ULONG i; PKPRCB Prcb = KeGetCurrentPrcb(); PGENERAL_LOOKASIDE Entry; /* Loop for all pool lists */ for (i = 0; i < MAXIMUM_PROCESSORS; i++) { /* Initialize the non-paged list */ Entry = &ExpSmallNPagedPoolLookasideLists[i]; InitializeSListHead(&Entry->ListHead); /* Bind to PRCB */ Prcb->PPNPagedLookasideList[i].P = Entry; Prcb->PPNPagedLookasideList[i].L = Entry; /* Initialize the paged list */ Entry = &ExpSmallPagedPoolLookasideLists[i]; InitializeSListHead(&Entry->ListHead); /* Bind to PRCB */ Prcb->PPPagedLookasideList[i].P = Entry; Prcb->PPPagedLookasideList[i].L = Entry; } }