mirror of
https://github.com/Interlisp/maiko.git
synced 2026-04-10 22:31:51 +00:00
Move extern declaration for IOINTERRUPTFLAGS_word to lspglob.h and remove from initsout.c
Initialize MaxTypeNumber_word from address of value cell of \MaxTypeNumber in initsout.c Correctly extract value of \MaxTypeNumber where used in gcmaptable() (though gcmaptable() itself is unused at this time) Update GetDTD() macro to return (void *), result will be cast to (struct dtd *) where it is needed. Alignment should always be sufficiently large.
This commit is contained in:
@@ -331,6 +331,7 @@ void build_lisp_map(void) {
|
||||
Next_MDSpage_word = fixp_value(MakeAtom68k("\\NxtMDSPage"));
|
||||
Next_Array_word = fixp_value(MakeAtom68k("\\NxtArrayPage"));
|
||||
MDS_free_page_word = MakeAtom68k("\\MDSFREELISTPAGE");
|
||||
MaxTypeNumber_word = MakeAtom68k("\\MaxTypeNumber");
|
||||
|
||||
/*** The following are STK-OVER-FLOW stuff * Take **/
|
||||
STACKOVERFLOW_word = MakeAtom68k("\\STACKOVERFLOW");
|
||||
@@ -385,7 +386,6 @@ void init_for_keyhandle(void) {
|
||||
|
||||
extern LispPTR *PERIODIC_INTERRUPT68k;
|
||||
extern LispPTR *PERIODIC_INTERRUPT_FREQUENCY68k;
|
||||
extern LispPTR *IOINTERRUPTFLAGS_word;
|
||||
|
||||
CURSORDESTHEIGHT68k = MakeAtom68k("\\CURSORDESTHEIGHT");
|
||||
CURSORDESTWIDTH68k = MakeAtom68k("\\CURSORDESTWIDTH");
|
||||
|
||||
Reference in New Issue
Block a user