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:
parent
ae105a60aa
commit
8a13426b30
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=25310
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user