isaki
80a3550743
Revert previous one. It has already fixed in net.h,v 1.25.
2009-01-31 06:22:46 +00:00
isaki
28468b1f07
Fix build error. Declare getsecs() before (re-)defining it.
2009-01-31 04:11:28 +00:00
he
fddc3457b2
Change the use of formally undocumented features, which have now been
...
made to fail. Specifically, change
.ifdef(SYMBOL) -> .ifdef SYMBOL or .if defined(SYMBOL),
and corresponding for .ifndef.
Also correct one error in lib/libm/Makefile (.ifdef (${MKCOMPLEX} != "no")?!?).
2009-01-18 20:42:11 +00:00
tsutsui
4459b5fdab
I really hate silly hacks inside #ifndef _STANDALONE in libsa sources...
2009-01-18 02:59:02 +00:00
tsutsui
3f38114d96
Remove __P().
2009-01-17 14:00:36 +00:00
tsutsui
69cf32a782
Replace time_t values in libsa sources with the following two types
...
to avoid unnecessary 64 bit ops which would make binaries larger:
satime_t (currently unsigned int):
numbers in seconds returned by the machine dependent getsecs() function
which are used to measure relative time
saseconds_t (currently int):
numbers in seconds used to specify timeout to network drivers
Per discussion on current-users.
2009-01-12 11:32:43 +00:00
uwe
533bbdff7e
These copy of gcc millicode routines is now included in librump (that
...
sucks in all libkern sources), so mark them ".hidden". I'm not sure
if this is the best course of action (dropping millicode from librump
might be a better idea), but it's the quickest fix to get sh3 builds
going again for now.
2009-01-07 22:15:18 +00:00
pooka
fed3c1df66
Fix PIC version, it was missing one dereference. Thanks to spz
...
for access to m68k hardware for testing.
2009-01-06 01:24:56 +00:00
pooka
cbd549e79b
Fix previous. I have no idea what crack I was on when I "tested" them.
2009-01-05 01:16:09 +00:00
pooka
59f8fc8f6e
Split variables out of Makefile into Makefile.libkern so that we
...
can easily just .include it for the proper SRCS etc. definitions
in case we're interested in the files but not in building an actual
libkern.{a,o}. for librump
2009-01-04 18:00:55 +00:00
pooka
c5889d575e
Support PIC for inclusion in librump. (m68k untested)
2009-01-04 17:10:46 +00:00
christos
9a5d3f2817
replace bitmask_snprintf(9) with snprintb(3)
2008-12-16 22:35:21 +00:00
ad
5d7468ebd2
msdosfs -> msdos
2008-11-24 11:27:20 +00:00
matt
0ad7281825
Add new ptree (Patricia / RADIX tree) implementation to NetBSD.
2008-11-20 23:50:08 +00:00
ad
5bf641af07
For the x86 boot loader, autoload a kernel module corresponding to the
...
root file system type.
2008-11-19 12:36:41 +00:00
ad
c6555ead19
Our qsort() is inappropriate for kernel use because it makes recursive
...
calls. Replace it with a kheapsort() function in kernel. Pointed out
by tron@.
2008-11-16 16:15:58 +00:00
ad
e5c4df967a
Make qsort() available in libkern.
2008-11-16 15:01:26 +00:00
matt
74b13f5d12
Use RET/RETc as appropriate
2008-10-15 18:07:46 +00:00
matt
02ed53f8f6
Need to be __clz[sd]i2
2008-10-14 17:23:33 +00:00
matt
01a00ce83a
Add a _clzsi2 for armv4 platforms.
2008-10-14 03:16:20 +00:00
christos
a93db399ff
add a LOAD_NOTE flag to make loading the note optional.
2008-09-25 20:59:38 +00:00
gmcgarry
0de5da9678
Replace most gcc-specific __attribute__ uses with BSD-style sys/cdef.h
...
preprocessor macros.
2008-09-08 23:36:53 +00:00
gmcgarry
3c9a95916d
Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC.
2008-08-29 00:02:21 +00:00
matt
41f74018fd
Add KASSERTMSG(e, msg) for umass.c. XXX directly calls panic.
2008-07-02 15:25:08 +00:00
matt
67b10687dc
Add CTASSERT (compile time assert) from FreeBSD.
...
Causes sources to fail to compile:
<file>:<line>: error: size of array '__ctassert<line>' is negative
2008-07-02 14:39:20 +00:00
matt
48717a981d
Move rb.c from sys/lib/libkern to common so it can be in both libc and libkern.
2008-06-30 19:03:59 +00:00
matt
da597625e8
Add some significant improvements to the red-black tree implementation.
...
Shrink size of rb_node by 25% (merge parent/father pointer and flags).
2008-06-30 16:36:18 +00:00
matt
d982b23b25
Nuke MOVED support. Move rb_parent out of rb_nodes and make it it's own
...
member.
2008-06-25 04:56:08 +00:00
christos
e4992af055
Make rb use masks instead of bitfields, because it is more portable (bitfields
...
to unsigned long are not portable), and produces tighter code. Tested on
amd64. approved by gimpy.
2008-06-25 03:06:25 +00:00
christos
e9ad0762c7
Include cpuset.
2008-06-15 20:34:18 +00:00
tron
a36c431c01
Use proper C99 syntax to statically initialize a "rb_node" structure to
...
fix the build.
2008-06-06 12:29:59 +00:00
ad
13c7f6ff40
Move lib/libkern/rb.h to sys/rb.h, so it can be used by kernel header
...
files.
2008-06-04 14:31:15 +00:00
ad
e69aa3297c
Take $MACHINE into account when looking for modules.
2008-05-20 16:04:08 +00:00
ad
5cb8dd92fe
Extract kernel version from the note section and stuff into a global
...
netbsd_version.
2008-05-20 14:41:06 +00:00
chris
f10d13fdee
Extend tftp_stat to return the size of the file, rather than -1.
...
It's not very efficient, as it has to read the whole file, and count the
block sizes. However, this is the only way to work out the size using the
tftp protocol.
This is needed to support loading modules from a tftp server with pxeboot.
2008-05-11 11:29:12 +00:00
mlelstv
a4002c76a9
There is also ARP_DEBUG for those who need it.
2008-05-11 04:53:15 +00:00
ad
1717063e94
Let twiddle() be disabled at runtime.
2008-04-30 16:18:09 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
garbled
1ad3697abd
Back out the ppc assembler changes for memcpy/memmove/memcmp on evbppc.
...
It breaks the explora because the cpu (403) cannot deal with unaligned
accesses. Reported by Juergen Hannken-Illjes.
2008-04-18 05:34:04 +00:00
tsutsui
52dab5df0c
Fix a warning in #ifdef RARP_DEBUG. PR kern/20314
2008-04-05 05:15:33 +00:00
christos
efe07f9c02
fix again
2008-03-25 23:24:38 +00:00
christos
55feb339a9
fix bcopy again
2008-03-25 23:23:13 +00:00
christos
8ac6bd68d8
fix bcopy prototype
2008-03-25 23:21:04 +00:00
christos
3d8daf0799
add a prototype for bcopy.
2008-03-25 23:19:51 +00:00
christos
19d181b7f5
add bcopy and bzero for loadfile for now. Should get rid of it.
2008-03-25 23:12:31 +00:00
christos
9ebe85fa97
remove stray comment
2008-03-25 22:55:25 +00:00
christos
8f0af7be4b
fix typo
2008-03-25 22:54:54 +00:00
christos
e1b834bdd8
- use mem* instead of b* routines, and kill the b* routines.
...
- use the mem* routines from libc.
XXX: There will be some lossage, but I am fixing it.
2008-03-25 21:23:50 +00:00
rtr
16ebb0dc79
when the char being searched for is not found strchr() must return NULL
...
not a pointer to the terminating '\0'. the only time we return a pointer
to the terminating '\0' is when the char being searched for is '\0'.
fixes problem observed booting -current install
http://mail-index.netbsd.org/current-users/2008/03/20/msg001445.html
2008-03-21 10:24:13 +00:00
he
0db6a6b023
When compiling for _STANDALONE, omit a bunch of headers which aren't really
...
needed and which trigger build problems.
(These two files should probably be unified and put under common/...)
2008-03-18 20:11:43 +00:00
dsl
2bb9a33a0f
Add a strchr() - for dosfs in particular.
...
The i386 asm version in src/common is rather larger than this one.
2008-03-14 22:27:32 +00:00
dsl
2694fcbd4b
Add a local strcasecmp() instead of pulling the bloat from libkern.
2008-03-14 22:21:53 +00:00
tsutsui
5d07958fe3
Fix typo in comment.
2008-02-25 15:33:20 +00:00
matt
c2b9622034
Don't need to that particular in mtprng_random(). Use 2 values instead of 8.
2008-02-17 22:49:11 +00:00
matt
ab1d549cb1
Improve my version of mtprng_random. Reshuffle things. Add an compatible
...
version of init_by_array.
2008-02-02 01:13:04 +00:00
simonb
e99e83279b
Check _STANDALONE as well as _KERNEL when choosing headers to include.
...
Also pull in <lib/libkern/libkern.h> so we get prototypes and a struct
mtprng_state declaration.
2008-01-31 08:23:13 +00:00
simonb
4cbecce6c5
Have mtprng_random() call mtprng_rawrandom() to get more
...
random data instead of calling itself. Much nicer to the
stack...
2008-01-31 03:37:13 +00:00
simonb
ba30aadce1
Check against correct constant in a KASSERT().
2008-01-31 03:34:04 +00:00
matt
3056c4f69a
Add Mersenne Twister prototypes and state struct to libkern.h
...
Cleanup a comment. s/RLEN/MTPRNG_RLEN/g s/POS1/MTPRNG_POS1/g
Remove unneeded test code.
2008-01-31 02:36:09 +00:00
matt
cd27642585
Add Mersenne Twister PRNG implementation. This is a new implementation.
2008-01-31 02:09:54 +00:00
simonb
d8de5b102b
Remove support for NetBSD/pc532.
2008-01-09 11:25:58 +00:00
ad
4a780c9ae2
Merge vmlocking2 to head.
2008-01-02 11:48:20 +00:00
tsutsui
e5434d17a5
ANSIfy.
2007-12-29 17:54:41 +00:00
tsutsui
c3a9c74a16
ANSIfy and some KNF.
2007-12-29 16:54:49 +00:00
jmcneill
e38d794d0c
libkern bits for usermode port.
2007-12-29 14:39:33 +00:00
perry
b6a2ef7569
Convert many of the uses of __attribute__ to equivalent
...
__packed, __unused and __dead macros from cdefs.h
2007-12-25 18:33:32 +00:00
perry
970ad9314d
Remove __attribute__((__noreturn__)) from things already marked __dead
...
Found by the department of redundancy department.
2007-12-24 15:46:45 +00:00
joerg
45f2572a92
Add virtual i8254 for x86emu.
2007-12-21 17:45:50 +00:00
joerg
151d068190
Add glue for x86emu and build it as part of i386/ALL.
2007-12-13 17:25:19 +00:00
tsutsui
2dc9b9cb28
ufs_ls.c doesn't belong to lfs.
2007-12-08 16:00:25 +00:00
isaki
48e1704028
Use standard error code (EIO) instead of standalone error code
...
(ESHORT). Because loadfile_*() is used with or without
_STANDALONE, therefore, don't use error code in "saerrno.h".
Pointed out by and discussed with he@.
2007-12-03 09:51:30 +00:00
tsutsui
0a953ce07e
- also pass correct size on dealloc() of in-memory superblock data
...
- also call dealloc() for group descriptor blocks
2007-12-02 06:47:43 +00:00
tsutsui
8d7676534f
Allocate correct size for in-memory data struct m_ext2fs
...
(which is larger than SBSIZE).
2007-12-02 06:12:35 +00:00
tsutsui
48db0a5603
- fix description about index structure of an inode to match ext2fs_dinode
...
- put more byteswap ops on reading block numbers in indirect blocks
(XXX: untested on big endian machines)
2007-12-02 05:23:40 +00:00
tsutsui
db898c555a
unsigned -> unsigned int
2007-12-02 04:59:24 +00:00
tsutsui
d8fc666005
- build ext2fs.c
...
- put SRCS per each file system.
2007-12-01 18:11:02 +00:00
tsutsui
28712e0756
Add ext2fs support for libsa.
...
Mostly based on ufs.c, and some ext2fs specific stuff is pulled from
sys/ufs/ext2fs/ext2fs_bswap.c and sys/ufs/ext2fs/ext2fs_vfsops.c.
XXX1: Should we share ufs.c with #ifdef LIBSA_EXT2FS as ffs and lfs do?
XXX2: Maybe we should share ext2fs_bswap.c with kernel.
2007-12-01 18:06:22 +00:00
tsutsui
c3af9178e9
Use "uint" rather than "unsigned" without a type.
2007-12-01 17:44:16 +00:00
isaki
1c038e6834
style, indent, and ANSI-fy.
2007-11-24 13:20:53 +00:00
isaki
33469b0e28
loadfile_*() must set errno when it returns -1.
2007-11-23 04:32:14 +00:00
plunky
b83f9a6a6d
remove insque/remque from libkern, they are no longer used
2007-11-22 22:56:16 +00:00
matt
1d4dffbc51
Make rb_tree_insert_node return true/false whether the node was inserted
...
or not.
2007-11-21 16:42:51 +00:00
yamt
c77d808475
build rb.c.
2007-11-20 13:49:01 +00:00
yamt
3acf687ede
rename
...
RB_LEFT
RB_RIGHT
RB_OTHER
to
RB_DIR_LEFT
RB_DIR_RIGHT
RB_DIR_OTHER
so that it can coexist with sys/tree.h.
2007-11-20 12:32:55 +00:00
yamt
636f153f4d
fix compilation in the case of _KERNEL && DIAGNOSTIC && !RBDEBUG.
2007-11-20 08:30:05 +00:00
isaki
3a7a8e72de
x68k's floppy is 8*2 sect/cyl, not 18*2 sect/cyl.
2007-11-11 13:23:07 +00:00
tsutsui
fe9146d494
Add an extern decl of try_bootp variable here since MD sources could set it.
2007-10-27 12:21:17 +00:00
tsutsui
03f68714d2
Include "bootp.h" for a function declaration of bootp().
2007-10-27 12:19:41 +00:00
martin
db90818494
Make a few debug outputs only happen when debugging.
2007-10-01 13:15:06 +00:00
martin
aa444a36a0
When compiled with COMPAT_SOLARIS_UFS, always calculate fs_qbmask and
...
fs_qfmask on the fly. This allows libsa to read newer Solaris ufs
filesystems (which have a slightly incompatible superblock).
Suggested by Antti Kantee when discussing PR kern/37000.
2007-09-29 21:36:56 +00:00
pooka
018bb97124
Rename __assert() to __kernassert() so that it doesn't collide
...
with the libc version. They take different arguments.
2007-09-24 14:19:03 +00:00
ad
7dcf597b04
Do the panicstr check only if _KERNEL.
2007-08-03 13:06:00 +00:00
ad
480f8d26c5
Disable kernel assertions if panicstr != NULL.
2007-07-29 11:46:02 +00:00
dsl
cb40f24fa8
include sys/cdefs.h
2007-07-19 22:00:04 +00:00
isaki
b9c5a4c699
Remove _ZLIB_PRIVATE that should have been removed 10 years ago.
2007-06-23 10:50:24 +00:00
ad
3f8edbdfd7
G/C dead code.
2007-06-10 00:52:29 +00:00
martin
cf9773f5c0
It is "data_start" not "data" - pointed out by Tom Spindler
2007-06-06 07:56:39 +00:00
martin
933b671bfa
Add a MARK_DATA marker containing the effective VA of the first loaded
...
data segment.
2007-06-05 08:48:49 +00:00
matt
75f8d3f9a5
Include byte_swap_[24].c for kernels compiled with -O0
2007-04-13 22:12:04 +00:00
matt
e3a731cab5
Enable builtin_ffs for vax
2007-04-09 17:39:37 +00:00
scw
5764a76889
Remove support for NetBSD/{,evb}sh5.
2007-04-08 09:35:21 +00:00
uwe
eaa25d5966
Provide __movmemSI12_i4 (gcc4) a.k.a. __movstrSI12_i4 (gcc3) that gcc
...
emits for sh4 to copy 12 bytes at certain optimization levels.
Discovered by compiling landisk kernel with -Os.
Use gcc3 naming ("movstr") to match the rest of the "movstr" files.
2007-03-14 22:22:53 +00:00
he
fdcc1ff67a
We need char* for pointer arithmetic.
2007-03-05 14:49:04 +00:00
christos
53524e44ef
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
2007-03-04 05:59:00 +00:00
uwe
e918be7b93
Add missing newlines to debug messages.
2007-02-25 04:46:32 +00:00
thorpej
712239e366
Replace the Mach-derived boolean_t type with the C99 bool type. A
...
future commit will replace use of TRUE and FALSE with true and false.
2007-02-21 22:59:35 +00:00
ragge
ad9091c30f
Repair copyright that has been broken since -94.
...
Gently requested by Otto Moerbeek.
2007-01-14 13:26:18 +00:00
yamt
ce9d4b0004
remove nqnfs from comments. from Arnaud Lacombe.
...
(no functional changes.)
2006-12-29 13:05:48 +00:00
chs
088fbfd7aa
in fdloadfile(), fail if we can't read the entire exec header.
2006-12-09 22:11:36 +00:00
dogcow
437f8cc149
make bootxx_msdos fit in 8k again; thanks, __internal_memset_, for spilling
...
registers all over the place.
2006-12-02 00:38:22 +00:00
dyoung
e3361bb265
Add strsep(3) to libkern.
...
To avoid code duplication, move strsep.c to the kernel/userland
common files.
Soon I will commit source-address selection (options IPSELSRC).
It will use strsep(3).
2006-11-13 03:26:43 +00:00
christos
9573aa20e8
- call the initialization routine for arc4randbytes.
...
- knf (add continues)
2006-11-05 14:13:56 +00:00
christos
31a62606ea
Merge kernel and userland rmd160 and sha2 implementation.
...
XXX: We still install rmd160.h and sha2.h in /usr/include/crypto, unlike
the other hash functions which get installed in /usr/include for compatibility.
2006-10-27 21:20:48 +00:00
thorpej
82fd1ebbaa
- Move strtoll.c and strtoull.c from libc/stdlib to common/libc/stdlib.
...
- Add strtoll.c and strtoull.c to libkern.
2006-10-08 03:14:55 +00:00
simonb
a4c94c5ab7
Remove stale copy. Pointed out by uwe@ ages ago.
2006-09-28 13:12:59 +00:00
matt
efc67dee86
Add a way for a user to know what nodes have changed when a node has been
...
inserted or removed. Refactor node insertion to not require rebalancing
all the time or a loop if it does. In rb_tree_swap_prune_and_rebalance,
don't call rb_tree_reparent_nodes, instead do the work ourselves (since
we will eventually undo half of the work of rb_tree_reparent_nodes).
2006-09-10 23:57:31 +00:00
matt
9bed3293b9
If __STDC__ and GNU C >= 3.0, define C99's bool, true, false
2006-09-10 23:49:21 +00:00
matt
d9bb545dc5
Shrink rb_tree to 4 pointers (2 if RBSMALL is defined). Move compare
...
functions to a separate rb_tree_ops structure. Make every int explicit
in being signed or unsigned. Use RBDEBUG to enable debug code. Move
rbt_count to RBSTATS. Use RBSMALL to not keep track of min/max.
2006-09-09 06:52:18 +00:00
matt
75de26ab17
Add rb_tree_find_node_{geq,leq}. Add stats. Make TAILQ DEBUG only.
...
Keep track of tree's min/max nodes for easier iteration. Improve comments.
Move functions around to improve locality.
2006-09-09 05:55:51 +00:00
matt
958730091e
Fix and simplify node removal. Add lots of assertions and comments.
2006-09-08 04:07:15 +00:00
thorpej
f68bacf5a3
Use static at the function decl if the prototype also uses static.
2006-09-06 20:01:57 +00:00
scw
24f4ed9338
The list of registers which sdivsi3 can clobber has changed in gcc4.
...
Make the necessary changes.
2006-09-05 22:07:08 +00:00
matt
3aa5e506b7
Rewrite of red-black tree code.
2006-09-05 04:35:45 +00:00
scw
456695f0eb
The kernel is built with "-mdiv=call", so add a __sdivsi3_1 alias
...
for __sdivsi3.
2006-09-04 20:44:48 +00:00
matt
497415f67e
Make this compile in _KERNEL || _STANDALONE. Make gcc4 happy.
2006-09-02 20:46:50 +00:00
dyoung
8cd106d3d2
Per discussion on tech-kern and tech-userlevel, move the bit-twiddling
...
macros, __BIT, __BITS, SHIFTIN, SHIFTOUT, and __arraycount() from
lib/libkern/libkern.h to sys/cdefs.h. Add a __-prefix to SHIFTIN
and SHIFTOUT, and add a manual page for the bit-twiddling macros,
bits(3).
Make the __BIT and __BITS macros "widthless," as best I can, by
changing their type to uintmax_t from uint32_t. XXX The manual
page lags this change by a bit.
Define __PRIxBIT and __PRIxBITS printf(3) format strings.
2006-08-31 19:24:37 +00:00
tsutsui
a3bdccd23a
Add src/common/include to include header search path so that
...
standalone programs can be built without installed ${DESTDIR} tree.
Okayed by christos, and should close PR 33431.
2006-08-28 13:34:18 +00:00
matt
5e87012f78
Add __NULL_STMT which is do { } while (/* CONSTCOND */ 0)
2006-08-25 19:07:44 +00:00
rillig
b102417f76
Fixed the gcc warning that "static" should come before "const".
2006-07-16 06:06:20 +00:00
matt
53ea8158b4
With VAX & GCC4, use builtin memset and memmove.
2006-07-08 00:24:26 +00:00
kardel
de4337ab21
merge FreeBSD timecounters from branch simonb-timecounters
...
- struct timeval time is gone
time.tv_sec -> time_second
- struct timeval mono_time is gone
mono_time.tv_sec -> time_uptime
- access to time via
{get,}{micro,nano,bin}time()
get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html
2006-06-07 22:33:33 +00:00
uwe
497c1ccc27
Provide __movmem* aliases to __movstr* functions.
...
Gcc4 uses movmem, older versions use movstr.
2006-05-22 21:34:08 +00:00
uwe
9001bc2fd8
G/c #ifdef PIC we inherited from the userland.
2006-05-22 20:56:44 +00:00
mrg
696ab05f50
add (char *) cast to quieten GCC.
2006-05-20 19:40:46 +00:00
mrg
abeaa4f60d
apply -Wno-pointer-sign with GCC4.
2006-05-12 03:29:11 +00:00
mrg
22406ced78
ssize_t -> size_t to match variable and functions.
2006-05-11 01:13:44 +00:00
thorpej
b69c14413b
Support for building proplib in the kernel.
2006-04-27 20:43:09 +00:00
uwe
e983955bb3
libc gets gcc millicode from libgcc, so we don't need to keep it
...
in src/common. Move it to sys/lib/libkern/arch/sh3.
2006-04-22 22:48:53 +00:00
thorpej
7d3d66c90e
Move strtoumax.c from libc/stdlib to common/libc/stdlib and include it
...
in libkern. Required for new code coming soon.
2006-04-22 15:33:33 +00:00
christos
c76b868cf4
Imply DIAGNOSTIC if __COVERITY__.
2006-04-15 01:09:34 +00:00
christos
147a6ae8fb
If __COVERITY__ is defined, turn on KASSERT and _DIAGASSERT.
2006-04-14 18:24:56 +00:00
nonaka
5918a2e057
Always _LOCORE is defined for standalone program.
2006-04-14 09:23:01 +00:00
cherry
39ba8074f1
Fixed CVS version headers
2006-04-07 14:27:33 +00:00
cherry
ba7cbe760f
Initial import of arch/ia64 sources.
...
These sources are ported from FreeBSD/ia64 code.
See individual source files for credits.
In addition, code from NetBSD/alpha NetBSD/sparc64,
NetBSD/i386 and NetBSD/amd64 were used as templates,
along with my own additions.
2006-04-07 13:57:43 +00:00
cherry
c988ba8700
Pass by reference to MD_LOADSEG(). Thanks to Matt Thomas for pointing this out.
2006-04-06 09:25:58 +00:00
cherry
3627104dbe
Encapsulated the MD test: phdr[i].p_type & PT_LOPROC out of MI code,
...
and into MD_LOADSEG() as suggested by Christos.
2006-04-03 15:45:36 +00:00
cherry
50756fb219
Allows processor ABI specific ELF segment loads.
...
If the macro MD_LOADSEG defined in
machine/loadfile_machdep.h evaluates to 1, the machine
specific segment is loaded.
See: http://mail-index.netbsd.org/tech-kern/2005/12/30/0003.html
2006-04-03 14:08:41 +00:00
tsutsui
b3e724899c
Remove unused file. Pointed out by uwe.
2006-03-30 13:44:51 +00:00
martin
972ca1ead8
Remove an unused, obsolete copy (pointed out by Valeriy E. Ushakov).
2006-03-30 08:07:47 +00:00
uwe
4dff387338
G/c this stale copy of SYS.h. It has not been updated since 1999. It
...
has not been used since an unused copy of setjmp.S has been removed
from here in 2002 (i386 removed its own in 1999).
2006-03-30 02:13:10 +00:00