Bruce Evans
084a3966cc
Backed out previous commit. The seconds part of microtime() is
...
not the necessarily the same as the seconds part of getmicrotime()
yet, and anyway, we should have used `time_second' if we only wanted
a sloppy value for the seconds part. There is no point in making
ibcs2's time(2) more efficient than FreeBSD's time(3).
1998-08-17 17:53:12 +00:00
Bruce Evans
2d2f8ae7ad
Fixed nonsense overflow checking (checking that a long variable is less
...
than INT_MAX after it has possibly overflowed).
Removed an unused variable and its associated 2 style bugs.
Removed unused includes.
1998-08-17 17:28:10 +00:00
Bruce Evans
16e164e393
Oops, the previous commit was of a local version.
1998-08-17 16:58:02 +00:00
Bruce Evans
c7e2a13256
FIxed typo (syntax error) in previous commit.
1998-08-17 16:46:33 +00:00
Bruce Evans
e587e32f15
Fixed order and formatting.
1998-08-17 16:39:07 +00:00
Bruce Evans
a49c17fb21
Added zh_TW.BIG5 locale. Material for 5 big pointy hats found nearby.
1998-08-17 16:17:08 +00:00
John Birrell
34c2c7717f
Make this internal build tool static to avoid trying to use shared
...
libraries before the shared loader has been installed.
1998-08-17 11:56:22 +00:00
John Birrell
47b524d13a
Remove the PATH setting.
1998-08-17 11:43:25 +00:00
Dag-Erling Smørgrav
163074e1ca
Cross my fingers and enable libfetch.
1998-08-17 09:32:07 +00:00
Dag-Erling Smørgrav
ecc9135299
Commit a bunch of patches that have been accumulating:
...
- Fix the README to reflect the new status of the ftp code.
- Change tons of 'if (xxx < 0)' to 'if (xxx == -1)'
- Add two new interface functions
- Fix the Makefile so it actually works (yay!)
Now the manpage is lagging even further behind... :( Next on the todo
list is to clean up the http code.
1998-08-17 09:30:19 +00:00
Doug Rabson
cd1ab665c8
Don't use unaligned accesses when printing extended sense codes.
1998-08-17 09:24:31 +00:00
Doug Rabson
e31fa854a0
Add macros for accessing device memory.
1998-08-17 08:57:05 +00:00
Doug Rabson
744857bc1c
Update to use the new elf headers.
1998-08-17 08:47:19 +00:00
Doug Rabson
a5f96f457f
Add Miata system type and pull in the LOCATE_PCS macro from NetBSD.
1998-08-17 08:26:12 +00:00
Doug Rabson
ca13e4a93b
Add breakpoint() for BREAK_TO_DEBUGGER.
1998-08-17 08:21:31 +00:00
KATO Takenori
30b8d76d79
Sync with sys/i386/isa/lpt.c revision 1.70.
1998-08-17 08:21:09 +00:00
Doug Rabson
bcf270989f
Update to work with the new elf headers.
1998-08-17 08:06:31 +00:00
Doug Rabson
e00c264242
Update to use elf_generic.h.
1998-08-17 08:05:55 +00:00
Doug Rabson
e99a8ba0c4
Disable some unnecessary debugging code.
1998-08-17 08:04:42 +00:00
Doug Rabson
130cd73a15
Teach disklabel how to install a bootstrap on an alpha with SRM console.
1998-08-17 07:43:54 +00:00
Gary Palmer
83314c7206
lorder is needed on the alpha too
1998-08-17 07:37:55 +00:00
Brian Somers
fc254be9bd
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
John Birrell
44ab8b53f2
Remove a cast and print the pointer value with %p instead of %x.
1998-08-17 06:16:59 +00:00
John Birrell
9d1135a9e1
Ad #include stdlib.h to get the prototype for malloc().
1998-08-17 06:05:55 +00:00
Gary Palmer
67e55fa568
We need config to build on the alpha also ... kinda difficult to build
...
kernels without it :)
1998-08-17 05:48:22 +00:00
John Polstra
9d5aee94a0
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
John Birrell
b4869285da
Remove support for NetBSD syscalls.
1998-08-17 03:46:10 +00:00
John Birrell
4f27f01e1d
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
Joseph Koshy
580367f264
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
Bruce Evans
162886e237
Fixed printf format errors.
1998-08-17 01:05:25 +00:00
Bruce Evans
138d060a6e
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
Bruce Evans
5afd0041c5
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
Bruce Evans
72298f8fa6
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
John Birrell
e7e3958bc5
Alpha is now native and bootstrapping from NetBSD is no longer supported.
1998-08-16 23:35:49 +00:00
Bill Paul
fc164cbc0f
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
Bill Paul
ffcc5b5933
Whoops... really add the man page and update the Makefile this
...
time.
1998-08-16 17:19:58 +00:00
Bill Paul
9bcd379541
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
Bill Paul
c897be411b
Mention that XL driver and that 3c905B cards are not supported.
1998-08-16 17:16:07 +00:00
Bill Paul
e30938ce3a
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
Dag-Erling Smørgrav
d08b9c139f
Enable kernel dumps on SLICE systems.
1998-08-16 11:27:19 +00:00
Dag-Erling Smørgrav
9338e8728b
Fix typo in previous commit.
...
PR: 7621
Submitted by: Mark Huizer
1998-08-16 10:38:02 +00:00
Jordan K. Hubbard
4de88c68be
Add new zh_TW.BIG5 locale
1998-08-16 10:32:15 +00:00
John Polstra
317c91f4d4
Make ELF kernels build again.
1998-08-16 04:19:03 +00:00
John Polstra
ca0154bc75
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
Bruce Evans
6ebae469d0
Fixed a style bug (a long line) in the previous commit.
1998-08-16 01:47:19 +00:00
Jordan K. Hubbard
48f1b394ea
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
Bruce Evans
86a14a7a0a
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
Bruce Evans
9d97be3511
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
Jordan K. Hubbard
5e95012499
Add BINFORMAT awareness.
1998-08-16 00:57:08 +00:00
Bruce Evans
5014fe3b58
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