Commit Graph

365 Commits

Author SHA1 Message Date
reinoud
a92fdbbc53 Add commented out UDF file-system entry in all GENERIC configurations. 2006-02-02 21:32:08 +00:00
xtraeme
da63ffb9a6 Add ral(4) at pci/uhub and atu(4) at uhub. 2006-01-31 16:39:47 +00:00
kochi
0cdeab4c58 remove ACPI_DISABLE_ON_POWEROFF option, which was there just for
compatibility of our old driver behavior, which is not necessary.
2006-01-31 09:30:06 +00:00
dsl
67d47e0290 Change sys/arch/xxx/include/bswap.h to #include machine/byte_swap.h then
sys/bswap.h in order to pick up the MD inline routines and the constant
folding definitions in the right order.
Code can include either sys/bswap.h or machine/bswap.h with the same effect.
2006-01-31 07:49:18 +00:00
dsl
c88ae1f9ee Move all the stuff that detects bswapxx(constant) into the MI sys/bswap.h
Put the minimum to define the required inline assembler or C into the MD files.
NB: there may be some fallout from this!
2006-01-30 22:46:35 +00:00
dsl
2723c11bd9 Move the definitions of ntohl() and friends into sys/endian.h where they
are defined in terms of bswap32() and bswap16().
This makes the definition be in the same place for all systems regardless
of creed^Wendianness.
2006-01-30 21:52:38 +00:00
christos
606bb2caed free -> dealloc
unsigned -> size_t for alloc/dealloc
2006-01-25 18:28:25 +00:00
fvdl
4cc8486856 GDT data and code entries for 32bit mode should use VM_MAXUSER_ADDRESS32 2006-01-21 09:54:53 +00:00
christos
3ffa241fcd Add a STRONG_ALIAS macro 2006-01-20 22:02:40 +00:00
cube
a7a7ef8a54 ktrace-lwp fallout for SYSCALL_DEBUG. From Vasily Levchenko. 2006-01-20 00:10:33 +00:00
hamajima
e39c6d8223 fix compile error for ktrace-lwp. 2006-01-14 17:14:46 +00:00
cube
0ea99faebc Add support for VM_TOPDOWN, and use it unconditionally (just like i386).
For COMPAT_NETBSD32 binaries, use VM_TOPDOWN layout too, and sync some
parameters with their i386 counterpart.

OK'd by fvdl@.
2006-01-11 09:30:45 +00:00
dsl
58e614b1ca De __P
Add some 'struct xxx' definitions in the else part of a '#if 0' so that
the function prototypes later down the file don't define the structure
within the argument list.
2006-01-07 18:22:25 +00:00
xtraeme
668713f3d9 Enable rlphy(4). 2006-01-04 23:38:27 +00:00
jmmv
eb23406894 Add a 'struct bootinfo' to represent the bootinfo structure used in the
kernel by x86 platforms (instead of a simple char *).  This way, the code
in, e.g., lookup_bootinfo, is a bit easier to understand.

While here, move the lookup_bootinfo function used in x86 platforms (amd64,
i386 and xen) to a common file (x86/x86_machdep.c), as it was exactly the
same in all of them.
2005-12-30 13:37:57 +00:00
rjs
2ad16298b8 Add config for ACPI kernel. 2005-12-30 11:27:07 +00:00
perry
2d542ba1f8 inline -> __inline 2005-12-28 19:09:29 +00:00
perry
e7b322a5f7 inline -> __inline 2005-12-28 18:40:13 +00:00
chs
074111feef use panic() instead of cpu_reboot() for unhandled kernel traps. 2005-12-27 17:28:27 +00:00
chs
33d70de438 remove the COM_MPLOCK option. always include the spinlock in the softc
and always call the simple_* locking functions.  the locking functions
are compiled out if they are not needed anyway, so a separate option
for this doesn't gain anything.

this also fixes the serial console on my alpha ES40 (which doesn't make much
sense since the com driver should still be under the big lock on alpha,
but whatever).
2005-12-27 00:46:38 +00:00
perry
50a256a3a0 __asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
2005-12-24 23:23:59 +00:00
perry
2d65de2479 bare asm -> __asm 2005-12-24 22:45:33 +00:00
perry
5f1c88d70d Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:06:46 +00:00
rjs
46eed28b47 Add boilerplate for cardbus support. 2005-12-21 22:35:41 +00:00
thorpej
c97c3de6e9 Remove the tablet line discipline. 2005-12-20 05:35:27 +00:00
yamt
a1e02d70cd remove an unused file. 2005-12-18 05:31:08 +00:00
christos
95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
elad
4591e5acfd Add (commented out) Veriexec options and pseudo-device to GENERIC kernels,
and remove the i386 GENERIC_VERIEXEC config.
2005-12-09 23:34:01 +00:00
rjs
dc0571d75e Make it compile when not using KTRACE or SYSTRACE. 2005-12-07 19:02:36 +00:00
tsutsui
2a32b6081e Remove obsolete options VNODE_OP_NOINLINE. 2005-12-07 12:40:46 +00:00
tsutsui
ff9b47d69e Adjust comments for options FFS_NO_SNAPSHOT.
XXX: This option should be mentioned in options(4).
2005-12-07 09:10:11 +00:00
manu
7b98bb2b0b Linux does not use retval[1] 2005-12-01 14:19:22 +00:00
dsl
3b81c53b36 It seems that make doesn't like testing empty() on undefined variables.
Also objdump DTRT when asked to update a file, so no need to do a mv ourselves.
2005-11-30 21:50:47 +00:00
dsl
9a6cc769c9 If we are compiling with -fno-asynchronous-unwind-tables then also
remove the .eh_frame section from athhal-x86_64-elf.hal.o.
2005-11-27 13:30:27 +00:00
dsl
7baed7ef31 Compile with -fno-asynchronous-unwind-tables so that gcc doesn't generate
the .eh_frame data area that can be used to aid thr generation of stack
traceback - at a cost of a load of bloat!
Reinstate the isp driver.
Remove the unlikely-to-be-needed esh, lmc and ntwoc.
2005-11-27 13:08:50 +00:00
thorpej
cfc81086d9 swcr -> swcrypto 2005-11-25 16:41:31 +00:00
thorpej
7385cdd346 "pseudo-device crypto" really refers to the /dev/crypto API to the
opencrypto framework, not the framework itself.  Update the comment
accordingly.
2005-11-25 16:35:11 +00:00
thorpej
751f32db24 Add "pseudo-device swcr" (commented out if "pseudo-device crypto" is also
commented out).
2005-11-25 16:30:23 +00:00
dsl
b184d489b2 We don't need 'le' here, I'm not sure amd64 GENERIC deserves it either. 2005-11-24 20:06:53 +00:00
riz
5c2fb87e43 syscall_fancy() is only used if either KTRACE or SYSTRACE is defined,
so only compile it if one or the other is defined.  An amd64 INSTALL
kernel now compiles again.  :)

Approved by matt@ .
2005-11-13 00:14:57 +00:00
rpaulo
3de46f226c PR 31996: fix the comments for MPBIOS and MPACPI. By Damon Brodie. 2005-11-03 23:12:16 +00:00
christos
f1e915cc01 Split the linux syscall out to make the code easier to read and maintain. 2005-11-01 16:28:28 +00:00
manu
e326d4a34d Linux does not seems to set rdx on syscall exit. 2005-11-01 09:13:48 +00:00
dsl
76ed960bec Add sk ethernet as found on ASUS A8V.
Increase ramdisk to 5MB, costs virtually nothing.
2005-10-10 17:24:38 +00:00
dsl
3e17d26fb5 include "INSTALL" then modify it - so we get the same device 2005-10-10 15:40:37 +00:00
chs
94be8205d7 make this compile again. 2005-09-27 14:37:06 +00:00
chs
6a0a597fbf pull in changes from i386 profile.h:
- allow profiling of MP kernels, add a spinlock around the body of mcount().
   fixes PR 31360.
 - save and restore eflags instead of just doing cli/sti.
2005-09-22 15:47:03 +00:00
yamt
d597202302 make VMSWAP optional again. 2005-09-17 14:38:38 +00:00
yamt
7e71f567e4 include "conf/std". 2005-09-17 09:44:05 +00:00
chs
43070602ec need to include <compat/sys/ucontext.h> here. 2005-09-14 16:19:27 +00:00