uwe
4fb9f81ff9
Sync with sys/endian.h: s/const/__const__/ in __attribute__
2006-11-16 23:01:16 +00:00
uwe
bd3c9477fb
Bring back __unused (sed cannot tell if it's in an argument list or not).
2006-11-16 22:55:25 +00:00
christos
168cd830d2
__unused removal on arguments; approved by core.
2006-11-16 01:32:37 +00:00
uwe
13117244bf
Recompile. Important fixes since the previous version (according to
...
my archive of commit mail):
Take DST into account when computing bi.timezone offset, so that
NetBSD gets correct time when booted in the summer.
Fix framebuffer address for Jornada 7xx machines, so that you can boot
with layouts other than "Japanese" (which happened to have the
framebuffer address in its entry).
Fix a bug where ksyms were not loaded correctly, which also caused the
kernel to not recognize detached miniroot.
Kludge required memory size calculations to compensate for partially
filled tagged pages, or kernel with certain segment sizes wouldn't
load.
[hpcarm have picked up some of these fixes in hpcboot v14 that was
compiled/committed in the meanwhile, for hpcarm only].
2006-11-14 23:20:18 +00:00
uwe
95f76b747d
Clean more files generated by eVC3.
2006-10-18 02:18:27 +00:00
uwe
4a0ed35f45
The real libkern.h now uses "long long" that eVC has no clue about.
...
Instead of polluting libkern.h with ifdefs introduce our own private
copy. Since AFAICT we only need it for libsa/ufs.c which only
includes it for the strlen() prototype, trim it to provide just that
for now.
We cannot just #include <string.h> (the WinCE one) here, as that pulls
in a lot of unrelated stuff, e.g. defines for limits that collide with
machine/limits.h
2006-10-18 01:39:01 +00:00
uwe
bdfc8192a4
Add __unused to unused function arguments.
2006-10-12 21:31:29 +00:00
skrll
a9f4c28a3d
Fix a bunch of cast lvalues.
2006-05-10 06:24:02 +00:00
peter
75b167e81d
Bump build number as requested by Uwe.
2006-04-08 16:27:25 +00:00
peter
2201fcf579
Recompile.
2006-04-08 12:26:55 +00:00
uwe
24c8a90269
s/u_intN_t/uintN_t/
2006-03-05 04:05:39 +00:00
uwe
de58f0245a
Loader uses ElfLoader::memorySize to determine the number of tagged
...
pages to allocate, as some of those pages are only partially filled
(e.g. last page of loadable segment) we may allocate too few tagged
pages and boot will fail. So lie by reporting extra size for each
partial tagged page.
XXX: This is an ugly hack, but I'm not going to shave this yak.
2006-03-05 04:04:13 +00:00
uwe
61e8b62888
off_t should be a signed type.
2006-03-05 03:22:20 +00:00
uwe
49d024e12e
Sync with <sys/endian.h>.
...
Ifdef out ntohl &co defined for little-endian via bswap* - use system versions.
2006-03-05 03:14:53 +00:00
uwe
756e048e31
s/u_intN_t/uintN_t/
2006-03-05 02:14:41 +00:00
peter
16e95e8ed4
Regen.
2006-03-04 13:48:52 +00:00
peter
1ad90b609b
Add entries for European (ABB), German, French, Scandinavian and Spanish
...
Jornada 720. Append "(US/UK)" to the default Jornada 720 entry.
2006-03-04 13:46:49 +00:00
uwe
7a546fd8c5
Cosmetic. In debug pritnf in ElfLoader::memorySize don't prepend '+'
...
when printing the size of the first loadable segment.
2006-03-02 23:56:58 +00:00
wiz
5d1e8b2745
Fix some typos.
2006-02-25 02:28:55 +00:00
rjs
25f0b1dc0a
Regen for iPAQ 3900.
2006-02-20 10:47:27 +00:00
uwe
4f2fba2a61
Use comma in debug message in _load_segment_end to make it more readable.
2006-02-20 03:09:05 +00:00
uwe
ef2734fbd0
Print the size of address translation table in hex.
...
Use plural "pages", "bytes".
2006-02-20 03:07:33 +00:00
peter
b4370e9bff
Add dealloc() function, to make hpcboot build again.
...
ok uwe@.
2006-02-19 14:44:00 +00:00
peter
d27b3a0292
de-__P.
2006-02-19 13:06:06 +00:00
peter
ce8dca9281
Fix a typo.
2006-02-19 13:04:42 +00:00
rjs
f511d415b4
Add definition for iPAQ 3900.
2006-02-18 22:19:20 +00:00
perry
fbae48b901
Change "inline" back to "__inline" in .h files -- C99 is still too
...
new, and some apps compile things in C89 mode. C89 keywords stay.
As per core@.
2006-02-16 20:17:12 +00:00
christos
606bb2caed
free -> dealloc
...
unsigned -> size_t for alloc/dealloc
2006-01-25 18:28:25 +00:00
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