Commit Graph

95099 Commits

Author SHA1 Message Date
fvdl
c2bf6c9615 Split off the backend of the shmat system call, and find removed segments
if requested. This enables the linux compat code to be bug compatible
(under Linux, shmat() to a removed segment works).
2002-04-03 11:53:01 +00:00
fvdl
9edfbd43ca Add prototype for shmat1() 2002-04-03 11:50:51 +00:00
msaitoh
55aa2c46b9 sync with i386/include/pmap.h rev. 1.45:
make dangerous pmap_copy() and pmap_move() no-op.
2002-04-03 10:38:51 +00:00
msaitoh
66227882a3 sync with i386/i386/pmap.c rev. 1.94:
make dangerous pmap_copy() and pmap_move() no-op.
2002-04-03 10:37:48 +00:00
lukem
06d7c45c38 Add support for alpha, based on {vax,pmax}.c and
sys/arch/alpha/stand/installboot.
XXX: not fully tested yet.
2002-04-03 10:21:01 +00:00
fvdl
7fc44e13a8 Allocate the right size for the native gid_t array in setgroups16. 2002-04-03 10:17:01 +00:00
fvdl
8cc2d64d7a Include opt_malloc_debug.h so that debug_malloc will actually be used
when enabled, thankyouverymuch.
2002-04-03 09:45:22 +00:00
martti
3c53e00e43 Don't remove ip_h323_pxy.c 2002-04-03 09:32:06 +00:00
lukem
c37fa0cedc Migrate MD files to arch/ subdir. Suggested by Hubert Feyrer. 2002-04-03 09:09:01 +00:00
simonb
8bcefa5e82 Fix a typo that stopped this compiling in the !LKM case.
Remove the buf2 variable from sysctl_sysvipc(), which was only ever
 assigned to but not used.
2002-04-03 08:06:17 +00:00
lukem
33fb8521d4 Switch from "${DESTDIR}/usr/mdec/installboot" to "${INSTALLBOOT} -m ${MACHINE}"
so now at least that step is cross-buildable.
2002-04-03 06:38:26 +00:00
lukem
3d78281f15 Add pmax installboot back-end; from vax.c and arch/pmax/stand/installboot/*.
XXX: not tested yet.
2002-04-03 06:34:31 +00:00
lukem
36e058bfe4 whitespace foo 2002-04-03 06:29:11 +00:00
lukem
f8df2d6332 remove boot_block stuff from include/disklabel.h, and migrate to
alpha_boot_block stuff in dev/dec/dec_boot.h
2002-04-03 06:16:01 +00:00
lukem
96bc0c5a0c not needed now MI ${INSTALLBOOT} appears to work for vax 2002-04-03 06:09:00 +00:00
lukem
55fb513e95 switch to "${INSTALLBOOT} -m vax" 2002-04-03 06:06:43 +00:00
lukem
138523b976 enable installboot 2002-04-03 06:03:35 +00:00
lukem
0f02c34165 add nbinstallboot 2002-04-03 06:02:03 +00:00
lukem
93c03c6edc replace machines.c rebuild with "regenmachines", which needs to be run
manually
2002-04-03 05:58:44 +00:00
thorpej
e96da4cdff Fetch the memory size from the NeTTrom boot info. 2002-04-03 05:37:33 +00:00
thorpej
4de06fbd8a Fix some of the boot info fields. 2002-04-03 05:37:00 +00:00
lukem
266f41b284 add INSTALLBOOT. sort some entries in bsd.sys.mk 2002-04-03 05:32:58 +00:00
lukem
07e4618075 Machine independent "unified" installboot(8).
Currently only supports vax, with more MD back-ends to be added RSN.
2002-04-03 05:21:16 +00:00
thorpej
ce4a4a40de Add COMPAT_LINUX. 2002-04-03 04:23:04 +00:00
jmc
a3c3d336ee Only dump the rom up to ab_retlen in error cases. Also add in
P1212_ALLOW_VENDOR_DIRECTORY_TYPE to the flags passed to the p1212 parser
2002-04-03 04:15:59 +00:00
lukem
38b5c3b216 - Add alpha boot block info, derived from sys/arch/alpha/include/disklabel.h,
adding "alpha_" / "ALPHA_" prefix to items as appropriate.  Rename
  CHECKSUM_BOOT_BLOCK() -> ALPHA_BOOT_BLOCK_CKSUM().  Add cgd's copyright
  from disklabel.h.
- Clean up a couple of comments.
2002-04-03 04:05:05 +00:00
simonb
ccc73cca48 Put a couple of variables in the data section, not the sdata section. 2002-04-03 04:04:31 +00:00
simonb
6fbaedb430 Use the new 2way mips{32,64} cache ops. 2002-04-03 03:55:07 +00:00
simonb
67fd901d75 Include 2way cache ops for mips{32,64} CPUs. 2002-04-03 03:51:00 +00:00
simonb
078e9477f0 Add prototype for badaddr64(). 2002-04-03 03:48:33 +00:00
simonb
85c30a703d Remove a commented-out debug printf. 2002-04-03 03:47:53 +00:00
christos
abf0491189 fix the error message to print the correct value. Pointed out by Richard Rauch 2002-04-03 03:32:50 +00:00
thorpej
2abf991267 Add kerfs, procfs, fdesc. 2002-04-03 03:25:55 +00:00
thorpej
474e346cb1 Add /sbin/fdisk. 2002-04-03 03:18:47 +00:00
thorpej
34525f12a8 Build fdisk(8) on netwinder. 2002-04-03 03:17:36 +00:00
groo
7a1f1869d1 Reduce free inode count by one so ramdisk-big builds. 2002-04-03 03:12:28 +00:00
thorpej
7667f320c2 Implement elf32_arm_object_p(). 2002-04-03 02:59:13 +00:00
thorpej
bb534232a9 Give the console entry the "default" gettytab entry. 2002-04-03 02:31:32 +00:00
thorpej
bfca87bb38 Clean up Netwinder bootstrap:
* Put the code that runs with the MMU off in a separate section (.start).
* Use a linker script to set the VMA/LMA appropriately for each section.
* Fix kernel page table allocation and mapping of kernel text/data/bss.

...and now that kernel images > 2MB work:
* Add SYMTAB_SPACE to the GENERIC kernel so that we have DDB symbols.
* Use dbsym to load the kernel's DDB symbol area.
2002-04-03 02:06:33 +00:00
reinoud
d6a3919c2c In analogy to L2_LPAGE_SIZE add L2_SPAGE_SIZE .... 2002-04-03 00:46:53 +00:00
wrstuden
a36c34f662 In the SETATTR code, if the changes to a & m time are exclusively
set via NFSV3SATTRTIME_TOSERVER and not NFSV3SATTRTIME_TOCLIENT,
add VA_UTIMES_NULL to the va_vflags. This reflects our policy
where we're much more liberal about who can set a & m times to 'now'
than we are about who can set them to a specific time.

Should close PR 15597 from Martin Husemann. Patch is based on the
one Matthias Drochner gave in the PR.
2002-04-03 00:20:15 +00:00
christos
1a0ee78709 make sure that we don't die if attach fails and we pull the card. 2002-04-03 00:18:31 +00:00
matt
f8b9dbe468 Add some MPC745x L3CR cache definitions. 2002-04-03 00:12:41 +00:00
matt
830666e31e Clean the icache for pages when they are entered as executable and before
they were either not mapped at all or mapped as non-executable.  Round
memory regions in pmap_bootstrap.
2002-04-03 00:12:07 +00:00
matt
7e121bd39d Properly print out 745x cache information. 2002-04-03 00:09:52 +00:00
rafal
8fcad97302 Fix up linux a.out compat entry after move of emul-related sysctl handler
to struct emul.
2002-04-02 23:56:17 +00:00
christos
fa33d13de9 Don't blow up if we don't have a machine dependend linux_signal.h.
kdump includes linux_signo.c
2002-04-02 23:25:07 +00:00
lukem
41b068f7f4 Revert previous, and add back "utils" to SUBDIRS.
I accidentally committed the previous rev with the wrong commit message
(thanks go to Nick Hudson <skrll@netbsd.org> for picking this up).
Eventually we will probably want to stop descending into utils, but
now is not that time.
2002-04-02 22:36:59 +00:00
christos
1303311a31 don't forget to set fs and gs in the signal handler context. this needs
to be pulled up.
2002-04-02 22:33:19 +00:00
christos
eda21311fd save/restore fs and gs; this should be pulled up. 2002-04-02 22:32:16 +00:00