1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Restore CRTC start address check back after looking into more sources

This commit is contained in:
Andrey A. Chernov 1997-04-30 15:31:22 +00:00
parent ae105a60aa
commit 8a13426b30
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=25310
3 changed files with 27 additions and 9 deletions

View File

@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: syscons.c,v 1.211 1997/04/27 09:03:10 yokota Exp $
* $Id: syscons.c,v 1.212 1997/04/30 01:19:21 ache Exp $
*/
#include "sc.h"
@ -3400,8 +3400,14 @@ comp_vgaregs(u_char *buf1, u_char *buf2)
if (*buf1++ != *buf2++)
return 1;
}
buf1 += 6; /* skip the cursor shape and unused values */
buf2 += 6;
buf1 += 2; /* skip the cursor shape */
buf2 += 2;
for(i = 22; i < 24; ++i) {
if (*buf1++ != *buf2++)
return 1;
}
buf1 += 2; /* skip the cursor position */
buf2 += 2;
for(i = 26; i < 64; ++i) {
if (*buf1++ != *buf2++)
return 1;

View File

@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: syscons.c,v 1.211 1997/04/27 09:03:10 yokota Exp $
* $Id: syscons.c,v 1.212 1997/04/30 01:19:21 ache Exp $
*/
#include "sc.h"
@ -3400,8 +3400,14 @@ comp_vgaregs(u_char *buf1, u_char *buf2)
if (*buf1++ != *buf2++)
return 1;
}
buf1 += 6; /* skip the cursor shape and unused values */
buf2 += 6;
buf1 += 2; /* skip the cursor shape */
buf2 += 2;
for(i = 22; i < 24; ++i) {
if (*buf1++ != *buf2++)
return 1;
}
buf1 += 2; /* skip the cursor position */
buf2 += 2;
for(i = 26; i < 64; ++i) {
if (*buf1++ != *buf2++)
return 1;

View File

@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: syscons.c,v 1.211 1997/04/27 09:03:10 yokota Exp $
* $Id: syscons.c,v 1.212 1997/04/30 01:19:21 ache Exp $
*/
#include "sc.h"
@ -3400,8 +3400,14 @@ comp_vgaregs(u_char *buf1, u_char *buf2)
if (*buf1++ != *buf2++)
return 1;
}
buf1 += 6; /* skip the cursor shape and unused values */
buf2 += 6;
buf1 += 2; /* skip the cursor shape */
buf2 += 2;
for(i = 22; i < 24; ++i) {
if (*buf1++ != *buf2++)
return 1;
}
buf1 += 2; /* skip the cursor position */
buf2 += 2;
for(i = 26; i < 64; ++i) {
if (*buf1++ != *buf2++)
return 1;