Changeset b688fd8 in mainline for uspace/srv/bd


Ignore:
Timestamp:
2015-08-17T18:54:56Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
abf2dfd
Parents:
b10460a
Message:

gradually introduce async ports, initial phase

The initial phase is to reimplement the traditional async client connections as an untyped fallback port. This creates the possibility to introduce ports typed by interface type gradually in later changesets.

Location:
uspace/srv/bd
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/file_bd/file_bd.c

    rb10460a rb688fd8  
    157157        bd_srvs.ops = &file_bd_ops;
    158158       
    159         async_set_client_connection(file_bd_connection);
     159        async_set_fallback_port_handler(file_bd_connection, NULL);
    160160        int rc = loc_server_register(NAME);
    161161        if (rc != EOK) {
  • uspace/srv/bd/part/guid_part/guid_part.c

    rb10460a rb688fd8  
    185185
    186186        /* Register server with location service. */
    187         async_set_client_connection(gpt_connection);
     187        async_set_fallback_port_handler(gpt_connection, NULL);
    188188        rc = loc_server_register(NAME);
    189189        if (rc != EOK) {
  • uspace/srv/bd/part/mbr_part/mbr_part.c

    rb10460a rb688fd8  
    235235
    236236        /* Register server with location service. */
    237         async_set_client_connection(mbr_connection);
     237        async_set_fallback_port_handler(mbr_connection, NULL);
    238238        rc = loc_server_register(NAME);
    239239        if (rc != EOK) {
  • uspace/srv/bd/rd/rd.c

    rb10460a rb688fd8  
    178178        bd_srvs.ops = &rd_bd_ops;
    179179       
    180         async_set_client_connection(rd_client_conn);
     180        async_set_fallback_port_handler(rd_client_conn, NULL);
    181181        ret = loc_server_register(NAME);
    182182        if (ret != EOK) {
  • uspace/srv/bd/sata_bd/sata_bd.c

    rb10460a rb688fd8  
    247247        int rc;
    248248       
    249         async_set_client_connection(sata_bd_connection);
     249        async_set_fallback_port_handler(sata_bd_connection, NULL);
    250250        rc = loc_server_register(NAME);
    251251        if (rc < 0) {
Note: See TracChangeset for help on using the changeset viewer.