ZealOS/src/Kernel/KGlobals.ZC

36 lines
1 KiB
HolyC
Raw Normal View History

//Compiler initializes globals in AOT bin modules to zero.
//$LK,"Globals Set to Zero Here",A="FF:::/Compiler/ParseStatement.ZC,Init AOT global to zero"$.
2020-02-15 20:01:48 +00:00
CJob sys_macro_head;
CTask *sys_macro_task;
CDoc *sys_clip_doc;
2020-02-15 20:01:48 +00:00
2021-07-02 00:53:42 +01:00
CTask *sys_task;
I64 sys_num_spawned_tasks;
2020-02-15 20:01:48 +00:00
CTask *sys_winmgr_task,
*sys_task_being_screen_updated;
U8 *rev_bits_table; //Table with U8 bits reversed
CDate local_time_offset;
F64 *pow10_I64,
2022-04-17 00:11:53 +01:00
sys_os_version = 1.13;
2020-02-15 20:01:48 +00:00
2020-02-16 00:09:08 +00:00
CAutoCompleteDictGlobals acd;
CAutoCompleteGlobals ac;
CBlkDevGlobals blkdev;
CCountsGlobals counts = {1, 0, 2676302000, 2676302, 2676302000, FALSE};
CDebugGlobals debug;
CDevGlobals dev;
CGridGlobals mouse_grid; //See $LK,"::/Demo/Graphics/Grid.ZC"$.
CMouseStateGlobals mouse, mouse_last;
CKbdStateGlobals kbd;
CKeyDevGlobals keydev;
CMouseHardStateGlobals mouse_hard, mouse_hard_last;
CScreenCastGlobals screencast;
CTextGlobals text;
2020-02-15 20:01:48 +00:00
U8 *(*fp_getstr2)(I64 flags=0);
U0 (*fp_update_ctrls)(CTask *task);
CDoc *(*fp_doc_put)(CTask *task=NULL);
U0 (*fp_set_std_palette)();