Commit Graph

30836 Commits

Author SHA1 Message Date
dfr
c6e0f3c5a9 Disable some unnecessary debugging code. 1998-08-17 08:04:42 +00:00
dfr
72c760c68b Teach disklabel how to install a bootstrap on an alpha with SRM console. 1998-08-17 07:43:54 +00:00
gpalmer
8f925ed929 lorder is needed on the alpha too 1998-08-17 07:37:55 +00:00
brian
ab64c29a02 Don't lose an allocated pointer if realloc() fails.
Free it instead.
Pointed out by: Theo de Raadt
1998-08-17 06:42:40 +00:00
jb
49f35df526 Remove a cast and print the pointer value with %p instead of %x. 1998-08-17 06:16:59 +00:00
jb
e68854cf15 Ad #include stdlib.h to get the prototype for malloc(). 1998-08-17 06:05:55 +00:00
gpalmer
f4add9d96c We need config to build on the alpha also ... kinda difficult to build
kernels without it :)
1998-08-17 05:48:22 +00:00
jdp
0d5b915ae3 Add "-C" to INSTALLFLAGS to install atomically. An elf->elf
installworld dies at this point otherwise, leaving the system
without a dynamic linker.
1998-08-17 04:59:15 +00:00
jb
542d7ab6fb Remove support for NetBSD syscalls. 1998-08-17 03:46:10 +00:00
jb
87c7d8300d Remove the comment about how to get NetBSD syscalls since there are
now programs built on alpha that _must_ use FreeBSD syscalls to work.
1998-08-17 03:35:09 +00:00
jkoshy
14da528054 Remove hardcoded constant in favour of login.conf value.
PR: 	6529
Submitted by:	Dan Lukes <dan@obluda.cz>
1998-08-17 03:25:07 +00:00
bde
08a3400100 Fixed printf format errors. 1998-08-17 01:05:25 +00:00
bde
e36ab6ee5e Fixed printf format errors. sppp_dotted_quad() was yet another private,
broken, version of inet_ntoa().  It should go away.
1998-08-17 00:29:34 +00:00
bde
962153c89f FIxed printf format errors. Most of them were exposed by our ntohl()
returning long.  There would be many more if int_32_t were not int.
1998-08-17 00:08:07 +00:00
bde
62f78df80f Fixed printf format and spelling errors. Didn't fix related
description of DPT_SHUTDOWN_SLEEP in LINT.  Didn't add timestamps
so that the (combined?) sleep interval can be printed as intended
in the original printf.
1998-08-16 23:37:54 +00:00
jb
2a0559f121 Alpha is now native and bootstrapping from NetBSD is no longer supported. 1998-08-16 23:35:49 +00:00
wpaul
7d27aa48db Ack! I edited the MLINKS entry but forgot to add xl.4 to the MAN$=
line. *hangs head in shame*
1998-08-16 19:54:20 +00:00
wpaul
ec2970db84 Whoops... really add the man page and update the Makefile this
time.
1998-08-16 17:19:58 +00:00
wpaul
0dafb8f420 Mention XL driver and that 3c905B cards are now supported. Also add
xl entry to the interfaces config table.
1998-08-16 17:17:46 +00:00
wpaul
c688848d99 Mention that XL driver and that 3c905B cards are not supported. 1998-08-16 17:16:07 +00:00
wpaul
e55024e4a5 Import the (Fast) Etherlink XL driver. I'm reasonally confident in its
stability now. ALso modify /sys/conf/files, /sys/i386/conf/GENERIC
and /sys/i386/conf/LINT to add entries for the XL driver. Deactivate
support for the XL adapters in the vortex driver. LAstly, add a man
page.

(Also added an MLINKS entry for the ThunderLAN man page which I forgot
previously.)
1998-08-16 17:14:59 +00:00
des
62d97a08f1 Enable kernel dumps on SLICE systems. 1998-08-16 11:27:19 +00:00
des
7259d16a8d Fix typo in previous commit.
PR:		7621
Submitted by:	Mark Huizer
1998-08-16 10:38:02 +00:00
jkh
6dec0a8cf5 Add new zh_TW.BIG5 locale 1998-08-16 10:32:15 +00:00
jdp
dfd721300d Make ELF kernels build again. 1998-08-16 04:19:03 +00:00
jdp
d1ce81d497 Revamp the ELF include files to better support architecture-independent
applications.  Here's how it works.

The kernel should include <machine/elf.h> to get the definitions
for the native architecture.  It can reference the various ELF
structures with generic names like Elf_Sym, Elf_Shdr, etc.  A define
__ELF_WORD_SIZE is also available with the value 32 or 64 as
appropriate for the native architecture.

Generic applications should include <elf.h>, which is just a wrapper
for <machine/elf.h>.

Applications such as object file dumpers that need to deal with
foreign ELF files can include <sys/elf32.h> and/or <sys/elf64.h>.
Both can be included from the same source file if desired.  The
structure names must be referenced using wordsize-specific names
like Elf32_Sym, Elf64_Shdr, etc.

I haven't change the alpha stuff, but I haven't broken it either.
1998-08-16 03:03:38 +00:00
bde
b48943eaac Fixed a style bug (a long line) in the previous commit. 1998-08-16 01:47:19 +00:00
jkh
6d5ffb0b01 Make provisions for a pre-build script that one can use to frob the
chroot tree right after everything has been checked out and we're ready
to go.
1998-08-16 01:24:40 +00:00
bde
9e27b29fba Use [u]intptr_t instead of [u_]long for casts between pointers and
integers.  Don't forget to cast to (void *) as well.
1998-08-16 01:21:52 +00:00
bde
e14b44bbf3 Cast an int to (intptr_t) before casting it to (void *).
Don't cast a pointer to a long just to print it.
1998-08-16 01:04:48 +00:00
jkh
ae29a59a45 Add BINFORMAT awareness. 1998-08-16 00:57:08 +00:00
bde
0277aae350 Fixed yet more ioctl breakage due to the type of the `cmd' arg chaninging
from int to u_long but not changing here.
1998-08-16 00:57:07 +00:00
jkh
bdc9587444 Trim more out of the boot floppy so that it fits in 1.44MB again. 1998-08-16 00:44:29 +00:00
bde
9fa8a2d794 pmap.c:
Cast pointers to (vm_offset_t) instead of to (u_long) (as before) or to
(uintptr_t)(void *) (as would be more correct).  Don't cast vm_offset_t's
to (u_long) just to do arithmetic on them.

mp_machdep.c:
Cast pointers to (uintptr_t) instead of to (u_long).  Don't forget
to cast pointers to (void *) first or to recover from integral
possible integral promotions, although this is too much work for
machine-dependent code.

vm code generally avoids warnings for pointer vs long size mismatches
by using vm_offset_t to represent pointers; pmap.c often uses plain
`unsigned int' instead of vm_offset_t and didn't use u_long elsewhere,
but this style was messed up by code apparently imported from mp_machdep.c.
1998-08-16 00:41:40 +00:00
bde
8814b380eb Use an array of uintptr_t's instead of an array of u_longs to hold
address constants.  This fixes some warnings for conversions from
64-bit integers to 32-bit pointers on i386's with 64-bit longs.
vm86 still uses too many u_longs.
1998-08-16 00:05:05 +00:00
bde
c96f169902 Cast to `char *' instead of to u_long to help add byte offsets to
pointers.  Neither is portable, but "correct" casts to integral
types are much uglier - they lead to expressions like

        ptr = (struct struct_with_too_long_a_name *)(void *)(uintptr_t)
	    ((uintptr_t)(void *)ptr + offset);

Here the cast to the struct pointer is to match the surrounding
style of this file (and not depend on C's feature of properly
converting `void *' on assignment or cast), the `void *' casts are
because uintptr_t is only specified to work on `void *' pointers
(I missed this in about 100 lines of previous changes from [u]long
to [u]intptr_t), the outer cast to a uintptr_t is in case the
addition promoted the type, and the inner cast to a uintptr_t
corresponds to the one cast to an integer in the original code.

Don't depend on gcc's feature of casting lvalues.
1998-08-15 23:06:38 +00:00
bde
a1f9eb2f92 Oops, the printf format error fixes confused curp->area with a pointer. 1998-08-15 22:42:20 +00:00
bde
5f7c8e3023 Oops, the previous fix confused Linux's sigset_t with a pointer type.
It can be integral or a struct in POSIX, so it is difficult to print,
but it is actually declared as unsigned long.  Assume that it is
unsigned integral.
1998-08-15 22:29:43 +00:00
bde
ddbe8db9de Fixed yet more ioctl breakage due to the type of the `cmd' arg changing
from int to u_long but not changing here.
1998-08-15 21:58:09 +00:00
bde
d1358702bf Made some disgusting ifdefs even more disgusting to enable the support
for `u_long cmd' ioctl args if __FreeBSD_version >= 300003.  Some ioctls
were broken on machines with 32-bit ints and 64-bit longs.
1998-08-15 21:51:53 +00:00
bde
a879550a11 Use offsetof() to avoid some casts from pointers to integers (of a
possibly different size).
1998-08-15 21:36:16 +00:00
phk
3fd8693dfa Add missing #include of <sys.types.h> 1998-08-15 20:53:34 +00:00
markm
4c46d76ffc Bump version number for latest perl 1998-08-15 17:34:00 +00:00
markm
1a6e7e5848 Clean up the kerberos entries, and add example CVS entries 1998-08-15 17:32:27 +00:00
markm
9e2c52ccc8 Add kerberised CVS to the dependant programs. 1998-08-15 17:28:06 +00:00
markm
055e7770c8 Fix LIBDIR so kerberised CVS will work. 1998-08-15 17:26:36 +00:00
jb
bfd3d9d6f1 All but two if these build on alpha now, but most are untested.
ldconfig isn't required.
1998-08-15 13:21:41 +00:00
phk
3d8fbb04c7 I have added the support for BIG5 encoding into libc/libxpg4/mklocale.
the diff is attached below. This is done on the 3.0 source-tree.
I have test this on 2.2-stable before, but I don't have a 3.0 machine
right now.

This patch is mainly to make libc support BIG5 encoding, thus add
zh_TW.BIG5 locale to 3.0.

Submitted by:	Chen Hsiung Chan <frankch@waru.life.nthu.edu.tw>
1998-08-15 12:51:49 +00:00
phk
f58f152acd Remove half the file, somehow it got doubled... 1998-08-15 12:36:50 +00:00
jb
df2e90f4f3 Build libkvm on alpha too. 1998-08-15 12:36:42 +00:00