Changeset 3de6dd7a in mainline


Ignore:
Timestamp:
2006-05-30T22:23:11Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4fded58
Parents:
8cf8ee6
Message:

Added console support to gxemul.
Wider information in thread list.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified arch/mips32/src/mips32.c

    r8cf8ee6 r3de6dd7a  
    6262{
    6363        /* Setup usermode */
    64         init.cnt = 4;
     64        init.cnt = 5;
    6565        init.tasks[0].addr = INIT_ADDRESS;
    6666        init.tasks[0].size = INIT_SIZE;
     
    7171        init.tasks[3].addr = INIT_ADDRESS + 0x300000;
    7272        init.tasks[3].size = INIT_SIZE;
     73        init.tasks[4].addr = INIT_ADDRESS + 0x400000;
     74        init.tasks[4].size = INIT_SIZE;
    7375
    7476}
  • TabularUnified contrib/conf/gxemul.sh

    r8cf8ee6 r3de6dd7a  
    22# Uspace addresses outside of normal memory (kernel has std. 8 or 16MB)
    33# we place the pages at 24M
    4         gxemul $@ -E testmips -X 0x81800000:../uspace/ns/ns 0x81900000:../uspace/kbd/kbd 0x81a00000:../uspace/fb/fb 0x81b00000:../uspace/init/init kernel.bin
     4        gxemul $@ -E testmips -X 0x81800000:../uspace/ns/ns 0x81900000:../uspace/kbd/kbd 0x81a00000:../uspace/fb/fb 0x81b00000:../uspace/init/init 0x81c00000:../uspace/console/console kernel.bin
  • TabularUnified generic/src/proc/thread.c

    r8cf8ee6 r3de6dd7a  
    432432                                t->name, t, t->tid, thread_states[t->state], t->task, t->thread_code, t->kstack);
    433433                        if (t->cpu)
    434                                 printf("cpu%zd ", t->cpu->id);
     434                                printf("cpu%zd", t->cpu->id);
    435435                        else
    436436                                printf("none");
     437                        if (t->state == Sleeping) {
     438                                printf(", kst=%#zX", t->kstack);
     439                                printf(", wq=%#zX", t->sleep_queue);
     440                        }
    437441                        printf("\n");
    438442                }
Note: See TracChangeset for help on using the changeset viewer.