Commit Graph

65300 Commits

Author SHA1 Message Date
dillon
198df63868 Add huff __FBSDID()s puff to whew! libz 2001-09-30 22:39:00 +00:00
dillon
ae3a4e3b01 Add __FBSDID()s to liby 2001-09-30 22:36:18 +00:00
dillon
3f4eabe659 Add __FBSDID()s to libutil 2001-09-30 22:35:07 +00:00
dillon
35945dc1b7 Add __FBSDID()s to libusb 2001-09-30 22:30:55 +00:00
dillon
615806b0ec Add __FBSDID()s to libtelnet 2001-09-30 22:30:15 +00:00
dillon
1788c68652 Add __FBSDID()s to libtacplus 2001-09-30 22:29:19 +00:00
dillon
f6666a61a9 Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
dillon
2dd900a9ef Add __FBSDID()s to librpcsvc 2001-09-30 22:15:15 +00:00
dillon
42cae7582d Add __FBSDID()s to libradius 2001-09-30 22:12:36 +00:00
dillon
fcad02973f Add __FBSDID()s to libpam 2001-09-30 22:11:06 +00:00
obrien
ff4992fd7c Fix the problem that the startup directory is printed out if it
is empty.

Submitted by:	Udo Schweigert <udo.schweigert@siemens.com>
2001-09-30 22:07:19 +00:00
dillon
a437a2e49d Add __FBSDID()s to libopie 2001-09-30 22:04:49 +00:00
dillon
d73daa7317 Add __FBSDID()s to libnetgraph 2001-09-30 22:03:54 +00:00
dillon
4bd4e36960 Add __FBSDID()s to libncurses 2001-09-30 22:02:43 +00:00
dillon
8411ee0def Add __FBSDID()s to libncp 2001-09-30 22:01:19 +00:00
dillon
147ed5d738 Add __FBSDID()s to libmp 2001-09-30 21:58:17 +00:00
dillon
ed504fcccb add __FBSDID()s to libmd 2001-09-30 21:56:22 +00:00
dillon
f844085713 Add __FBSDID()s to libm 2001-09-30 21:53:45 +00:00
dillon
863b71fe4c Add __FBSDID()s to libipx 2001-09-30 21:45:06 +00:00
dillon
06293dece1 Add __FBSDID()s to libipsec 2001-09-30 21:43:45 +00:00
dillon
b05076f6b7 Add __FBSDID()s to libio 2001-09-30 21:41:46 +00:00
dillon
3122839604 Add missing '*/' (? why wasn't this caught earlier?) 2001-09-30 21:39:44 +00:00
dillon
1798b679e2 Add __FBSDID()s to internal libgnumalloc() 2001-09-30 21:38:17 +00:00
dillon
9a8dd80b42 Add __FBSDID()s to libftpio 2001-09-30 21:36:38 +00:00
dillon
9e8adf09a9 Add __FBSDID()s to libfetch 2001-09-30 21:36:09 +00:00
jake
a1ba6bed67 Add identcpu.c. 2001-09-30 21:35:32 +00:00
dillon
a42c99f236 Add __FBSDID()s to libedit 2001-09-30 21:21:36 +00:00
dillon
4015450ecd Add __FBSDID()s to libdisk 2001-09-30 21:16:57 +00:00
dillon
29ab59ceb1 Add __FBSDID()s to libcam 2001-09-30 21:13:43 +00:00
dillon
e041f12187 Add __FBSDID's to libcalendar 2001-09-30 21:09:57 +00:00
dillon
2cea915f9c __FBSDID() Cleanup 2001-09-30 21:06:00 +00:00
dillon
384d1b2861 Add __FBSDID's to libalias 2001-09-30 21:03:33 +00:00
jake
6815a9f859 Add contents to struct *reg. 2001-09-30 19:59:07 +00:00
jake
cbc8263434 Optimize bcopy and bzero etc to use 64 bit loads and stores if possible.
Handle overlap in bcopy.
Add routines for copying and zeroing pages using physical addresses
directly.
Remove all the hacks to account for calling the firmware on its own
trap table, we use the kernel trap table.  There is still a problem
with OF_exit().
2001-09-30 19:50:39 +00:00
jake
5e37317159 Use %ver to identify the cpu instead of openfirmware.
Submitted by:	robert
2001-09-30 19:45:34 +00:00
jake
31f25c3f3d Remove some debug code, add traces. 2001-09-30 19:44:19 +00:00
jake
e0d2d2b6d0 Return EIO for procfs_*_dbregs. 2001-09-30 19:43:18 +00:00
des
8f0a1f0a27 Specify readability and / or writeability for all nodes that need it. 2001-09-30 19:42:41 +00:00
jake
9ace52fc69 Add a place holder for PSTATE_SECURE, which detects if user code it
trying to set bad pstate bits.
2001-09-30 19:42:34 +00:00
des
27969af894 pseudofs.h:
- Rearrange the flag constants a little to simplify specifying and testing
    for readability and writeability.

pseudofs_vnops.c:

  - Track the aforementioned change.

  - Add checks to pfs_open() to prevent opening read-only files for writing
    or vice versa (pfs_{read,write} would block the actual reads and writes,
    but it's still a bug to allow the open() to succeed).  Also, return
    EOPNOTSUPP if the caller attempts to lock the file.

  - Add more trace points.
2001-09-30 19:41:29 +00:00
jake
9f3535edc7 Split the low level trap code into trap, interrupt and syscall, its
easier and hopefully this code is done changing radically.

Don't use the mmu tlb register to address the kernel page table, nor
the 8k pointer register.  The hardware will do some of the page table
lookup by storing the the base address in an internal register and
calculating the address of the tte in the table.  However it is limited
to a 1 meg tsb, which only maps 512 megs.  The kernel page table only
has one level, so its easy to just do it by hand, which has the advantage
of supporting abitrary amounts of kvm and only costs a few more instructions.

Increase kvm to 1 gig now that its easy to do so and so we don't waste
most of a 4 meg page.

Fix some traces.  Fix more proc locking.

Call tsb_stte_promote if we get a soft fault on a mapping in the upper
levels of the tsb.  If there is an invalid or unreferenced mapping
in the primary tsb, it will be replaced.

Immediately fail for faults occuring in {f,s}uswintr.
2001-09-30 19:41:20 +00:00
jake
8b63e53025 Implement sysarch(). 2001-09-30 19:06:45 +00:00
jake
fdfc3c2c60 Fix some traces. td->p_comm doesn't exist. 2001-09-30 19:05:30 +00:00
jake
d495dd131c Move the kernel to end of the first 4 gigabytes of address space, so that
one 4 meg page can map both the kernel and the openfirmware mappings.
Add the openfirmware mappings to the kernel tsb so we can call the firmware
on the kernel trap table and access kernel memory normally.
Implement pmap_swapout_proc, pmap_swapin_proc, pmap_swapout_thread,
pmap_swapin_thread, pmap_activate, pmap_page_exists, and pmap_phys_address.
2001-09-30 19:03:22 +00:00
jake
ac0e71fb28 Add a macro to get the context from a tte tag, not necesarily a whole
tte.  Remove the old inline.
2001-09-30 18:55:05 +00:00
jake
c552424869 Include <machine/setjmp.h> instead of <setjmp.h>. 2001-09-30 18:52:56 +00:00
jake
f6a5e3f810 Don't use types that require other headers. 2001-09-30 18:52:17 +00:00
jake
539ccfaeb2 Wrap hardware trap types in ifdef _kernel. 2001-09-30 18:51:18 +00:00
jake
0faa0047f4 Move the pcb the to the top of the kernel stack.
Add a guard page at the bottom of the kernel stack.  Its unclear how easy
it will be to detect these faults and do something useful.
Setup the registers on exec how the c runtime expects.
Implement various {fill,set}_*regs.
Fix proc locking.
2001-09-30 18:48:37 +00:00
jake
de1928a0bc Don't overflow the ktr buffer <gulp>. 2001-09-30 18:42:56 +00:00