예제 #1
0
/*
 *  ======== Memory_contigAlloc ========
 */
Ptr Memory_contigAlloc(UInt size, UInt align)
{
    GT_2trace(curTrace, GT_ENTER, "Memory_contigAlloc(0x%lx, 0x%lx)\n",
        size, align);

    return (Memory_segAlloc(DEFAULTSEGMENT, size, align));
}
예제 #2
0
/*
 *  ======== Memory_contigAlloc ========
 */
Ptr Memory_contigAlloc(UInt size, UInt align)
{
    Log_print2(Diags_ENTRY, "[+E] Memory_contigAlloc(0x%lx, 0x%lx)",
            (IArg)size, (IArg)align);

    return (Memory_segAlloc(DEFAULTSEGMENT, size, align));
}
예제 #3
0
/*
 *  ======== Memory_alloc ========
 */
Ptr Memory_alloc(UInt size, Memory_AllocParams *params)
{
    GT_1trace(curTrace, GT_ENTER, "Memory_alloc(0x%lx)\n", size);

    return (Memory_segAlloc(DEFAULTSEGMENT, size, 0));
}
예제 #4
0
/*
 *  ======== Memory_alloc ========
 */
Ptr Memory_alloc(UInt size, Memory_AllocParams *params)
{
    Log_print1(Diags_ENTRY, "[+E] Memory_alloc(0x%lx)", (IArg)size);

    return (Memory_segAlloc(DEFAULTSEGMENT, size, 0));
}