VirtualBox

Changeset 12649 in vbox


Ignore:
Timestamp:
Sep 22, 2008 1:40:23 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
36936
Message:

DevPcBios: CMOS layout.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevPcBios.cpp

    r12555 r12649  
    4646 * It is currently used as follows:
    4747 *
     48 * @verbatim
     49    Base memory:
     50         0x15
     51         0x16
     52    Extended memory:
     53         0x17
     54         0x18
     55         0x30
     56         0x31
     57    Amount of memory above 16M:
     58         0x34
     59         0x35
     60    Boot device (BOCHS bios specific):
     61         0x3d
     62         0x38
     63         0x3c
     64    PXE debug:
     65         0x3f
     66    Floppy drive type:
     67         0x10
     68    Equipment byte:
     69         0x14
     70    First HDD:
     71         0x19
     72         0x1e - 0x25
     73    Second HDD:
     74         0x1a
     75         0x26 - 0x2d
     76    Third HDD:
     77         0x67 - 0x6e
     78    Fourth HDD:
     79         0x70 - 0x77
     80    Extended:
     81         0x12
     82    First Sata HDD:
     83         0x40 - 0x47
     84    Second Sata HDD:
     85         0x48 - 0x4f
     86    Third Sata HDD:
     87         0x50 - 0x57
     88    Fourth Sata HDD:
     89         0x58 - 0x5f
     90    Number of CPUs:
     91         0x60
     92    RAM above 4G (in 64M units):
     93         0x61 - 0x63
     94@endverbatim
     95 *
    4896 * @todo Mark which bits are compatible with which BIOSes and
    4997 *       which are our own definitions.
    50  *
    51  *     Base memory:
    52  *          0x15
    53  *          0x16
    54  *     Extended memory:
    55  *          0x17
    56  *          0x18
    57  *          0x30
    58  *          0x31
    59  *     Amount of memory above 16M:
    60  *          0x34
    61  *          0x35
    62  *     Boot device (BOCHS bios specific):
    63  *          0x3d
    64  *          0x38
    65  *          0x3c
    66  *     PXE debug:
    67  *          0x3f
    68  *     Floppy drive type:
    69  *          0x10
    70  *     Equipment byte:
    71  *          0x14
    72  *     First HDD:
    73  *          0x19
    74  *          0x1e - 0x25
    75  *     Second HDD:
    76  *          0x1a
    77  *          0x26 - 0x2d
    78  *     Third HDD:
    79  *          0x67 - 0x6e
    80  *     Fourth HDD:
    81  *          0x70 - 0x77
    82  *     Extended:
    83  *          0x12
    84  *     First Sata HDD:
    85  *          0x40 - 0x47
    86  *     Second Sata HDD:
    87  *          0x48 - 0x4f
    88  *     Third Sata HDD:
    89  *          0x50 - 0x57
    90  *     Fourth Sata HDD:
    91  *          0x58 - 0x5f
    92  *     Number of CPUs:
    93  *          0x60
    94  *     RAM above 4G (in 64M units):
    95  *          0x61 - 0x63
    9698 *
    9799 * @todo r=bird: Is the 0x61 - 0x63 range defined by AMI,
     
    103105 *         0x5b - 0x5c: RAM above 4G
    104106 *         0x5f: number of CPUs
    105  *        Unfortunately for us those positions in our CMOS are already taken 
    106  *        by 4th SATA drive configuration. 
    107  *         
     107 *        Unfortunately for us those positions in our CMOS are already taken
     108 *        by 4th SATA drive configuration.
     109 *
    108110 */
    109111
     
    11421144#ifdef VBOX_WITH_SMP_GUESTS
    11431145    PMPSPROCENTRY pProcEntry       = (PMPSPROCENTRY)(pCfgTab+1);
    1144     for (int i = 0; i<numCpus; i++) 
     1146    for (int i = 0; i<numCpus; i++)
    11451147    {
    11461148      pProcEntry->u8EntryType        = 0; /* processor entry */
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