Date: Wed, 5 Mar 2003 19:37:35 +0100 (MET) From: =?ISO-8859-2?Q?Marcin_CIE=A6LAK?= <saper@sgh.waw.pl> To: freebsd-current@FreeBSD.org Cc: freebsd-emulation@FreeBSD.org, <vsilyaev@mindspring.com>, <saper@system.pl> Subject: Fix for rtc, vmware modules and post-500104 -current Message-ID: <Pine.SOL.4.43.0303051932230.27381-300000@akson.sgh.waw.pl>
next in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. ---559023410-851401618-1046889455=:27381 Content-Type: TEXT/PLAIN; charset=ISO-8859-2 Content-Transfer-Encoding: 8BIT See the patches enclosed to emulators/rtc and emulators/vmware2 ports. Tested only for -current with: #define __FreeBSD_version 500104 -- << Marcin Cieślak // saper@sgh.waw.pl >> ---559023410-851401618-1046889455=:27381 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="rtc.500104.patch" Content-Transfer-Encoding: BASE64 Content-ID: <Pine.SOL.4.43.0303051937350.27381@akson.sgh.waw.pl> Content-Description: Content-Disposition: attachment; filename="rtc.500104.patch" SW5kZXg6IE1ha2VmaWxlDQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpSQ1Mg ZmlsZTogL2hvbWUvbmN2cy9wb3J0cy9lbXVsYXRvcnMvcnRjL01ha2VmaWxl LHYNCnJldHJpZXZpbmcgcmV2aXNpb24gMS4xMg0KZGlmZiAtdSAtdSAtcjEu MTIgTWFrZWZpbGUNCi0tLSBNYWtlZmlsZQkxNiBTZXAgMjAwMSAwNzowMTo0 NCAtMDAwMAkxLjEyDQorKysgTWFrZWZpbGUJNSBNYXIgMjAwMyAxNzozNjoz NyAtMDAwMA0KQEAgLTYsNyArNiw3IEBADQogIw0KIA0KIFBPUlROQU1FPQly dGMNCi1QT1JUVkVSU0lPTj0JMjAwMS4wOS4xNi4xDQorU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2lvbiA8PSA1MDAwMTgN CiAJLyogYm1haiAqLwktMSwNCiAjZW5kaWYNCisjZW5kaWYgDQogI2lmIF9f RnJlZUJTRF92ZXJzaW9uID49IDUwMDAxOCB8fCBfX0ZyZWVCU0RfdmVyc2lv biA+PSA0MzAwMDANCiAJLyoga3FmaWx0ZXIgKi8Jbm9rcWZpbHRlciwNCiAj ZW5kaWYNCkBAIC0yNjQsMTEgKzI3MywxMyBAQA0KIHN0YXRpYyBpbnQNCiBp bml0X21vZHVsZSh2b2lkKQ0KIHsNCi1pbnQgZXJyb3I7DQorCWludCBlcnJv ciA9IDA7DQogDQorI2lmIF9fRnJlZUJTRF92ZXJzaW9uIDwgNTAwMTA0DQog ICAgCWVycm9yID0gY2RldnN3X2FkZCgmcnRjX2NkZXZzdyk7DQogCWlmIChl cnJvcikgDQogCQlyZXR1cm4gZXJyb3I7DQorI2VuZGlmDQogDQogCXJldHVy biBlcnJvcjsNCiB9DQpAQCAtMjg2LDcgKzI5Nyw5IEBADQogCQlETG9nKExm YWlsLCAiJXAgYnVzeSIsIHNjKTsNCiAJCXJldHVybiBlcnJvcjsNCiAJfQ0K KyNpZiBfX0ZyZWVCU0RfdmVyc2lvbiA8IDUwMDEwNA0KIAllcnJvciA9IGNk ZXZzd19yZW1vdmUoJnJ0Y19jZGV2c3cpOw0KKyNlbmRpZg0KIAlETG9nKExp bmZvLCAicmV0dXJuICVkIiwgZXJyb3IpOw0KIAlyZXR1cm4gZXJyb3I7DQog fQ0K ---559023410-851401618-1046889455=:27381 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="vmware.500104.patch" Content-Transfer-Encoding: BASE64 Content-ID: <Pine.SOL.4.43.0303051937351.27381@akson.sgh.waw.pl> Content-Description: Content-Disposition: attachment; filename="vmware.500104.patch" SW5kZXg6IE1ha2VmaWxlDQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpSQ1Mg ZmlsZT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EZfU1VQUE9SVEVEKTsN CisrCWV0aGVyX2lmYXR0YWNoKGlmcCk7DQorIAlicGZhdHRhY2goaWZwLCBE TFRfRU4xME1CLCBzaXplb2Yoc3RydWN0IGV0aGVyX2hlYWRlcikpOw0KKyAJ c3BseChzKTsNCisgCQ0KK0BAIC02MDQsMTEgKzYxNSwxMyBAQA0KKyBzdGF0 aWMgaW50DQorIGluaXRfbW9kdWxlKHZvaWQpDQorIHsNCistaW50IGVycm9y Ow0KKysJaW50IGVycm9yID0gMDsNCisgDQorKyNpZiBfX0ZyZWVCU0RfdmVy c2lvbiA8IDUwMDEwNA0KKyAgICAJZXJyb3IgPSBjZGV2c3dfYWRkKCZ2bW5l dF9jZGV2c3cpOw0KKyAJaWYgKGVycm9yKSANCisgCQlyZXR1cm4gZXJyb3I7 DQorKyNlbmRpZg0KKyANCisgCXJldHVybiBlcnJvcjsNCisgfQ0KK0BAIC02 MTgsNyArNjMxLDcgQEANCisgc3RhdGljIGludA0KKyBjbGVhbnVwX21vZHVs ZSh2b2lkKQ0KKyB7DQorLQlpbnQgZXJyb3I7DQorKwlpbnQgZXJyb3IgPSAw Ow0KKyAJc3RydWN0IHZtbmV0X3NvZnRjICpzYzsNCisgDQorIAlETG9nKExl bnRlciwgIiIpOw0KK0BAIC02MjksNyArNjQyLDkgQEANCisgCQkJcmV0dXJu IGVycm9yOw0KKyAJCX0NCisgICAgCX0NCisrI2lmIF9fRnJlZUJTRF92ZXJz aW9uIDwgNTAwMTA0DQorIAllcnJvciA9IGNkZXZzd19yZW1vdmUoJnZtbmV0 X2NkZXZzdyk7DQorKyNlbmRpZg0KKyAJRExvZyhMaW5mbywgInJldHVybiAl ZCIsIGVycm9yKTsNCisgCXJldHVybiBlcnJvcjsNCisgfQ0K ---559023410-851401618-1046889455=:27381-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.43.0303051932230.27381-300000>