1
2/*
3 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright
--- 71 unchanged lines hidden (view full) ---
80
81inline
82MachineID map_Address_to_DMA(const Address & addr)
83{
84 MachineID dma = {MachineType_DMA, 0};
85 return dma;
86}
87
88extern inline NodeID machineIDToNodeID(MachineID machID)
89{
90 return machID.num;
91}
92
93extern inline MachineType machineIDToMachineType(MachineID machID)
94{
95 return machID.type;
--- 31 unchanged lines hidden ---
2/*
3 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright
--- 71 unchanged lines hidden (view full) ---
80
81inline
82MachineID map_Address_to_DMA(const Address & addr)
83{
84 MachineID dma = {MachineType_DMA, 0};
85 return dma;
86}
87
88extern inline NodeID machineIDToNodeID(MachineID machID)
89{
90 return machID.num;
91}
92
93extern inline MachineType machineIDToMachineType(MachineID machID)
94{
95 return machID.type;
--- 31 unchanged lines hidden ---