From ae887e1798cc67d5d0a7c3bb962bf2a18b6d51c7 Mon Sep 17 00:00:00 2001 From: Brett Gordon Date: Wed, 7 Oct 2015 14:36:19 -0400 Subject: [PATCH] coco3: tty: be more pendantic. --- Kernel/platform-coco3/devtty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Kernel/platform-coco3/devtty.c b/Kernel/platform-coco3/devtty.c index 3f757c82..6fa56a44 100644 --- a/Kernel/platform-coco3/devtty.c +++ b/Kernel/platform-coco3/devtty.c @@ -166,8 +166,8 @@ int curminor = 1; /* Apply settings to GIME chip */ void apply_gime( int minor ){ - *(unsigned int *) 0xff9d = ptytab[minor-1].scrloc; - *(unsigned char *) 0xff99 = ptytab[minor-1].gime; + *(volatile uint16_t *) 0xff9d = ptytab[minor-1].scrloc; + *(volatile uint8_t *) 0xff99 = ptytab[minor-1].gime; } -- 2.34.1