1 |
|
2002-12-28 Yoshinori K. Okuji <okuji@enbug.org> |
2 |
|
|
3 |
|
Use -mrtd and -mregparm=3 to reduce the generated code sizes. |
4 |
|
This means that any missing prototypes could be fatal. Also, you |
5 |
|
must take care when writing assembly code. See the comments at |
6 |
|
the beginning of startup.S, for more details. |
7 |
|
|
8 |
|
* kern/i386/pc/startup.S (pupa_halt): Modified for the new |
9 |
|
compilation mechanism. |
10 |
|
(pupa_chainloader_real_boot): Likewise. |
11 |
|
(pupa_biosdisk_rw_int13_extensions): Likewise. |
12 |
|
(pupa_biosdisk_rw_standard): Likewise. |
13 |
|
(pupa_biosdisk_check_int13_extensions): Likewise. |
14 |
|
(pupa_biosdisk_get_diskinfo_int13_extensions): Likewise. |
15 |
|
(pupa_biosdisk_get_diskinfo_standard): Likewise. |
16 |
|
(pupa_get_memsize): Likewise. |
17 |
|
(pupa_get_mmap_entry): Likewise. |
18 |
|
(pupa_console_putchar): Likewise. |
19 |
|
(pupa_console_setcursor): Likewise. |
20 |
|
(pupa_getrtsecs): Use pushl instead of push. |
21 |
|
|
22 |
|
* kern/i386/pc/init.c (pupa_machine_init): Use the scratch |
23 |
|
memory instead of the stack for a mmap entry, because some |
24 |
|
BIOSes may ignore the maximum size and overflow. |
25 |
|
|
26 |
|
* conf/i386-pc.rmk (COMMON_CFLAGS): Added -mrtd and -mregparm=3. |
27 |
|
|
28 |
|
* genmk.rb (PModule#rule): Compile automatically generated |
29 |
|
sources with module-specific CFLAGS as well as other sources. |
30 |
|
|
31 |
2002-12-27 Yoshinori K. Okuji <okuji@enbug.org> |
2002-12-27 Yoshinori K. Okuji <okuji@enbug.org> |
32 |
|
|
33 |
* configure.ac: Check ld. |
* configure.ac: Check ld. |