Commit Graph

115957 Commits

Author SHA1 Message Date
dsl 26461e4412 Put cylinder number 1023 into the mbr for sectors beyond the CHS limit
(rather than encoding the highest CHS addressable sector).
2003-08-10 10:20:08 +00:00
dsl 8d9878ecb4 Remove only (last?) use of SETHIGH and SETLOW before gcc starts warning
about the odd construct.  Also fixes kern/6525.
2003-08-10 09:54:06 +00:00
mrg ef96a066f2 GCC3-specific sets 2003-08-10 08:44:41 +00:00
mrg fa688653a3 return type of sizeof() is size_t not long. 2003-08-10 08:28:09 +00:00
mrg b90813089d avoid gcc3 cpp lossage. 2003-08-10 08:26:38 +00:00
mrg 151375e124 avoid some lint errors in the previous 2003-08-10 08:24:52 +00:00
dsl b176defcde Revert most of rev 1.27 of addbytes.c and associated changes.
Posix requires that adding '\n' does clrtoeol() and 'x = 0'.
(Making "\r\n" erase the text that has just been displayed.)
Remove __NONL test from addbytes, __NONL is a property of the output device.
2003-08-10 07:37:11 +00:00
chs 792f9a7f05 remove some leftover cruft. 2003-08-10 02:30:51 +00:00
chs 78a835abdc fix typos in comments. 2003-08-10 02:03:31 +00:00
chs a883716eb4 track changes in libsa Makefile. 2003-08-10 02:01:26 +00:00
mrg 62340ef2af document -isystem-cxx. 2003-08-10 01:57:50 +00:00
uwe e4bd28ac72 Undo previous. It breaks profiling, but I managed to test against the
wrong tree and so missed it.
2003-08-10 01:22:03 +00:00
keihan be22639c8e Add a bunch more, ok'd by Grant Beattie. 2003-08-10 00:44:46 +00:00
uwe 147642d466 Real _PROF_PROLOGUE so that assembly language functions can be profiled. 2003-08-10 00:00:26 +00:00
uwe 9cd06ccd7e For ELF put RCSID strings into .ident section. 2003-08-09 23:04:43 +00:00
martin eaa9779f55 Split into a 64 bit version (straight forward shifting and masking) and
a 32 bit one with two 32 bit operations with two temporaries later
combined.

This avoids the strict alias violating magic used before, thereby
probably fixing PR bin/22313.
2003-08-09 22:37:49 +00:00
dsl fe536754c3 Allow user to shoot themselves in the foot by specifing a non-standard
'average bytes per inode' for each partition.
Fixes PR install/8509
2003-08-09 21:36:26 +00:00
dsl 221f1dff47 Some systems (esp. those with a Promise IDE controller card) seem to
destroy %dl (drive number) across the 'disk reset' command.
Preserve %dl across that call and all registers across the disk reads.
Reorder the code to remove some long conditional jumps to save space.
2003-08-09 20:57:45 +00:00
bsh 7061f16abb enable LCD, PCMCIA, CF and PS/2 keyboard. 2003-08-09 19:41:44 +00:00
bsh eab266e671 add following drivers for Intel Lubbock.
LCD
	on-board SA-1111 companion chip
	PCMCIA/CF slots
2003-08-09 19:38:53 +00:00
dsl 144c38f82d Don't delete \r that aren't followed by '\n' when relaying program output.
Needed to get progress bar displayed correctly.
Kill a level of indent to get some coding space.
2003-08-09 19:26:38 +00:00
dsl 5638922967 Stop panic if 'mknod xxx b 0 0' done on a full filesystem.
panics in ffs_full_fsync because v_specmountpoint requires that the NULL
v_specinfo be followed.
Tidy up in the same order in all error paths so compiler can merge the
code sequences.

Fixes PR kern/22419
2003-08-09 19:02:53 +00:00
christos 27ffe34f72 Fix problem with OSIOCIFCONF where it tried to copyout addresses that
did not fit in struct osockaddr. Fixes linux emulation issue where bogus
addresses where returned for the interfaces [AF_LINK, AF_INET6]. While
I am here, change ioctl, so if the ifconf buffer passed is NULL, then it
computes how much space is needed and returns it in ifc_len.
2003-08-09 18:13:03 +00:00
yamt b1eb92cb46 in ACPI_ACQUIRE_GLOBAL_LOCK,
don't assume that the reserved bits of the global lock are all zero.
it's actually needed for, at least, IBM Thinkpad X21 (2662-64J).
2003-08-09 17:35:43 +00:00
jdolecek 64bb562b50 fix linux_sys_p{read|write}() to actually call correct syscall after
arg massage, i.e. sys_p{read|write} as appropriate; up to now, the functions
called sys_{read|write}() by mistake
2003-08-09 17:11:51 +00:00
christos c626c860b1 LINUX_USRSTACK is only defined on i386. Thanks Izumi! 2003-08-09 16:28:49 +00:00
christos a24080409e Only choose the linux usrstack if the netbsd usrstack was higher. 2003-08-09 14:17:28 +00:00
christos 36e09d1a2c Explain a diagnostic message a bit better, and make it a debug only message. 2003-08-09 14:16:44 +00:00
christos 9897a5425c Change the way we compute the top of the stack. This makes java-1.4.2 work. 2003-08-09 13:44:39 +00:00
mrg 7fb34d4e7b merge gcc3.3.1 2003-08-09 12:59:00 +00:00
mrg 032a2c7f24 add dependancies "make depend" needs to know about. fixes PR#22389 2003-08-09 12:04:55 +00:00
recht b7414800d0 Add myself to the list of developers. 2003-08-09 11:53:26 +00:00
igy aabdcf8773 bump the version number 2003-08-09 11:38:16 +00:00
igy 07f9797566 add bootp support 2003-08-09 11:37:57 +00:00
mrg adab0762e5 initial import of (final) GCC 3.3.1 sources 2003-08-09 11:11:09 +00:00
pk f18213d166 Simplify the definitions of VA_VPG() and VA_OFF(). 2003-08-09 09:30:04 +00:00
martin a26ce66da3 KERNBASE -> KERNBASE_LOCORE (make it compile again) 2003-08-09 08:58:50 +00:00
igy 8f53455cfb netboot support 2003-08-09 08:01:42 +00:00
keihan 785984d9e4 Add a bunch of acronyms, approved by Grant Beattie. 2003-08-09 01:35:16 +00:00
jonathan 3a6b5e631c Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver. 2003-08-08 20:46:09 +00:00
yamt a01f6f4ea5 - make this a bit MP friendly.
(although no actual changes under the kernel lock)
- remove a test that isn't meaningful anymore.
2003-08-08 20:19:56 +00:00
yamt 1f08924c29 arrange namecache lru before vget (and releasing namecache_slock)
since our namecache entry can go away during we're sleeping on the vnode.

the bug pointed by enami tsugutomo.
tested by Matthias Scheler.
PR/22363.
2003-08-08 20:18:19 +00:00
christos c23ca09f5a use KERNBASE_LOCORE 2003-08-08 20:14:06 +00:00
christos bbb5cbabcf cleanup the mess with KERNBASE and KERNBASE_LOCORE. 2003-08-08 20:13:04 +00:00
keihan 40bff3072a Add a couple of acronyms and fix API.
This and the previous commit to acronyms approved by Lubomir Sedlacik.
2003-08-08 19:17:52 +00:00
keihan 5a33a0e11d Add 'stfa'. 2003-08-08 19:16:13 +00:00
christos 3b9c3c5aab - GC all the setup_stack functions
- add one for linux/i386
2003-08-08 18:57:01 +00:00
christos 6f1990af06 Conditionally declare function that is not used all the time. 2003-08-08 18:55:26 +00:00
christos c6e2d17205 exec_elf_common.c is no more. 2003-08-08 18:54:39 +00:00
christos 0e8ec63c44 - Add execsw es_setup_stack
- gc all the rest of the setup stack functions.
2003-08-08 18:54:16 +00:00