Changeset 043dcc27 in mainline for pci/pci.c


Ignore:
Timestamp:
2006-05-15T13:45:12Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
108602e
Parents:
babe786
Message:

Implement simple connect_me_to in NS.
Disambigue the term phoneid by creating new term in_phone_hash,
which in fact represents kernel address of the phone sending the
message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pci/pci.c

    rbabe786 r043dcc27  
    3232
    3333        int ipc_res;
    34         ipcarg_t ns_phone_addr;
     34        ipcarg_t ns_in_phone_hash;
    3535
    3636        printf("%s: HelenOS PCI driver\n", NAME);
     
    5656
    5757        printf("%s: registering at naming service.\n", NAME);
    58         if (ipc_connect_to_me(PHONE_NS, 40, 70, &ns_phone_addr) != 0) {
     58        if (ipc_connect_to_me(PHONE_NS, 40, 70, &ns_in_phone_hash) != 0) {
    5959                printf("Failed to register %s at naming service.\n", NAME);
    6060                return -1;
Note: See TracChangeset for help on using the changeset viewer.