1 |
|
2003-01-20 Yoshinori K. Okuji <okuji@enbug.org> |
2 |
|
|
3 |
|
* include/pupa/normal.h: New file. |
4 |
|
* include/pupa/setjmp.h: Likewise. |
5 |
|
* include/pupa/i386/setjmp.h: Likewise. |
6 |
|
* normal/cmdline.c: Likewise. |
7 |
|
* normal/command.c: Likewise. |
8 |
|
* normal/main.c: Likewise. |
9 |
|
* normal/menu.c: Likewise. |
10 |
|
* normal/i386/setjmp.S: Likewise. |
11 |
|
|
12 |
|
* loader/i386/pc/linux.c (pupa_rescue_cmd_linux): Made global. |
13 |
|
(pupa_rescue_cmd_initrd): Likewise. |
14 |
|
|
15 |
|
* loader/i386/pc/chainloader.c (pupa_rescue_cmd_chainloader): |
16 |
|
Likewise. |
17 |
|
|
18 |
|
* kern/i386/pc/startup.S (translation_table): New variable. |
19 |
|
(translate_keycode): New function. |
20 |
|
(pupa_console_getkey): Call translate_keycode. |
21 |
|
|
22 |
|
* kern/rescue.c (attempt_normal_mode): New function. |
23 |
|
(pupa_enter_rescue_mode): Attempt to execute the normal mode. If |
24 |
|
it failed, print a message. |
25 |
|
|
26 |
|
* kern/mm.c (pupa_real_malloc): Print more information when a |
27 |
|
free magic is broken. |
28 |
|
(pupa_free): If the first free header is not free actually, set |
29 |
|
it to P. |
30 |
|
|
31 |
|
* kern/main.c (pupa_load_normal_mode): Just load the module |
32 |
|
"normal". |
33 |
|
(pupa_main): Don't print the message |
34 |
|
"Entering into rescue mode..." here. |
35 |
|
|
36 |
|
* include/pupa/i386/pc/loader.h (pupa_rescue_cmd_initrd): |
37 |
|
Declared. |
38 |
|
(pupa_rescue_cmd_initrd): Likewise. |
39 |
|
(pupa_rescue_cmd_initrd): Likewise. |
40 |
|
|
41 |
|
* include/pupa/symbol.h (FUNCTION): Specify the type. |
42 |
|
(VARIABLE): Likewise. |
43 |
|
|
44 |
|
* include/pupa/err.h (pupa_err_t): Added |
45 |
|
PUPA_ERR_UNKNOWN_COMMAND. |
46 |
|
|
47 |
|
* include/pupa/dl.h (pupa_dl_set_prefix): Exported. |
48 |
|
(pupa_dl_get_prefix): Likewise. |
49 |
|
|
50 |
|
* conf/i386-pc.rmk (pkgdata_MODULES): Added normal.mod. |
51 |
|
Added _chain.mod and _linux.mod instead of chain.mod and |
52 |
|
linux.mod. |
53 |
|
(chain_mod_SOURCES): Renamed to ... |
54 |
|
(_chain_mod_SOURCES): ... this. |
55 |
|
(chain_mod_CFLAGS): Renamed to ... |
56 |
|
(_chain_mod_CFLAGS): ... this. |
57 |
|
(linux_mod_SOURCES): Renamed to ... |
58 |
|
(_linux_mod_SOURCES): ... this. |
59 |
|
(linux_mod_CFLAGS): Renamed to ... |
60 |
|
(_linux_mod_CFLAGS): ... this. |
61 |
|
(normal_mod_SOURCES): New variable. |
62 |
|
(normal_mod_CFLAGS): Likewise. |
63 |
|
(normal_mod_ASFLAGS): Likewise. |
64 |
|
|
65 |
|
2003-01-18 Yoshinori K. Okuji <okuji@enbug.org> |
66 |
|
|
67 |
|
* kern/rescue.c (pupa_rescue_cmd_rmmod): Call pupa_dl_unload, if |
68 |
|
possible. |
69 |
|
|
70 |
|
* kern/dl.c (pupa_dl_ref): Refer dependending modules |
71 |
|
recursively. |
72 |
|
(pupa_dl_unref): Unrefer depending modules recursively. |
73 |
|
Don't call pupa_dl_unload implicitly, because PUPA can crash if |
74 |
|
a module is unloaded before one depending on that module is |
75 |
|
unloaded. |
76 |
|
(pupa_dl_unload): Unload depending modules explicitly, |
77 |
|
if possible. |
78 |
|
|
79 |
2003-01-17 Yoshinori K. Okuji <okuji@enbug.org> |
2003-01-17 Yoshinori K. Okuji <okuji@enbug.org> |
80 |
|
|
81 |
* include/pupa/i386/pc/linux.h: New file. |
* include/pupa/i386/pc/linux.h: New file. |