Commit Graph

226 Commits

Author SHA1 Message Date
fvdl
3658055d88 Resurrect the REALBASEMEM and REALEXTMEM option for this port; they're
sometimes useful.
2003-03-25 00:09:27 +00:00
dsl
bd99e3429d Use 'void *' instead of 'caddr_t' in prototypes of VOP_IOCTL, VOP_FCNTL
and VOP_ADVLOCK, delete casts from callers (and some to copyin/out).
2003-03-21 23:11:19 +00:00
fvdl
6f16ef3a25 Strip some stuff that's not needed. 2003-03-20 22:30:53 +00:00
fvdl
b52610cf4a Limit the KVA used by buffers. 2003-03-20 22:30:28 +00:00
fvdl
93d2b9ee12 Add some underscores in curcpu() to avoid a -Wshadow. 2003-03-18 22:29:58 +00:00
fvdl
3306d06ea7 Don't use bitfields, make the fxsave structure packed instead. Makes
life a bit easier (for i.e. taking the address of a field).
2003-03-16 20:35:28 +00:00
fvdl
cc8c490f0c Adapt for changed struct reg 2003-03-16 16:26:58 +00:00
fvdl
f6215de412 Sync with other reg state structures. 2003-03-16 16:26:11 +00:00
fvdl
c5eb2581e1 Make struct sigcontext consistent with other regstate-holding structures. 2003-03-15 23:41:25 +00:00
fvdl
59a910ed6a Move the MTRR option to std.x86_64. 2003-03-08 00:08:46 +00:00
fvdl
02de215ad2 Add cpu* at mainbus. 2003-03-07 11:02:50 +00:00
fvdl
d2c1c747ec Remove last traces of pccons. 2003-03-06 23:21:36 +00:00
fvdl
167eeeab9c Update for kernel include changes. 2003-03-06 22:32:07 +00:00
fvdl
06114d8df6 Don't descend into ../i386/include anymore. 2003-03-06 22:22:55 +00:00
fvdl
00289f6f52 Put the correct value in the TPR before entering DDB. 2003-03-06 22:17:44 +00:00
fvdl
51c335ad9a Fixup DDB entry and register access. 2003-03-06 20:58:09 +00:00
fvdl
27e2af69da Call db_machine_init to set up the ddb ipi vector. 2003-03-06 00:47:00 +00:00
fvdl
4e5e707719 * Rework interrupt code
* Redirect some include files to x86
* Enable ioapic usage
* Do MP.
2003-03-05 23:55:57 +00:00
tshiozak
31e2cbf0b5 add some ISO C 1995 I18N functions and types:
btowc, wctrans, towctrans, wcscoll, wcsxfrm, wctype_t and wctrans_t.
2003-03-02 22:18:11 +00:00
perseant
eab869e1c0 Make BRIDGE_IPF an option, and document it. Add it (commented) to GENERIC.
Let brconfig tell whether the bridge is using the ipfilter hook, or not.
2003-02-27 19:22:36 +00:00
fvdl
34cdc350a6 The mementry struct is packed by default now, remove lo/hi usage. 2003-02-26 21:32:20 +00:00
fvdl
c0f1fc2c3e Add various include files for MP; mostly redirects to x86/foo.h 2003-02-26 21:31:12 +00:00
fvdl
1fe3d0e71c Redirect a few includes to x86/foo.h 2003-02-26 21:29:34 +00:00
fvdl
e3a92065e8 Fix another off-by-one, this time in the current KVA limited as maintained
by pmap_growkernel.
2003-02-25 00:48:00 +00:00
fvdl
0ee308ef7e Fix up pmap_growkernel a bit to avoid off-by-one errors. 2003-02-23 02:44:44 +00:00
fvdl
49a9f4f666 Use BIOS memory info properly. Don't try to allocate areas > 4G out of
the IO extent, since it only spans 32 bits.
2003-02-23 02:43:25 +00:00
fvdl
feaeb437d4 Make COMPAT_NETBSD32 compile and work again (though not with SAs). 2003-02-19 00:37:33 +00:00
augustss
519f8f3d30 Add uax(4) (and url(4) in some cases). 2003-02-16 17:35:13 +00:00
nakayama
e3e4805068 Replace machine/rnd.h with more appropriate name to share it
with cycle counter based microtime in kern/kern_microtime.c.
2003-02-05 13:57:50 +00:00
fvdl
f26f133510 Don't deref l if it's NULL, please. 2003-01-30 22:45:20 +00:00
fvdl
aa0d12cace Use flag to indicate whether an LWP should return to userspace via
sysret (should it have entered through syscall), or via a plain
iret. This can be done more quicker and dirtier, but I've decided
against that for now.
2003-01-30 02:04:59 +00:00
fvdl
be932c1dc6 Add some optional debug goop. 2003-01-30 02:03:35 +00:00
fvdl
c795d68779 Add flag to indicate that an LWP should return to userspace via a normal
iret (not sysret).
2003-01-30 02:02:51 +00:00
kent
cd7d9faeaf Introduce BUS_DMA_NOCACHE, and bus_dmamem_map() of i386 supports it. 2003-01-28 01:07:51 +00:00
fvdl
f9765c27a4 Insert padding into mcontext_t to make the fp save area 16-byte aligned
within ucontext_t.
2003-01-26 19:34:49 +00:00
fvdl
ac0ea8f774 Rearrange the trapframe and mcontext to put the registers used for
argument passing to be in front, in order. Define constants for
offsets inside frames, to avoid having to redo asm code should they
change again.
2003-01-26 14:12:10 +00:00
fvdl
60f2388778 Do that funky SA thang. 2003-01-26 00:05:36 +00:00
simonb
276fd1665c The Double-Semi-Colon Police. 2003-01-20 05:29:53 +00:00
wiz
1035faff1d writable, not writeable. 2003-01-06 20:30:28 +00:00
lukem
4bb41ae2f2 Rework how KERNOBJDIR functions; now it's always determined with
cd ${KERNSRCDIR}/${KERNARCHDIR}/compile && ${PRINTOBJDIR}
This is far simpler than the previous system, and more robust with
objdirs built via BSDOBJDIR.

The previous method of finding KERNOBJDIR when using BSDOBJDIR by
referencing _SRC_TOP_OBJ_ from another directory was extremely
fragile due to the depth first tree walk by <bsd.subdir.mk>, and
the caching of _SRC_TOP_OBJ_ (with MAKEOVERRIDES) which would be
empty on the *first* pass to create fresh objdirs.

This change requires adding sys/arch/*/compile/Makefile to create
the objdir in that directory, and descending into arch/*/compile
from arch/*/Makefile.  Remove the now-unnecessary .keep_me files
whilst here.

Per lengthy discussion with Andrew Brown.
2003-01-06 17:40:18 +00:00
thorpej
98b0e9af47 Use aprint_normal() for cfprint routines. 2003-01-01 02:31:13 +00:00
manu
4a06119a9d Pass the system call table to trace_enter() and ktrsys() so that it is
possible to use alternate system call tables. This is usefull for
displaying correctly the arguments in Mach binaries traces.

If NULL is given, then the regular systam call table for the process is used.
2002-12-21 16:23:56 +00:00
fvdl
8cbcf0f7a3 Remove check for 32bit-only access of the old syscall path. 2002-12-13 17:44:13 +00:00
fvdl
81a877b0f1 Restore all registers at sigreturn. 2002-12-13 02:52:10 +00:00
fvdl
c4045d2838 Avoid strict-alias warning. 2002-12-10 20:45:31 +00:00
fvdl
ddb412e581 Define NFS_WSIZE and NFS_RSIZE as on i386. 2002-12-10 17:57:19 +00:00
thorpej
78ea2dd367 Use __LDPGSZ (which must be == USRTEXT) as the text address for a.out
executables, and eliminate the USRTEXT constant, which was only used
by the a.out exec code.
2002-12-10 05:14:24 +00:00
fvdl
cc2e1c4082 FIrst cut at INSTALL kernel. 2002-12-05 02:06:44 +00:00
fvdl
b59af86db6 Install atomic.h 2002-12-03 22:13:58 +00:00
fvdl
567d82224b Synch with i386 (pmap, naming schemes, cpu_info structure). 2002-12-03 22:03:01 +00:00