add .videodata section, add defines for video sections in devtty.c
authorBrett Gordon <beretta42@gmail.com>
Thu, 8 Oct 2015 15:55:22 +0000 (11:55 -0400)
committerBrett Gordon <beretta42@gmail.com>
Thu, 8 Oct 2015 15:55:22 +0000 (11:55 -0400)
Kernel/platform-coco3/devtty.c
Kernel/platform-coco3/fuzix.link

index 7ed11a5..0c66f3a 100644 (file)
@@ -12,6 +12,8 @@
 
 #undef  DEBUG                  /* UNdefine to delete debug code sequences */
 
+#define VSECT __attribute__((section(".video")))
+#define VSECTD __attribute__((section(".videodata")))
 
 uint8_t vtattr_cap;
 
index d818ff2..1de5531 100644 (file)
@@ -2,6 +2,7 @@ define basesympat __sectionbase_%s__
 define lensympat __sectionlen_%s__
 section .start load 0x0200
 section .video
+section .videodata
 section .text2
 section .text
 section .text.hot