• R/O
  • SSH
  • HTTPS

chnosproject: Commit


Commit MetaInfo

Revisión85 (tree)
Tiempo2010-03-30 18:17:29
Autorhikarupsp

Log Message

保存コミット

Cambiar Resumen

Diferencia incremental

--- beta/tolset_chn_000/chnos_006/bootpack.c (revision 84)
+++ beta/tolset_chn_000/chnos_006/bootpack.c (revision 85)
@@ -1,5 +1,7 @@
11 #include "core.h"
22
3+struct SYSTEM system;
4+
35 void CHNMain(void)
46 {
57 unsigned char s[24];
@@ -7,7 +9,7 @@
79 struct VESAINFO *vinfo = (struct VESAINFO *) ADR_VESAINFO;
810 struct FIFO32 sysfifo;
911 struct MOUSE_DECODE mdec;
10- struct SYSTEM system;
12+
1113 struct MEMMAN *memman = (struct MEMMAN *) MEMMAN_ADDR;
1214 struct SHEET32 *sht_back, *sht_mouse;
1315 struct WINDOWINFO *winfo1;
--- beta/tolset_chn_000/chnos_006/system.c (revision 84)
+++ beta/tolset_chn_000/chnos_006/system.c (revision 85)
@@ -3,6 +3,9 @@
33
44 void init_system(struct SYSTEM *system)
55 {
6+ struct VESAINFO *vesa = (struct VESAINFO *) ADR_VESAINFO;
7+ struct BOOTINFO *boot = (struct BOOTINFO *) ADR_BOOTINFO;
8+
69 system->io.clts = clts;
710 system->io.fnsave = fnsave;
811 system->io.frstore = frstor;
@@ -116,6 +119,11 @@
116119 system->data.fifo.put = fifo32_put;
117120 system->data.fifo.get = fifo32_get;
118121 system->data.fifo.status = fifo32_status;
119-
122+
123+ system->info.vesa = *vesa;
124+ system->info.boot = *boot;
125+
126+
127+
120128 return;
121129 }
--- beta/tolset_chn_000/chnos_006/core.h (revision 84)
+++ beta/tolset_chn_000/chnos_006/core.h (revision 85)
@@ -350,6 +350,15 @@
350350 int (*status)(struct FIFO32 *fifo);
351351 } fifo;
352352 } data;
353+ struct INFOS {
354+ struct VESAINFO vesa;
355+ struct BOOTINFO boot;
356+ } info;
357+ struct FIFO32 sysfifo;
358+ struct MOUSE_DECODE mouse_dec;
359+ int fifobuf[256];
360+ struct MEMMAN memman;
361+ struct SHEET32 *sht_back;
353362 };
354363
355364 /*関数宣言*/
Show on old repository browser