eeh
433c92930e
Fix uninitialized pointer bug.
2000-12-05 15:25:57 +00:00
augustss
f680fa762c
Make sure to increment reference count while the (lengthy) opening
...
operation is happening so we don't lose on disconnect.
2000-12-05 14:01:33 +00:00
tsutsui
e8bfefe60c
- Since rtk_rxeof() was rewritten, we don't have to reserve a few bytes
...
before the Rx buffer.
- Reduce delay on EEPROM access.
- Some more cosmetics.
2000-12-05 11:11:49 +00:00
jdolecek
94e024dc14
constify
2000-12-05 10:45:09 +00:00
jdolecek
dae7d6d77c
actually, pte is normally in user address space, but can also be in kernel
...
address space for LARGEPAGES kernel; to handle both, do the same dance
as for loc
2000-12-05 10:26:12 +00:00
mycroft
e4ae5a1406
In mem_regions(), deal with the case of a run of consecutive holes.
...
Now the cube works with the memory in any order.
2000-12-05 05:16:00 +00:00
briggs
e7a6bcd6eb
Add the DrHw Apple 24AC "Boogie" video card.
...
Thanks to Lucas Lay <segfault@mac.com> for digging it up.
2000-12-05 05:05:52 +00:00
briggs
3503f0999b
Add defines for:
...
Apple WGS SCSI / cache card
FWB JackHammer SCSI card
2000-12-05 05:02:36 +00:00
augustss
d801d9ec2b
Regen.
2000-12-05 03:12:47 +00:00
augustss
d604cf563b
Add another Epson printer.
2000-12-05 03:12:11 +00:00
oster
7a8eea351b
Fix a couple of warnings about uninitialized variables. Thanks go to
...
Frank van der Linden for pointing these out.
2000-12-05 01:35:56 +00:00
bjh21
2caf09a602
regen
2000-12-05 00:44:21 +00:00
bjh21
1bdf317d96
Add the 16bit podules I got from abs (ColourCard, Centronics, sampler, MIDI).
2000-12-05 00:43:55 +00:00
scw
bfcd71c79c
Clean up the build process to ensure libsa/libbug are built
...
before linking the bootloaders.
2000-12-04 21:25:57 +00:00
scw
349445391c
Make this work with the ELF tape bootloader.
2000-12-04 21:24:34 +00:00
fvdl
3de7a35dc2
More cast / format cleanup to make this compile cleanly in 32bit mode.
2000-12-04 20:40:07 +00:00
fvdl
b5f5b707ea
Make gcc happy about casts.
2000-12-04 20:33:12 +00:00
scw
5a17a935bc
Declare `start' in addition to `_start'.
2000-12-04 20:31:16 +00:00
fvdl
95ed1f82c4
Make gcc like a cast.
2000-12-04 20:29:34 +00:00
fvdl
56fd0b02d5
Avoid format warnings.
2000-12-04 20:25:40 +00:00
fvdl
2ccdc61f62
Avoid (safe) cast warnings.
2000-12-04 20:19:49 +00:00
fvdl
245940b894
Clean up warnings in 32bit compile (bus_space_handle_t is 64bit wide
...
but will only contain 32bit values; casting via u_long is safe)
2000-12-04 20:17:10 +00:00
fvdl
2c81c82473
Comment out caxsa, it's not used. Avoids 32 bit compile errors.
2000-12-04 20:14:05 +00:00
fvdl
e58fff48bf
Avoid compile warning on sparc64 32bit. sc_buffer doesn't seem to be
...
used at all, this line can probably be removed.
2000-12-04 20:12:55 +00:00
fvdl
42efb3639a
Avoid a warning in bus_dmamap_load_uio by inserting a 'return 0' for
...
good measure in this unimplemented function.
2000-12-04 20:12:10 +00:00
scw
269a30a733
s/a6/fp/ again...
2000-12-04 18:48:18 +00:00
scw
e267f2466b
Add support for ELF boot blocks.
2000-12-04 18:44:51 +00:00
scw
b29bcb645b
The LOAD_TEXTA flag is required when loading a.out kernels.
...
Also add some non-standalone versions for the benefit of installboot(8).
2000-12-04 18:41:51 +00:00
scw
c28723715c
Prefix the register names with `%'.
2000-12-04 18:40:05 +00:00
scw
d0da91f9e2
Use -fomit-frame-pointer when compiling bugcrt.c; a6 needs to be reserved
...
for Bug arguments.
2000-12-04 18:35:16 +00:00
eeh
c5080ee564
Fix uninitialized variable bug and code cleanup.
2000-12-04 17:26:41 +00:00
tsubai
1b4a9cb335
Move INTSTK and SPILLSTK definitions to locore.[Ss] to allow allocation of
...
them in early startup.
2000-12-04 17:05:50 +00:00
fvdl
2fb588e51d
Warning police. Mostly useless format warnings. Switch Makefile for
...
kernel compiles to the warning flags that other ports also use.
2000-12-04 16:01:18 +00:00
ad
7433fb33e8
In wsdisplay_switchtoconsole(), ensure that the switch happens
...
synchronously. Suggested by drochner.
2000-12-04 13:22:17 +00:00
fvdl
a0aebb0c36
Initialize 'error' to 0, so that nfs_putpages doesn't return garbage
...
when pages already have been committed and nothing needs to be done.
2000-12-04 12:12:20 +00:00
itojun
fe5bd7125e
make sure we don't touch uninitialized pointer. from: fvdl
2000-12-04 12:11:49 +00:00
fvdl
ff72f95eaa
Initialize 'frcn' to 0 in extendfile to be safe.
2000-12-04 11:54:39 +00:00
fvdl
b6d9ce390e
Comment out 2 cases of unitialized variable use (only used when
...
debugging is switched on, though).
2000-12-04 11:35:46 +00:00
itojun
7fee705236
more on previous (udp4 multicast fix)
2000-12-04 11:24:20 +00:00
itojun
c2ca545d60
fix multicast inbound packet processing.
...
NetBSD PR 11629 From: salvet@ics.muni.cz
2000-12-04 11:23:04 +00:00
fvdl
d26269e0a6
'error' was not initialized in the _ioctl function, potentially returning
...
!= 0 values in the non-error case.
2000-12-04 11:18:49 +00:00
fvdl
0888965bb7
Remove uninitialized variable usage (it was redundant anyway).
2000-12-04 11:05:32 +00:00
mrg
247f2c42d7
Remove __BROKEN_CONFIG_UNIT_USAGE. (sync with sparc)
2000-12-04 09:56:56 +00:00
chs
4912461b20
in ffs_sync(), don't skip vnodes which have (potentially dirty) pages.
2000-12-04 09:37:06 +00:00
scottr
fc6d3c5f48
Unmap the valkyrie register space when we're finished with it in
...
the match function. It's not like we can save that state for later,
and we don't use it anyway.
2000-12-04 06:25:19 +00:00
scottr
b21b6272fa
Fix PR 11000: The esp driver needs two longwords in DAFB register space to
...
implement pseudo-DMA transfers with the SCSI controller. This caused our
match to fail when we couldn't map the entire DAFB register/control space
for our own use. Instead, we map only (about) what we will need in two
separate regions.
As a consequence we no longer do Turbo SCSI configuration here; indeed, it
may have caused us trouble later on if we actually changed the values
stored in those registers in the esp driver.
2000-12-04 06:23:36 +00:00
augustss
0a739c7166
A portability define.
2000-12-04 03:38:56 +00:00
augustss
f4d0a8c54a
Regen.
2000-12-04 03:37:07 +00:00
augustss
e2925e0555
Add YAP Phone.
2000-12-04 03:36:42 +00:00
mrg
ce0e1dea34
sync relocs with sparc64.
2000-12-04 01:49:34 +00:00
mrg
ac9988aef0
remove duplicate function prototypes.
2000-12-04 01:39:04 +00:00
mrg
3806c27f34
sync a comment with sparc64/include/types.h
2000-12-04 01:33:36 +00:00
eeh
2a50931a1c
Turn on TAG QUEUE support and add some debug stuff.
2000-12-03 23:31:13 +00:00
eeh
03e0f9950a
Fix bug in non-dma select code i added.
2000-12-03 23:25:24 +00:00
jlam
9cfd45593f
Set range of memory protected by read/write bus space barriers to the
...
correct size, instead of extending past the mapped region.
2000-12-03 23:15:23 +00:00
simonb
a8a26dd42a
Remove __BROKEN_CONFIG_UNIT_USAGE, not needed on pmax.
2000-12-03 23:00:42 +00:00
fvdl
7c2b9d8515
In addition to setting the softdep flag in the superblock when
...
mounting with softdeps, also explicitly clear it when we don't,
so that a leftover setting after a crash will be cleared.
2000-12-03 19:52:06 +00:00
ad
e931ce9485
Oops.
2000-12-03 15:51:53 +00:00
ad
433cc4cf9e
Nit.
2000-12-03 15:51:36 +00:00
scw
9fc2cc70dc
Include the a.out m68k compatibility module.
2000-12-03 15:40:06 +00:00
scw
2e68384b0c
Back out the previous change after discussion with thorpej and cgd.
2000-12-03 15:38:30 +00:00
scw
53323bf36d
Revert the previous change, after discussion with thorpej and cgd.
2000-12-03 15:37:46 +00:00
fvdl
a21f36eeb2
Make softintr_establish prototype match other ports, avoiding compile
...
warnings.
2000-12-03 14:49:50 +00:00
fvdl
1f04bc7933
TRAPWIN is defined by default in trap.c, don't define it here.
2000-12-03 14:49:14 +00:00
fvdl
c3d820fa5d
Use a copied fktrace syscall arg structure with out 'const int' for the
...
filedescriptor to copy arguments, avoiding a warning. XXX
2000-12-03 14:48:29 +00:00
fvdl
5ce71a2aed
Include opt_* files to make sure prototypes are included.
2000-12-03 14:47:27 +00:00
tsutsui
311a1a842c
Clean up receive interrupt routine:
...
- Use MGETHDR + MCLGET + memcpy rathar than m_devget + m_adj + m_copyback.
- Call bus_dmamap_sync(9) correctly for Rx buffer.
Mostly from thorpej's if_rtp.c.
2000-12-03 14:24:17 +00:00
takemura
1021bf4bf1
Change hf_baseaddr usage. Now it potins frame buffer start address instead
...
of hf_baseadd + hf_offset. You should use hf_baseaddr only in kernel and
you should use hf_offset only with mmap system call from userland.
2000-12-03 13:43:40 +00:00
ad
3bcc9b9f3a
Fix a comment.
2000-12-03 13:34:37 +00:00
ad
9ecde86321
I2O HBAs provide an abstracted view of the bus; use SCBUSIOLLSCAN to give
...
them an oppertunity to re-scan it before we do.
2000-12-03 13:30:36 +00:00
takemura
e7c346ccba
- CRT control exists only in GC01R.
...
- add some symbols.
- fix some typo.
2000-12-03 13:24:33 +00:00
ad
f237da87bf
Hook the iop device in.
2000-12-03 13:19:07 +00:00
ad
af9d4c4fa4
- Only configure un-claimed devices. Implement re-configuration.
...
- Adhere to the spec better in some places. Also, work around some quirks
noted in the Linux I2O code.
- Register event handlers for the executive and RBS devices.
- Fix a number of buglets and tidy a little.
- Implement a message pass-through interface and some other useful ioctls.
2000-12-03 13:17:03 +00:00
fvdl
8537802e8d
Add systm.h to pull in copyout* prototypes.
2000-12-03 13:15:38 +00:00
ad
1e6732dca4
- Force the memory mapping uncacheable.
...
- We don't need a record of the I/O space mapping.
2000-12-03 13:05:14 +00:00
ad
a5248b66cf
Make it possible to detach ld devices.
2000-12-03 13:03:30 +00:00
takemura
94e15f37c8
Cancel previous change and revert to revision 1.35.
...
You can't pmap_steal_memory to allocate proc0 bacase physical memory
detection calls badaddr which needs proc0.
2000-12-03 12:57:37 +00:00
takemura
e678d47b5e
Add #UVMHIST line (commented out).
2000-12-03 12:29:28 +00:00
matt
dc80dfbf5d
Use shared Makefile.mips
2000-12-03 07:59:47 +00:00
matt
cc1a776969
Add DEFGP/CROSSDIR for hpcmips.
2000-12-03 07:55:12 +00:00
matt
b0ffdfd51c
Use shared Makefile.mips
2000-12-03 07:46:43 +00:00
matt
b927e12eee
Remove redundant depend of fp.S
2000-12-03 07:44:43 +00:00
simonb
26ca0704e4
Use shared Makefile.mips
2000-12-03 07:39:34 +00:00
perseant
32d11b86a5
Call uvm_vmp_setsize() in lfs_{fast,}vget to set initial vnode size.
2000-12-03 07:34:49 +00:00
matt
8bddbd2266
Include FP support if NOFPU is *NOT* defined.
2000-12-03 07:21:50 +00:00
matt
825cb46de5
Revert back to a machinearch (really cputype) of mips. Put ENDIAN back.
2000-12-03 07:05:21 +00:00
perseant
72633be8c6
Fix typo in 'malloc' for non-MALLOCLOG case
2000-12-03 06:43:36 +00:00
matt
c1dbeee6d0
Deal with lack of floating point on hpcmips, etc.
2000-12-03 06:04:50 +00:00
perseant
2a53ff5ab9
Get rid of some old unnecessary code that cleared B_NEEDCOMMIT from buffers in
...
lfs_writeseg (possibly after they had been freed).
If MALLOCLOG is defined, make lfs_newbuf and lfs_freebuf pass along the
caller's file and line to _malloc and _free.
2000-12-03 05:56:27 +00:00
matt
866f93d61f
Change arch from mips to mipsel/mipseb as appropriate. Nuke the ENDIAN
...
makeoption. Key off MACHINE_ARCH for adding -EB/-EL to CFLAGS/AFLAGS/LD/
LINKFLAGS.
2000-12-03 05:30:31 +00:00
chs
65a9d68fda
don't forget to set um_lognindir (now required by ufs_bmaparray()).
2000-12-03 05:27:51 +00:00
matt
ecf6f5a91f
Add a POST_STRIP_SYSTEM_LD_FLAGS for mipsco and pmax.
2000-12-03 04:52:38 +00:00
matt
a0a88e0a71
Use shared Makefile.mips
2000-12-03 04:51:26 +00:00
matt
bd338a518c
Deal with -Wstrict-prototypes -Wmissing-prototypes
2000-12-03 04:51:04 +00:00
chs
6944ee458a
in ufs_balloc_range(), don't rely on uvm_vnp_setsize() to invalidate
...
pages we've allocated past the real EOF when we fail to allocate a block.
we used to play games with the VM notion of the file size but we don't do
that anymore, so uvm_vnp_setsize() doesn't do what we want anymore.
call the pager flush op instead.
2000-12-03 03:57:24 +00:00
tsutsui
e89ff0051b
Add some ELF stuff. (not tested)
...
XXX should use MI loadfile(). (see sparc)
2000-12-03 03:35:40 +00:00
tsutsui
b00d07faa9
Enable LOAD_HDR and COUNT_HDR. (would be required on ELF)
2000-12-03 02:56:25 +00:00
tsutsui
99d2177add
Don't try to load a.out header if there is no space for it before text.
2000-12-03 02:53:04 +00:00
matt
5e67131b91
Start using a Makefile.mips. Use a combination of makeoptions and
...
Makefile.sgimips.inc which has sgimips specific stuff.
2000-12-03 02:07:04 +00:00
matt
c77ccc45d8
Make this stuff compile with -wstrict-prototpes -wmissing-prototypes.
...
More use of prototypes inside includes should be done.
2000-12-03 01:42:29 +00:00
scw
6afa06dad6
Add support for COMPAT_AOUT_M68K.
2000-12-02 20:44:09 +00:00
scw
c6aacae85d
defopt COMPAT_AOUT_M68K
2000-12-02 20:43:08 +00:00
scw
47a35be2c9
Initial cut of COMPAT_AOUT_M68K.
...
This gets most existing m68k a.out binaries working with m68k ELF
kernels.
There are still some remaining ABI issues to track down; most notably,
some ioctl(2) calls are affected by the change.
2000-12-02 20:40:03 +00:00
matt
ab27bbe9b2
Need to add -EB for ASFLAGS as well. Don't use -EB in LINKFLAGS but add
...
-EB to LD so that libkern/libcompat get it as well.
2000-12-02 20:27:37 +00:00
jdolecek
2b0dca1878
db_disasm(): pte is in kernel address space, so use kvtopte() to get pde,
...
otherwise it would trip over KASSERT() in vtopte() and cycle
2000-12-02 19:34:54 +00:00
scw
57b29e6754
Fix symbol table loading.
2000-12-02 17:28:08 +00:00
ragge
8dcc655ab0
Remove lkc, add lkkbd/lkms.
2000-12-02 17:19:27 +00:00
ragge
f8a6a4ce46
Add lkkbd/lkms/fonts, remove lkc.
2000-12-02 17:18:54 +00:00
ragge
2f2f3de2ed
Recent lkkbd/lkms/lkc changes.
2000-12-02 17:15:37 +00:00
ragge
cfcd7e9e98
Use lkkbd. Add hardware cursor support. Use wsfont fonts instead of the
...
old QDSS fonts (support not finished). KNF cleanup.
2000-12-02 17:14:00 +00:00
ragge
3321363123
Remove lkc, add lkkbd/lkms support.
2000-12-02 17:09:43 +00:00
ragge
a81d92ef69
Add prototype.
2000-12-02 17:08:32 +00:00
ragge
37bfa1d6e8
Add fusword() + a MP change.
2000-12-02 17:07:55 +00:00
ragge
e392e575c1
lkc is gone, long live wskbd.
2000-12-02 17:07:27 +00:00
ragge
47dabcfc3f
Support files to use wskbd/wsmouse on VAXen with DZ-like chips.
...
From Matthew Fredette (fredette@MIT.EDU ).
2000-12-02 17:03:55 +00:00
scw
6de7ccd2d3
On exit from syscalls, don't trash %A0 if the process is
...
using the COMPAT_AOUT_M68K emulation package.
2000-12-02 17:00:46 +00:00
ragge
23eb2da75d
Accept the "Utför" key as a giant ctrl-alt key. On LK201 "Ctrl" and
...
"Compose" cannot be pressed at the same time.
2000-12-02 16:57:41 +00:00
jdolecek
6f4041b981
regen after addition of linux_sys_swapoff()
2000-12-02 16:45:51 +00:00
jdolecek
1acf11b550
add emulation of linux swapoff(2)
2000-12-02 16:43:50 +00:00
jdolecek
e9b63338d7
add prototype for ibcs2_syscall()
2000-12-02 16:13:34 +00:00
jdolecek
65203b4ec6
if IBCS2_MACHDEP_HAS_SEPARATED_SYSCALL is defined, put ibcs2_syscall to
...
emul_ibcs2
define IBCS2_MACHDEP_HAS_SEPARATED_SYSCALL in i386 ibcs2_machdep.h
2000-12-02 16:09:44 +00:00
jdolecek
da1aefe9bf
if machdep define LINUX_MACHDEP_HAS_SEPARATED_SYSCALL is defined, put
...
linux_syscall() to emul_linux
define LINUX_MACHDEP_HAS_SEPARATED_SYSCALL for i386
2000-12-02 16:05:04 +00:00
jdolecek
6719ee1cf7
as discussed on tech-kern, put linux and ibcs2 syscall code to separate
...
files and change syscall() to call p->p_emul->e_syscall() if it's not NULL
2000-12-02 16:03:23 +00:00
fvdl
d996722823
defopt AHC_NO_TAGS. Remove unused AHC_* options.
2000-12-02 14:53:38 +00:00
fvdl
2b69243845
Add AHC_NO_TAGS option to switch off tagged queueing. Done because
...
tagged queueing has a severe performance impact (60%) on write
throughput with UBC. Needs investigation.
2000-12-02 14:53:01 +00:00
scw
e4326b372a
Set things up so that DDB can get to the symbol table in ELF kernels.
2000-12-02 13:57:05 +00:00
scw
66a84140b8
Use "EMUL_HAS_SYS___syscall" instead of checking p->p_emul.
...
Removes dependency on COMPAT_AOUT_M68K.
2000-12-02 13:45:14 +00:00
sato
0f6c05e8d7
- polling battery voltage value from A/D port.
...
currently polling only.
if verbose mode, kernel print A/D raw value every polling.
2000-12-02 08:35:45 +00:00
matt
7168049e66
Add -EB to make building kernel on LE systems easier.
2000-12-02 06:23:48 +00:00
matt
305bef7250
Cleanup/fixup gten support. Add TNF copyright (opps). This now outputs
...
text correctly. There is no colormap support (e.g. the mechanisms are in
place but does yet talk to the hardware).
2000-12-02 05:46:46 +00:00
mrg
f5a3788577
pull over lost fix from nebsd32_exec.c:
...
>revision 1.25
>date: 2000/12/01 08:59:02; author: mrg; state: Exp; lines: +2 -2
>in netbsd32_elf32_probe(), 'pos' is really a pointer to an Elf_Addr, not a
>vaddr_t. cast the pointer before dereferencing it to avoid the alignment
>fault that broke compat_netbsd32, cuz pos is defined like:
> Elf_Addr phdr = 0, pos = 0;
>in exec_elf32.c.
2000-12-02 04:08:35 +00:00
mrg
3da40e83e7
const poison to avoid a warning.
2000-12-02 03:57:26 +00:00
itojun
cc1e5d5b5a
remove obsolete comment on MINCLSIZE
2000-12-02 03:03:14 +00:00
jdolecek
df127e0001
make netbsd32_copyargs() an inline
2000-12-01 22:05:18 +00:00
matt
0b76f4efdf
Add support for the IBM ThinkPad 820 G10 display (which is a WD90C24A behind
...
a funky PCI-VLBUS bridge).
2000-12-01 21:54:01 +00:00
jdolecek
e53f148af5
put a.out/elf32 specific things in netbsd32_exec_{aout|elf32}.c
...
emul_netbsd32 was moved to netbsd32_netbsd.c
g/c netbsd32_exec.c now
2000-12-01 21:51:08 +00:00
jdolecek
758d9354ff
always define COMPAT_OLDSOCK (this tracks rev.1.55 of kern/uipc_syscalls.c)
...
move definition of emul_netbsd32 from netbsd32_exec.c here
fix couple of compile nits I encountered while compiling this with
sparc cross-compiler
2000-12-01 21:48:24 +00:00
jdolecek
445c16b759
implement linux_sys_setdomainname()/linux_sys_swapon(), using code
...
from compat_09_sys_setdomainname()/compat_12_sys_swapon().
2000-12-01 21:14:42 +00:00
jdolecek
31cf7b914c
regen
2000-12-01 21:11:02 +00:00
jdolecek
058a5a87bd
replace compat_09_sys_setdomainname() with linux_sys_setdomainname(),
...
compat_12_sys_swapon() with linux_sys_swapon() - this is to drop dependency
on COMPAT_12/COMPAT_09
2000-12-01 21:02:55 +00:00
jdolecek
fc181f91c6
use EMUL_GETPID_PASS_PPID or EMUL_GETID_PASS_EID to find out if one should
...
pass parent pid for getpid() or effective id for get[ug]id(), instead
of compile-time dependency
2000-12-01 20:34:17 +00:00
jdolecek
b490742cef
if LINUX_MACHDEP_PASS_PPID_AND_EUID is defined for given arch, add
...
flags EMUL_GETPID_PASS_PPID|EMUL_GETID_PASS_EID to emul_linux
define this option for alpha
2000-12-01 20:31:13 +00:00
jdolecek
f3d1c08b2a
check emul flags for EMUL_HAS_SYS___syscall instead of comparing
...
callp to sysent; the COMPAT_AOUT hack is gone
2000-12-01 19:50:17 +00:00
jdolecek
d06ce6de86
set the EMUL_HAS_SYS___syscall flag for emul_netbsd
2000-12-01 19:41:49 +00:00
jdolecek
5c032b6899
define EXEC_AOUT before including freebsd_exec.h, so that the a.out stuff
...
gets defined
2000-12-01 19:35:39 +00:00
jdolecek
8e91e3f0bd
make LKM safe
2000-12-01 19:26:57 +00:00
jdolecek
2ff42428df
put elf32 specific code from svr4_exec.c to separate file svr4_exec_elf32.c
2000-12-01 19:26:26 +00:00
jdolecek
dc7c57f299
make LKM safe
2000-12-01 19:25:10 +00:00
jdolecek
36e6e46132
put aout specific sunos code from sunos_exec.c to separate file
...
sunos_exec_aout.c
make LKM safe
add EMUL_GETPID_PASS_PPID|EMUL_GETID_PASS_EID to emul_sunos flags
2000-12-01 19:24:36 +00:00
jdolecek
43ac5f6b81
put aout specific sunos code from sunos_exec.c to separate file
...
sunos_exec_aout.c
2000-12-01 19:23:10 +00:00
jdolecek
7f86cf1b2c
make LKM safe
2000-12-01 19:20:56 +00:00
jdolecek
e0c059250f
emul_osf1: add flags EMUL_GETPID_PASS_PPID|EMUL_GETID_PASS_EID
2000-12-01 19:20:22 +00:00
jdolecek
70569d32c8
prototype netbsd32_stat12_to_netbsd32()
2000-12-01 19:18:46 +00:00
jdolecek
f1badb80a7
put executable format specific code from ibcs2_exec.c to separate
...
files ibcs2_exec_coff.c, ibcs2_exec_elf32.c, ibcs2_exec_xout.c as
appropriate
2000-12-01 19:17:41 +00:00
jdolecek
e826fe9d58
split aout-specific code to sepatate file hpux_exec_aout.c
2000-12-01 19:15:12 +00:00
jdolecek
b4a8a5fbce
split aout and elf32 specific code to separate files
...
emul_freebsd: add emul flags
EMUL_HAS_SYS___syscall|EMUL_GETPID_PASS_PPID|EMUL_GETID_PASS_EID
2000-12-01 19:13:47 +00:00
jdolecek
caae796b52
add emul flag EMUL_HAS_SYS___syscall
2000-12-01 19:12:11 +00:00
jdolecek
011229ffcb
make LKM safe
2000-12-01 18:16:54 +00:00
kei
4389b3cbed
fix a typo in the printf message.
2000-12-01 18:09:01 +00:00
kei
b134a87a76
fix a typo in comment. remove a whitespace at the end of line.
2000-12-01 18:07:11 +00:00
jdolecek
23a13e04be
LKMify, g/c no more needed extern declarations, make hpuxtobsdioctl() static
2000-12-01 18:05:53 +00:00
jdolecek
31a6e57929
LKMify
2000-12-01 18:03:54 +00:00
jdolecek
9e8eb7e8f1
add three emul flags:
...
EMUL_HAS_SYS___syscall - has SYS___syscall
EMUL_GETPID_PASS_PPID - pass parent pid in getpid()
EMUL_GETID_PASS_EID - pass also effective id in get[ug]id()
2000-12-01 17:59:12 +00:00
tsutsui
a8fdbdec1c
Remove unused pcbb() macro.
2000-12-01 17:57:43 +00:00
eeh
bf3bbac849
Don't allow pmap_collect() to run on the kernel pmap since it will
...
undo the work of pmap_growkernel().
2000-12-01 17:17:29 +00:00
bjh21
cb5273b547
First attempt at an EtherH driver. Can just about transmit and receive
...
packets. Interrupt enabling is left to the RISC OS driver, medium selection
is untested and it's hard-wired to the MAC address of my card. Not really
for production use.
2000-12-01 14:28:36 +00:00
jdolecek
798f64c85b
put linux_sys_uselib() to separate file linux_uselib.c
2000-12-01 13:49:35 +00:00
jdolecek
81f0543ba6
fix the emulation path
2000-12-01 13:21:37 +00:00
jdolecek
30760da04a
no need to define emul_osf1, <compat/osf1/osf1_exec.h> defines it for us now
...
set execsw[] entrys' priority to appropriate values
2000-12-01 12:57:55 +00:00
jdolecek
02f3b54d49
struct execsw: rename es_flags to es_prio, provide defines
...
EXECSW_PRIO_ANY, EXECSW_PRIO_FIRST, EXECSW_PRIO_LAST to mark
entry's priority
2000-12-01 12:56:25 +00:00
jdolecek
28c12f0c39
provide extern const struct emul emul_osf1
2000-12-01 12:51:03 +00:00
jdolecek
01040d97a2
add e_path (emulation path) to struct emul, which replaces emulation-specific
...
*_emul_path variables
change macros CHECK_ALT_{CREAT|EXIST} to use that, 'root' doesn't need
to be passed explicitly any more and *_CHECK_ALT_{CREAT|EXIST} are removed
change explicit emul_find() calls in probe functions to get the emulation
path from the checked exec switch entry's emulation
remove no longer needed header files
add e_flags and e_syscall to struct emul; these are unsed and empty for now
2000-12-01 12:28:30 +00:00
chs
eeabe3f90d
make sure that pages are on an paging queue before unlocking them.
2000-12-01 09:54:42 +00:00
chs
024f8bed4a
add new uvmexp fields for uvmexp_print().
2000-12-01 09:48:56 +00:00
mrg
7af8b6448c
in netbsd32_elf32_probe(), 'pos' is really a pointer to an Elf_Addr, not a
...
vaddr_t. cast the pointer before dereferencing it to avoid the alignment
fault that broke compat_netbsd32, cuz pos is defined like:
Elf_Addr phdr = 0, pos = 0;
in exec_elf32.c.
2000-12-01 08:59:02 +00:00
soren
ff0f7c1ab4
No longer used.
2000-12-01 07:56:18 +00:00
soren
2cc519bba5
<pc/display.h> has been moved to <dev/ic/pcdisplay.h>.
2000-12-01 07:55:10 +00:00
chs
b3dcb62708
fix merge error: ext2fs uses a custom balloc rather than a VOP-style one.
2000-12-01 07:02:40 +00:00
augustss
a51ea43fd6
Make this compile again (on i386).
2000-12-01 04:37:54 +00:00
simonb
8e32f3794d
Remove trailing , from last enum element.
2000-12-01 02:07:04 +00:00
scw
97490c9997
Add __attribute__((__packed__)) to cpu_disklabel to get around
...
the ELF padding/alignment constraints.
2000-12-01 00:02:22 +00:00
scw
75f2f8f242
Delete an extraneous underscore in the last commit.
2000-11-30 23:47:45 +00:00
pk
d736ce5086
We don't need <sys/proc.h>, <sys/user.h> and <machine/cpu.h>.
2000-11-30 23:21:39 +00:00
pk
55fa60c3e5
De-__P().
2000-11-30 23:12:43 +00:00
pk
58b6f2ef7d
KNF patrol && De-__P().
2000-11-30 23:06:44 +00:00
pk
03903e1da8
KNF patrol.
2000-11-30 23:01:03 +00:00
scw
bd8955b9b6
Only try to attach those devices which have been configured
...
in the kernel config file.
2000-11-30 22:54:31 +00:00
scw
c4a189ad74
Print some more details of the memory managed by each ASIC.
2000-11-30 22:51:35 +00:00
scw
ba98135ea8
Add EXEC_ELF32
2000-11-30 22:31:27 +00:00
scw
7051df32f5
Support booting an ELF kernel, plus numerous tweaks due to
...
the gas.new/ELF transition.
2000-11-30 22:26:26 +00:00
scw
9121962f0e
Copy the syscall return value into A0, as per the SVR4 ABI.
...
Also prepare for COMPAT_AOUT_M68K.
2000-11-30 21:29:11 +00:00
scw
d3251e5074
Prepare to switch mvme68k bootloader over to the MI loadfile().
2000-11-30 21:20:43 +00:00
scw
7248616dee
Ditch an extra % in a register prefix, and s/a6/fp/
2000-11-30 21:18:07 +00:00
scw
71ca01981e
Prepare for the m68k ELF transition:
...
o Add register prefixes for the benefit of gas.new
o Wrap global symbols in the m68k/asm.h macros
o Fix `#' comments so the source can be run through the C pre-processor
2000-11-30 21:00:51 +00:00
bjh21
9307dc5373
Reduce default UBC_NWINS to save precious KVM.
2000-11-30 20:59:36 +00:00
nathanw
be487a2752
Set doreallocblks=1 here.
2000-11-30 20:56:53 +00:00
nathanw
aa215181ce
Don't set the value of doreallocblks here; it's defined over in vfs_cluster.c
...
In fact, doreallocblks isn't used here at all. Delete the declaration.
2000-11-30 20:56:10 +00:00
jdolecek
861369604d
change vfs.ffs.doreallocblks to 1 by default - this does not have
...
aby bad symptoms any more, fix for bug causing problems with this
option was in BSD4.4-Lite2 and pulled in together with softdep changes
See also Keith Smith & Margo Seltzer's paper on the topic at
http://www.eecs.harvard.edu/~keith/papers/realloc.ps.gz
2000-11-30 19:46:02 +00:00
jdolecek
50d91bb255
fix typo - it should be compat_09_netbsd32_uname, not compat_09_netbsd32_ouname
2000-11-30 19:19:43 +00:00
jdolecek
e8fcbc2bf1
always include netbsd32_ntp_adjtime(), LKMify
2000-11-30 19:17:56 +00:00