Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset b5a1730 in mainline


Ignore:
Timestamp:
2008-07-06T20:45:45Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial
Children:
412a31e
Parents:
498b201
Message:

Allocate AP's GDT from first 4 GiB.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/smp/smp.c

    r498b201 rb5a1730  
    156156                 */
    157157                gdt_new = (struct descriptor *) malloc(GDT_ITEMS *
    158                     sizeof(struct descriptor), FRAME_ATOMIC);
     158                    sizeof(struct descriptor), FRAME_ATOMIC | FRAME_LOW_4_GiB);
    159159                if (!gdt_new)
    160160                        panic("couldn't allocate memory for GDT\n");
Note: See TracChangeset for help on using the changeset viewer.