VirtualBox

Changeset 6226 in vbox for trunk/src/VBox/Devices/Parallel


Ignore:
Timestamp:
Dec 31, 2007 11:41:21 AM (17 years ago)
Author:
vboxsync
Message:

Don't use doxgen comment markers to document code lines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Parallel/DevParallel.cpp

    r6223 r6226  
    192192        break;
    193193    case 2:
    194         /** Set the reserved bits to one */
     194        /* Set the reserved bits to one */
    195195        ch |= (LPT_CONTROL_BIT6 | LPT_CONTROL_BIT7);
    196196        if (ch != s->reg_control) {
     
    299299            s->act_fifo_pos_write++;
    300300            if (s->act_fifo_pos_write < LPT_ECP_FIFO_DEPTH) {
    301                 /** FIFO has some data (clear both FIFO bits) */
     301                /* FIFO has some data (clear both FIFO bits) */
    302302                s->reg_ecp_ecr &= ~(LPT_ECP_ECR_FIFO_EMPTY | LPT_ECP_ECR_FIFO_FULL);
    303303            } else {
    304                 /** FIFO is full */
    305                 /** Clear FIFO empty bit */
     304                /* FIFO is full */
     305                /* Clear FIFO empty bit */
    306306                s->reg_ecp_ecr &= ~LPT_ECP_ECR_FIFO_EMPTY;
    307                 /** Set FIFO full bit */
     307                /* Set FIFO full bit */
    308308                s->reg_ecp_ecr |= LPT_ECP_ECR_FIFO_FULL;
    309309                s->act_fifo_pos_write = 0;
     
    317317        break;
    318318    case 2:
    319         /** If we change the mode clear FIFO */
     319        /* If we change the mode clear FIFO */
    320320        if ((ch & LPT_ECP_ECR_CHIPMODE_MASK) != (s->reg_ecp_ecr & LPT_ECP_ECR_CHIPMODE_MASK)) {
    321             /** reset the fifo */
     321            /* reset the fifo */
    322322            s->act_fifo_pos_write = 0;
    323323            s->act_fifo_pos_read = 0;
    324             /** Set FIFO empty bit */
     324            /* Set FIFO empty bit */
    325325            s->reg_ecp_ecr |= LPT_ECP_ECR_FIFO_EMPTY;
    326             /** Clear FIFO full bit */
     326            /* Clear FIFO full bit */
    327327            s->reg_ecp_ecr &= ~LPT_ECP_ECR_FIFO_FULL;
    328328        }
    329         /** Set new mode */
     329        /* Set new mode */
    330330        s->reg_ecp_ecr |= LPT_ECP_ECR_CHIPMODE_SET_BITS(LPT_ECP_ECR_CHIPMODE_GET_BITS(ch));
    331331        break;
     
    359359            s->act_fifo_pos_read++;
    360360            if (s->act_fifo_pos_read == LPT_ECP_FIFO_DEPTH)
    361                 s->act_fifo_pos_read = 0; /** end of FIFO, start at beginning */
     361                s->act_fifo_pos_read = 0; /* end of FIFO, start at beginning */
    362362            if (s->act_fifo_pos_read == s->act_fifo_pos_write) {
    363                 /** FIFO is empty */
    364                 /** Set FIFO empty bit */
     363                /* FIFO is empty */
     364                /* Set FIFO empty bit */
    365365                s->reg_ecp_ecr |= LPT_ECP_ECR_FIFO_EMPTY;
    366                 /** Clear FIFO full bit */
     366                /* Clear FIFO full bit */
    367367                s->reg_ecp_ecr &= ~LPT_ECP_ECR_FIFO_FULL;
    368368            } else {
    369                 /** FIFO has some data (clear all FIFO bits) */
     369                /* FIFO has some data (clear all FIFO bits) */
    370370                s->reg_ecp_ecr &= ~(LPT_ECP_ECR_FIFO_EMPTY | LPT_ECP_ECR_FIFO_FULL);
    371371            }
     
    816816    }
    817817
    818     /** Set compatibility mode */
     818    /* Set compatibility mode */
    819819    pData->pDrvHostParallelConnector->pfnSetMode(pData->pDrvHostParallelConnector, PDM_PARALLEL_PORT_MODE_COMPAT);
    820     /** Get status of control register */
     820    /* Get status of control register */
    821821    pData->pDrvHostParallelConnector->pfnReadControl(pData->pDrvHostParallelConnector, &pData->reg_control);
    822822
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette