Subversion Repositories HelenOS-historic

Rev

Rev 814 | Rev 1050 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 814 Rev 822
Line 196... Line 196...
196
         * the heap hasn't been initialized so far.
196
         * the heap hasn't been initialized so far.
197
         */
197
         */
198
        tss_p = &tss;
198
        tss_p = &tss;
199
    }
199
    }
200
    else {
200
    else {
201
        tss_p = (struct tss *) malloc(sizeof(struct tss));
201
        tss_p = (struct tss *) malloc(sizeof(struct tss),FRAME_ATOMIC);
202
        if (!tss_p)
202
        if (!tss_p)
203
            panic("could not allocate TSS\n");
203
            panic("could not allocate TSS\n");
204
    }
204
    }
205
 
205
 
206
    tss_initialize(tss_p);
206
    tss_initialize(tss_p);