Changeset 9756131 in mainline for arch/ia32/src/smp/smp.c


Ignore:
Timestamp:
2005-08-31T10:00:14Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b9e97fb
Parents:
3de9e5e
Message:

Get rid of memcopy().
All we now have is memcpy() and _memcpy().
memcpy() is defined to be builtin.
Where not applicable, architectures must implement memcpy() code or call slowish _memcopy().

File:
1 edited

Legend:

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

    r3de9e5e r9756131  
    140140                        panic("couldn't allocate memory for GDT\n");
    141141
    142                 memcopy(gdt_new, gdt, GDT_ITEMS*sizeof(struct descriptor));           // swaped
     142                memcpy(gdt_new, gdt, GDT_ITEMS*sizeof(struct descriptor));
    143143                memsetb((__address)(&gdt_new[TSS_DES]), sizeof(struct descriptor), 0);
    144144                gdtr.base = KA2PA((__address) gdt_new);
Note: See TracChangeset for help on using the changeset viewer.