gbe_diff_t500_x200.txt 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. --- mkgbe.c 2015-03-31 04:46:11.840747724 +0100
  2. +++ ../lbdev/libreboot/resources/utilities/ich9deblob/src/ich9gen/mkgbe.c 2015-03-26 16:55:12.243313103 +0000
  3. @@ -1,5 +1,19 @@
  4. -/* mkgbe.c: generated C code from ich9deblob */
  5. -/* .c source file for the gbe-generating C code */
  6. +/*
  7. + * Copyright (C) 2014 Leah Rowe <info@minifree.org>
  8. + *
  9. + * This program is free software: you can redistribute it and/or modify
  10. + * it under the terms of the GNU General Public License as published by
  11. + * the Free Software Foundation, either version 3 of the License, or
  12. + * (at your option) any later version.
  13. + *
  14. + * This program is distributed in the hope that it will be useful,
  15. + * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. + * GNU General Public License for more details.
  18. + *
  19. + * You should have received a copy of the GNU General Public License
  20. + * along with this program. If not, see <http://www.gnu.org/licenses/>.
  21. + */
  22. #include "mkgbe.h"
  23. @@ -14,11 +28,11 @@
  24. /* MAC address (words 00h to 02h) */
  25. /* see ../gbe/gbe.c */
  26. gbeStruct4k.macAddress[0] = 0x00;
  27. - gbeStruct4k.macAddress[1] = 0x22;
  28. - gbeStruct4k.macAddress[2] = 0x68;
  29. - gbeStruct4k.macAddress[3] = 0x1d;
  30. - gbeStruct4k.macAddress[4] = 0x5f;
  31. - gbeStruct4k.macAddress[5] = 0xc1;
  32. + gbeStruct4k.macAddress[1] = 0xf5;
  33. + gbeStruct4k.macAddress[2] = 0xf0;
  34. + gbeStruct4k.macAddress[3] = 0x40;
  35. + gbeStruct4k.macAddress[4] = 0x71;
  36. + gbeStruct4k.macAddress[5] = 0xfe;
  37. /* Word 03h (Reserved) */
  38. gbeStruct4k.reservedWord03h.reserved1_0 = 0x00;
  39. @@ -83,7 +97,7 @@
  40. gbeStruct4k.sharedInitializationControlWord.phyPowerDownEnable = 0x1;
  41. gbeStruct4k.sharedInitializationControlWord.reserved3 = 0x1;
  42. gbeStruct4k.sharedInitializationControlWord.reserved4 = 0x0;
  43. - gbeStruct4k.sharedInitializationControlWord.sign = 0x0;
  44. + gbeStruct4k.sharedInitializationControlWord.sign = 0x2;
  45. /* Word 14h (Extended Configuration Control Word 1) */
  46. gbeStruct4k.extendedConfigurationControlWord1.extendedConfigurationPointer = 0x020;
  47. @@ -198,7 +212,7 @@
  48. gbeStruct4k.pxeSoftwareRegion.bootAgentConfigurationCustomizationOptions31h.reserved2 = 0x0;
  49. gbeStruct4k.pxeSoftwareRegion.bootAgentConfigurationCustomizationOptions31h.signature = 0x1;
  50. /* Boot Agent Configuration Customization Options (Word 32h) */
  51. - gbeStruct4k.pxeSoftwareRegion.bootAgentConfigurationCustomizationOptions32h.buildNumber = 0x24;
  52. + gbeStruct4k.pxeSoftwareRegion.bootAgentConfigurationCustomizationOptions32h.buildNumber = 0x18;
  53. gbeStruct4k.pxeSoftwareRegion.bootAgentConfigurationCustomizationOptions32h.minorVersionNumber = 0x3;
  54. gbeStruct4k.pxeSoftwareRegion.bootAgentConfigurationCustomizationOptions32h.majorVersionNumber = 0x1;
  55. /* IBA Capabilities (Word 33h) */
  56. @@ -223,7 +237,7 @@
  57. gbeStruct4k.pxeSoftwareRegion.paddingWords34hTo3Eh[10] = 0xffff;
  58. /* Word 3Fh (Checksum) */
  59. - gbeStruct4k.checkSum = 0xe818;
  60. + gbeStruct4k.checkSum = 0x348a;
  61. /* The rest of Gbe (word 40h or byte 80h onwards) is just padding (0xFF) */
  62. for (i = 0; i < 3968; i++) {