Chameleon

Chameleon Commit Details

Date:2014-10-21 13:02:39 (4 years 7 months ago)
Author:ErmaC
Commit:2418
Parents: 2417
Message:Update efi Header
Changes:
M/trunk/i386/libsaio/efi.h
M/trunk/i386/boot2/boot.h
M/trunk/CHANGES

File differences

trunk/i386/libsaio/efi.h
231231
232232
233233
234
234
235235
236236
237237
......
254254
255255
256256
257
257
258258
259259
260260
......
262262
263263
264264
265
265
266266
267267
268268
......
281281
282282
283283
284
284
285285
286286
287287
......
290290
291291
292292
293
293
294294
295295
296296
......
301301
302302
303303
304
304
305305
306306
307307
......
318318
319319
320320
321
321
322322
323323
324324
325325
326326
327327
328
328
329329
330330
331331
......
334334
335335
336336
337
337
338338
339339
340340
......
342342
343343
344344
345
345
346346
347347
348348
......
363363
364364
365365
366
366
367367
368368
369369
......
391391
392392
393393
394
394
395395
396396
397397
// range requires a runtime mapping
#define EFI_MEMORY_RUNTIME 0x8000000000000000ULL
#define EFI_MEMORY_KERN_RESERVED (1ULL << 59)
typedef EFI_UINT64 EFI_PHYSICAL_ADDRESS;
typedef EFI_UINT64 EFI_VIRTUAL_ADDRESS;
IN EFI_UINTN DescriptorSize,
IN EFI_UINT32 DescriptorVersion,
IN EFI_MEMORY_DESCRIPTOR * VirtualMap
) __attribute__((regparm(0)));
);
typedef
EFI_RUNTIMESERVICE
(EFIAPI *EFI_CONVERT_POINTER) (
IN EFI_UINTN DebugDisposition,
IN OUT VOID **Address
) __attribute__((regparm(0)));
);
// Variable attributes
OUT EFI_UINT32 * Attributes OPTIONAL,
IN OUT EFI_UINTN * DataSize,
OUT VOID * Data
) __attribute__((regparm(0)));
);
typedef
EFI_RUNTIMESERVICE
IN OUT EFI_UINTN * VariableNameSize,
IN OUT EFI_CHAR16 * VariableName,
IN OUT EFI_GUID * VendorGuid
) __attribute__((regparm(0)));
);
typedef
EFI_RUNTIMESERVICE
IN EFI_UINT32 Attributes,
IN EFI_UINTN DataSize,
IN VOID * Data
) __attribute__((regparm(0)));
);
// EFI Time
(EFIAPI *EFI_GET_TIME) (
OUT EFI_TIME * Time,
OUT EFI_TIME_CAPABILITIES * Capabilities OPTIONAL
) __attribute__((regparm(0)));
);
typedef
EFI_RUNTIMESERVICE
EFI_STATUS
(EFIAPI *EFI_SET_TIME) (
IN EFI_TIME * Time
) __attribute__((regparm(0)));
);
typedef
EFI_RUNTIMESERVICE
OUT EFI_BOOLEAN * Enabled,
OUT EFI_BOOLEAN * Pending,
OUT EFI_TIME * Time
) __attribute__((regparm(0)));
);
typedef
EFI_RUNTIMESERVICE
(EFIAPI *EFI_SET_WAKEUP_TIME) (
IN EFI_BOOLEAN Enable,
IN EFI_TIME * Time OPTIONAL
) __attribute((regparm(0)));
);
typedef enum {
EfiResetCold,
IN EFI_STATUS ResetStatus,
IN EFI_UINTN DataSize,
IN EFI_CHAR16 * ResetData OPTIONAL
) __attribute__((regparm(0)));
);
typedef
EFI_RUNTIMESERVICE
IN EFI_UINT32 Instance,
IN EFI_GUID * CallerId OPTIONAL,
IN EFI_STATUS_CODE_DATA * Data OPTIONAL
) __attribute__((regparm(0)));
);
#endif
//
trunk/i386/boot2/boot.h
3232
3333
3434
35
35
3636
3737
3838
......
7272
7373
7474
75
75
7676
7777
7878
* Paths used by chameleon
*/
//kernel cache
// kernel cache
#define kDefaultCachePathLeo "/System/Library/Caches/com.apple.kernelcaches/"
#define kDefaultCachePathSnow "/System/Library/Caches/com.apple.kext.caches/Startup/"
#define kDefaultKernel"mach_kernel"
#define kGUIKey"GUI"
#define kBootBannerKey"Boot Banner"
#define kShowInfoKey"ShowInfo"// gui.c
#define kShowInfoKey"ShowInfo"/* gui.c */
#define kWaitForKeypressKey"Wait"
/* AsereBLN: added these keys */
trunk/CHANGES
1
12
23
34
- Update efi Header
- buffer BPS
- devprop_generate_string optimized by cparm
- Update CPUID and change conditional logic.

Archive Download the corresponding diff file

Revision: 2418