Chameleon

Chameleon Commit Details

Date:2013-01-30 17:36:55 (6 years 11 months ago)
Author:Cosmosis Jones
Commit:2175
Parents: 2174
Message:warnings/errors from new llvm/clang (xcode 4.6)
Changes:
M/trunk/i386/modules/Keylayout/Keylayout.c
M/trunk/i386/libsaio/fake_efi.c
M/trunk/i386/modules/AcpiCodec/acpi_codec.c

File differences

trunk/i386/libsaio/fake_efi.c
1818
1919
2020
21
22
2123
2224
2325
......
8385
8486
8587
86
88
8789
8890
8991
......
388390
389391
390392
391
392
393
393
394
395
394396
395397
396398
......
424426
425427
426428
427
428
429
430
431
432
433
434
435
436
429
430
431
432
433
434
435
436
437
438
437439
438440
439441
#include "pci.h"
#include "sl.h"
extern void setup_pci_devs(pci_dt_t *pci_dt);
/*
static uint8_t const VOIDRET_INSTRUCTIONS[] = {0xc3};
/* movl $0x80000003,%eax; ret */
static uint8_t const UNSUPPORTEDRET_INSTRUCTIONS[] = {0xb8, 0x03, 0x00, 0x00, 0x80, 0xc3};
static uint8_t const UNSUPPORTEDRET_INSTRUCTIONS[] = {0x48, 0xb8, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xc3};
EFI_SYSTEM_TABLE_32 *gST32 = NULL;
EFI_SYSTEM_TABLE_64 *gST64 = NULL;
*/
/* These should be const but DT__AddProperty takes char* */
static const char const TSC_Frequency_prop[] = "TSCFrequency";
static const char const FSB_Frequency_prop[] = "FSBFrequency";
static const char const CPU_Frequency_prop[] = "CPUFrequency";
static const char TSC_Frequency_prop[] = "TSCFrequency";
static const char FSB_Frequency_prop[] = "FSBFrequency";
static const char CPU_Frequency_prop[] = "CPUFrequency";
/*==========================================================================
* SMBIOS
*/
/* These should be const but DT__AddProperty takes char* */
static const char const FIRMWARE_REVISION_PROP[] = "firmware-revision";
static const char const FIRMWARE_ABI_PROP[] = "firmware-abi";
static const char const FIRMWARE_VENDOR_PROP[] = "firmware-vendor";
static const char const FIRMWARE_ABI_32_PROP_VALUE[] = "EFI32";
static const char const FIRMWARE_ABI_64_PROP_VALUE[] = "EFI64";
static const char const SYSTEM_ID_PROP[] = "system-id";
static const char const SYSTEM_SERIAL_PROP[] = "SystemSerialNumber";
static const char const SYSTEM_TYPE_PROP[] = "system-type";
static const char const MODEL_PROP[] = "Model";
static const char const BOARDID_PROP[] = "board-id";
static const char FIRMWARE_REVISION_PROP[] = "firmware-revision";
static const char FIRMWARE_ABI_PROP[] = "firmware-abi";
static const char FIRMWARE_VENDOR_PROP[] = "firmware-vendor";
static const char FIRMWARE_ABI_32_PROP_VALUE[] = "EFI32";
static const char FIRMWARE_ABI_64_PROP_VALUE[] = "EFI64";
static const char SYSTEM_ID_PROP[] = "system-id";
static const char SYSTEM_SERIAL_PROP[] = "SystemSerialNumber";
static const char SYSTEM_TYPE_PROP[] = "system-type";
static const char MODEL_PROP[] = "Model";
static const char BOARDID_PROP[] = "board-id";
/*
* Get an smbios option string option to convert to EFI_CHAR16 string
trunk/i386/modules/Keylayout/Keylayout.c
117117
118118
119119
120
120
121121
122122
123123
sprintf(layoutPath, "/Extra/Keymaps/%s", val);
// Add the extension if needed
if (len <= 4 || strcmp(val+len-4,".lyt") != 0)
strncat(layoutPath, ".lyt", sizeof(layoutPath));
strncat(layoutPath, ".lyt", sizeof(layoutPath) - strlen(layoutPath) - 1);
if (!load_keyboard_layout_file(layoutPath)) {
printf("Can't load %s keyboard layout file. Keylayout will not be used !\n",
trunk/i386/modules/AcpiCodec/acpi_codec.c
17691769
17701770
17711771
1772
1772
17731773
17741774
17751775
{
{
TagPtr CstateTag;
TagPtr CstateTag = NULL;
U32 entry_count = 0;
if (bootInfo->chameleonConfig.dictionary)

Archive Download the corresponding diff file

Revision: 2175