Root/
Source at commit 1129 created 12 years 11 months ago. By meklort, Change options.o so that it reloads the system config as well. Also change it so that it uses that config for variables (NOTE: if the calue exists in chameleonConfig, it's used instead. | |
---|---|
1 | /*␊ |
2 | * IOFWUtils.h␊ |
3 | * IOFireWireFamily␊ |
4 | *␊ |
5 | * Created by Niels on Fri Aug 16 2002.␊ |
6 | * Copyright (c) 2002 Apple Computer, Inc. All rights reserved.␊ |
7 | *␊ |
8 | */␊ |
9 | ␊ |
10 | #import <IOKit/IOTypes.h>␊ |
11 | ␊ |
12 | ////////////////////////////////////////////////////////////////////////////////␊ |
13 | //␊ |
14 | // Useful FireWire utility functions.␊ |
15 | //␊ |
16 | ␊ |
17 | #ifdef __cplusplus␊ |
18 | extern "C" {␊ |
19 | #endif␊ |
20 | ␊ |
21 | UInt16 FWComputeCRC16(const UInt32 *pQuads, UInt32 numQuads);␊ |
22 | UInt16 FWUpdateCRC16(UInt16 crc16, UInt32 quad);␊ |
23 | ␊ |
24 | UInt32 AddFWCycleTimeToFWCycleTime( UInt32 cycleTime1, UInt32 cycleTime2 );␊ |
25 | UInt32 SubtractFWCycleTimeFromFWCycleTime( UInt32 cycleTime1, UInt32 cycleTime2);␊ |
26 | ␊ |
27 | void IOFWGetAbsoluteTime( AbsoluteTime * result );␊ |
28 | ␉␊ |
29 | #ifdef __cplusplus␊ |
30 | }␊ |
31 | #endif␊ |
32 | ␊ |
33 |