Rev 814 | Rev 958 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 814 | Rev 822 | ||
---|---|---|---|
Line 188... | Line 188... | ||
188 | * the heap hasn't been initialized so far. |
188 | * the heap hasn't been initialized so far. |
189 | */ |
189 | */ |
190 | tss_p = &tss; |
190 | tss_p = &tss; |
191 | } |
191 | } |
192 | else { |
192 | else { |
193 | tss_p = (struct tss *) malloc(sizeof(struct tss)); |
193 | tss_p = (struct tss *) malloc(sizeof(struct tss),FRAME_ATOMIC); |
194 | if (!tss_p) |
194 | if (!tss_p) |
195 | panic("could not allocate TSS\n"); |
195 | panic("could not allocate TSS\n"); |
196 | } |
196 | } |
197 | 197 | ||
198 | tss_initialize(tss_p); |
198 | tss_initialize(tss_p); |