Changeset 11 for trunk/minix/servers/pm


Ignore:
Timestamp:
May 18, 2011, 11:24:05 AM (14 years ago)
Author:
Mattia Monga
Message:

Aggiunta syscall foo (semplice)

Location:
trunk/minix/servers/pm
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/minix/servers/pm/misc.c

    r9 r11  
    428428}
    429429
     430PUBLIC int do_foo()
     431{
     432        printf("Foo syscall called!\n");
     433        return OK;
     434}
  • trunk/minix/servers/pm/proto.h

    r9 r11  
    5757
    5858/* misc.c */
     59_PROTOTYPE( int do_foo, (void)                                  );
    5960_PROTOTYPE( int do_reboot, (void)                                       );
    6061_PROTOTYPE( int do_procstat, (void)                                     );
  • trunk/minix/servers/pm/table.c

    r9 r11  
    111111        no_sys,         /* 93 = truncate */
    112112        no_sys,         /* 94 = ftruncate */
     113        do_foo,         /* 95 = foo */
    113114};
    114115/* This should not fail with "array size is negative": */
Note: See TracChangeset for help on using the changeset viewer.