Ignore:
Timestamp:
Oct 14, 2008, 6:30:00 PM (13 years ago)
Author:
gz
Message:

Merge/bootstrap assorted low level stuff from trunk - kernel, syscall stuff, lowmem-bias, formatting tweaks, a few bug fixes included

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/working-0711/ccl/lisp-kernel/x86-gc.c

    r10944 r11089  
    13391339
    13401340  if (node_regs_mask & (1<<0)) mark_root(regs[REG_EAX]);
    1341   if (node_regs_mask & (1<<1)) mark_root(regs[REG_EBX]);
    1342   if (node_regs_mask & (1<<2)) mark_root(regs[REG_ECX]);
    1343 
     1341  if (node_regs_mask & (1<<1)) mark_root(regs[REG_ECX]);
    13441342  if (regs[REG_EFL] & EFL_DF) {
    13451343    /* DF set means EDX should be treated as an imm reg */
    13461344    ;
    13471345  } else
    1348     if (node_regs_mask & (1<<3)) mark_root(regs[REG_EDX]);
    1349 
     1346    if (node_regs_mask & (1<<2)) mark_root(regs[REG_EDX]);
     1347
     1348  if (node_regs_mask & (1<<3)) mark_root(regs[REG_EBX]);
    13501349  if (node_regs_mask & (1<<4)) mark_root(regs[REG_ESP]);
    13511350  if (node_regs_mask & (1<<5)) mark_root(regs[REG_EBP]);
     
    17111710
    17121711  if (node_regs_mask & (1<<0)) update_noderef(&regs[REG_EAX]);
    1713   if (node_regs_mask & (1<<1)) update_noderef(&regs[REG_EBX]);
    1714   if (node_regs_mask & (1<<2)) update_noderef(&regs[REG_ECX]);
     1712  if (node_regs_mask & (1<<1)) update_noderef(&regs[REG_ECX]);
    17151713
    17161714  if (regs[REG_EFL] & EFL_DF) {
     
    17181716    ;
    17191717  } else
    1720     if (node_regs_mask & (1<<3)) update_noderef(&regs[REG_EDX]);
    1721 
     1718    if (node_regs_mask & (1<<2)) update_noderef(&regs[REG_EDX]);
     1719
     1720  if (node_regs_mask & (1<<3)) update_noderef(&regs[REG_EBX]);
    17221721  if (node_regs_mask & (1<<4)) update_noderef(&regs[REG_ESP]);
    17231722  if (node_regs_mask & (1<<5)) update_noderef(&regs[REG_EBP]);
Note: See TracChangeset for help on using the changeset viewer.