Commit Graph

271 Commits

Author SHA1 Message Date
uwe f60eb26259 Prune CPPDEF_LIST from unnecessary defines. 2006-01-18 01:08:57 +00:00
uwe bcd9f83758 We no longer use printf from libsa, so we don't need to provide putchar.
Don't include <stand.h> that we thus no longer need.
Include <winbase.h> instead on <windows.h> - it's enough for what we use.
2006-01-18 01:06:37 +00:00
uwe 160de00800 Include <malloc.h>. Spell "unsigned int" in full. 2006-01-18 01:05:02 +00:00
uwe 2467db8264 Prune stuff from libsa that we don't need. 2006-01-18 01:04:04 +00:00
uwe d9f3e59eb8 zlib doesn't care about __daddr_t.
Nothing cares about __signed.
Move common/dist/zlib up in the list of include dirs.
2006-01-18 00:11:27 +00:00
uwe 2565c191eb Remove duplicate CPPDEF_LIST. 2006-01-17 23:39:53 +00:00
uwe 589b108660 Nuke libsa and libkern defines from here. 2006-01-17 03:32:10 +00:00
uwe c498580cc6 Adapt to new zlib. Get rid of proxy zlib.h, we supply proper "-I".
Implement zcalloc/zfree in terms of WinCE functions.
2006-01-17 03:12:29 +00:00
uwe b674645e95 New zlib doesn't use bzero, so we don't need this hack any more. 2006-01-17 03:09:04 +00:00
uwe 75ad327e11 New zlib is smart enough to not include <errno.h> under WinCE, so this
empty fake one is no longer necessary (old zlib could also do without
one if supplied -DNO_ERRNO_H).
2006-01-17 03:07:19 +00:00
uwe 0d1e222eff Hide plutid_dump() under #ifdef PLATID_TEST. Saves space in the
kernel and avoids printf dependency for hpcboot.
While here, constify its first argument.
2006-01-17 02:50:59 +00:00
uwe 4f6e1f3b52 Adjust to new zlib location. 2006-01-17 02:40:55 +00:00
uwe d619e0824c Loader::_load_memory - don't give up so easily if memsz > tagged page
size.  This makes ksyms work, constructed ELF header was too big to
fit into one tagged page.

As a side effect it makes detached miniroot work too, as to locate the
miniroot the symbol table must be correctly skipped.  We probably
should just pass that information in bootinfo.
2006-01-15 02:20:35 +00:00
uwe 24aae33317 Add missing \n in a debug printf. 2006-01-15 00:07:49 +00:00
uwe 053de0d06e Get rid of an unused variable in Loader::_load_memory.
Add whitespace between = sign and casts, while there use uint32_t in
those casts.
2006-01-15 00:06:39 +00:00
uwe dfe0035af2 Prettify debug messages about ksyms block. 2006-01-14 23:23:32 +00:00
uwe 58488e09fe Make debug message about zeroed areas look like the one for loaded areas. 2006-01-14 23:22:53 +00:00
uwe 7482e67f96 Provide uintN_t typedefs. Provide u_intN_t as compatibility typedefs.
Use uintN_t to define other types.
2006-01-14 21:35:26 +00:00
uwe fd533d6baf Kill trailing whitespace in local comment. 2006-01-14 21:17:37 +00:00
uwe d89c00702d Sync with <sys/endian.h>. 2006-01-14 21:15:53 +00:00
perry 50a256a3a0 __asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
2005-12-24 23:23:59 +00:00
perry 5f1c88d70d Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:06:46 +00:00
christos 95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
uwe 75d8bdf000 XXX: kludge around constification fallout.
No way I'm dealing with constification of C++ code!
2005-07-12 23:21:54 +00:00
he b3331ee3d4 Add const to the name argument of __dbg_bit_print(). 2005-06-07 12:02:04 +00:00
uwe 1760382cc8 Constify as -Wcast-qual seyeth. 2005-05-31 22:45:04 +00:00
uwe 73c9c64f6c Declare platid_name() to return const.
Revert previous kludge, we can return string literal now.
2005-05-31 22:43:09 +00:00
uwe 87d1a94219 Make "name" in struct platid_name const.
Declare platid_name() to return pointer to const.
2005-05-31 22:41:28 +00:00
uwe c7e2bd07b6 Don't return string literal from a function that is not declared to
return const.

XXX: Kludge for now, I don't want to deal with the fallout, especially
as this code is also compile for Windows CE (hpcboot.exe).
2005-05-31 22:36:12 +00:00
uwe e7b971967b Avoid naming function parameters "platid", there's a global variable
of that name.
2005-05-31 22:28:49 +00:00
uwe 883b52e989 Cosmetic changes: drop unnecessary final semicolons, consistently use
spaces on both sides of the pipeline operator, indent argument list
continued on the next line.
2005-05-12 15:19:48 +00:00
uwe a0961c993f Refer to WinCE development tools by their official names. 2005-05-12 11:18:46 +00:00
uwe a7f79da340 Our <sys/endian.h> is no longer compilable with eVC3 and probably
other old WinCE compilers because they don't grok ULL constant suffix.
Instead of polluting sys/endian.h with WinCE compatibility ugliness,
pull a copy here, so that we can hack it privately.
2005-05-11 16:44:45 +00:00
uwe dd8f6af73b When cleaning, remove hpcboot/res/hpcmenu.aps (created when you browse
resources in eVC3), and libsa/libsa.vcl and libz/libz.vcl.
2005-05-11 15:00:49 +00:00
uwe 840914104a Mark resources as language neutral, so that language is not picked
from the complation environment.
2005-05-11 14:19:36 +00:00
uwe bca43dba34 Use L"" Unicode syntax for Japanese strings, so that Japanese name for
"Memory Card" is not mangled when compiling in non-Japanese environment.
2005-05-11 13:59:27 +00:00
uwe 5e3aaf765f All Jornada 7xx machines have the framebuffer at the same address, so
just use a single wildcard entry for them.  Should fix the bug, that
7xx machines could be booted only using "Japanese" entry (b/c it was
the only one with the framebuffer info).
2005-02-27 18:35:08 +00:00
uwe 2ddba96151 Take DST into account when computing bi.timezone offset. 2005-02-27 18:25:02 +00:00
uwe e9fd18895b Regen for Compaq Aero 8000 and Jornada 680/690 with Spanish keyboard. 2005-01-11 01:05:32 +00:00
uwe 2a292865c4 Add Compaq Aero 8000 (requested by Linux folks).
Add Jornada 680/690 with Spanish keyboard.
2005-01-11 01:03:42 +00:00
abs 964859d895 Fix comments regarding configration bounaries 2004-12-12 21:03:06 +00:00
uch 9d15e929e7 recompile. 2004-08-13 15:52:28 +00:00
uch 5adb2fdc5d add WCE101 and WCE200 binary install target. 2004-08-13 15:51:45 +00:00
uch 986311dca4 add SH7707 2004-08-13 15:50:09 +00:00
uch e659dc81a4 fix debug print. 2004-08-13 15:49:37 +00:00
uch abe2d7cbc7 regen. 2004-08-13 15:49:13 +00:00
uch 7ee4f55250 add SH7707 and HP360LX. add HCAJ and HCVJ group for Sharp Telios 2004-08-13 15:48:51 +00:00
uch 643a469d36 set user specified console as default. 2004-08-13 15:48:21 +00:00
uch 00539717e3 add debug print. 2004-08-13 15:47:53 +00:00
uch 32b3027515 clean up whitespace. 2004-08-06 18:33:09 +00:00