Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable =0D Hi,=0D =0D as a first step to the CMOS infrastructure project (as detailed in the=0D wiki), this patch changes read_option() by wrapping it in a macro,=0D simplifying its use from=0D read_option(CMOS_VSTART_foo, CMOS_VLEN_foo, somedefault)=0D to=0D read_option(foo, somedefault)=0D =0D =0D Signed-off-by: Patrick Georgi patrick@georgi-clan.de=0D
Content-Transfer-Encoding: base64
Content-Type: text/x-c++; charset=us-ascii; charset=UTF-8; name=0001-Hide-CMOS_VSTART_-and-CMOS_VLEN_-prefixes-for-read_o.patch
Content-Disposition: attachment; filename=0001-Hide-CMOS_VSTART_-and-CMOS_VLEN_-prefixes-for-read_o.patch
W1BBVENIXSBIaWRlIENNT1NfVlNUQVJUXyBhbmQgQ01PU19WTEVOXyBwcmVmaXhlcyBmb3IgcmVh ZF9vcHRpb24oKSB1c2UKClNpZ25lZC1vZmYtYnk6IFBhdHJpY2sgR2VvcmdpIDxwYXRyaWNrQGdl b3JnaS1jbGFuLmRlPgotLS0KIHNyYy9jcHUvYW1kL2R1YWxjb3JlL2R1YWxjb3JlLmMgICAgICAg ICAgIHwgICAgMiArLQogc3JjL2NwdS9hbWQvbW9kZWxfMTB4eHgvaW5pdF9jcHVzLmMgICAgICAg fCAgICAyICstCiBzcmMvY3B1L2FtZC9tb2RlbF9meHgvaW5pdF9jcHVzLmMgICAgICAgICB8ICAg IDIgKy0KIHNyYy9jcHUvYW1kL3F1YWRjb3JlL3F1YWRjb3JlLmMgICAgICAgICAgIHwgICAgMiAr LQogc3JjL2luY2x1ZGUvcGM4MC9tYzE0NjgxOHJ0Yy5oICAgICAgICAgICAgfCAgICA1ICsrKy0t CiBzcmMvbGliL3VhcnQ4MjUwLmMgICAgICAgICAgICAgICAgICAgICAgICB8ICAgIDIgKy0KIHNy Yy9tYWluYm9hcmQvZ2V0YWMvcDQ3MC9yb21zdGFnZS5jICAgICAgIHwgICAgMiArLQogc3JjL21h aW5ib2FyZC9rb250cm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SA9PSAwKSB7CisJaWYgKHJlYWRfb3B0aW9uKEVDQ19tZW1vcnksIDEpID09IDApIHsKIAkJZWNj ID0gMDsgIC8qIEVDQyBvZmYgaW4gQ01PUyBzbyBkaXNhYmxlIGl0ICovCiAJCXByaW50X2RlYnVn KCJFQ0Mgb2ZmXG4iKTsKIAl9IGVsc2UKZGlmZiAtLWdpdCBhL3NyYy9wYzgwL21jMTQ2ODE4cnRj X2Vhcmx5LmMgYi9zcmMvcGM4MC9tYzE0NjgxOHJ0Y19lYXJseS5jCmluZGV4IGQwOWQ2YjkuLmFi ZGRmODcgMTAwNjQ0Ci0tLSBhL3NyYy9wYzgwL21jMTQ2ODE4cnRjX2Vhcmx5LmMKKysrIGIvc3Jj L3BjODAvbWMxNDY4MThydGNfZWFybHkuYwpAQCAtOTIsNyArOTIsNyBAQCBzdGF0aWMgaW5saW5l IGludCBkb19ub3JtYWxfYm9vdCh2b2lkKQogCXJldHVybiAoYnl0ZSAmICgxPDwxKSk7CiB9CiAK LXVuc2lnbmVkIHJlYWRfb3B0aW9uKHVuc2lnbmVkIHN0YXJ0LCB1bnNpZ25lZCBzaXplLCB1bnNp Z25lZCBkZWYpCit1bnNpZ25lZCByZWFkX29wdGlvbl9sb3dsZXZlbCh1bnNpZ25lZCBzdGFydCwg dW5zaWduZWQgc2l6ZSwgdW5zaWduZWQgZGVmKQogewogI2lmIENPTkZJR19VU0VfT1BUSU9OX1RB QkxFCiAJdW5zaWduZWQgYnl0ZTsKLS0gCjEuNy40LjQKCg==
Dear Patrick,
Am Montag, den 09.05.2011, 17:08 +0200 schrieb Patrick Georgi:
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable =0D Hi,=0D =0D
did you change your mail setup? Somehow your message is not displayed correctly, i. e. it is not formatted.
as a first step to the CMOS infrastructure project (as detailed in the=0D wiki),
An URL would be nice.
this patch changes read_option() by wrapping it in a macro,=0D simplifying its use from=0D read_option(CMOS_VSTART_foo, CMOS_VLEN_foo, somedefault)=0D to=0D read_option(foo, somedefault)=0D =0D =0D Signed-off-by: Patrick Georgi patrick@georgi-clan.de=0D
Thanks,
Paul
Am 09.05.2011 18:32, schrieb Paul Menzel:
did you change your mail setup? Somehow your message is not displayed correctly, i. e. it is not formatted.
Oops, I'll resend (that was with webmail stuff, and I rarely use the webmail with attachments)
Thanks for the heads-up
as a first step to the CMOS infrastructure project (as detailed in the wiki),
An URL would be nice.
http://www.coreboot.org/Infrastructure_Projects#CMOS_handling
Patrick