| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
with pointers smaller than u_longs, and 2 possibly-truncating casts in
the same printf).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Presumably VTOP doesn't work for static objects.
The easiest way to get it working was to reserve some space after the
environment strings and copy the bootinfo struct there.
Also, set RB_BOOTINFO, it's needed.
I got the code to load and run an unmolested kernel OK for the first time
with this system a few minutes ago - at last!. I did have to stop it
looking at the floppy though as BTX was trapping a mode 14 fault when
it look for /boot/boot.conf when no disk was in the drive. (I'm booting
from a scsi disk (bios disk 0x80)).
Now to teach it about ELF and modules :-)
|
|
|
|
| |
to ensure 32-bit variables. Doing so broke ix86's with 64-bit longs.
|
|
|
|
|
|
| |
they are deleted, so inodes must be cleared when they are reused, but
we didn't clear the indirect blocks. This caused serious filesystem
corruption.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Unlock mailbox interface if we have a new card. Before only newer cards
(B or newer) that had the BIOS disabled would probe. Cards with the
BIOS enabled would fail to probe in the mailbox initialization code.
o Increase the number of ccbs and sg to 17 from 16 to support 64k I/O
on a non page aligned boundary. Ideas for dynamic determination of this
value welcomed, as more of these are better.
o Took credit for this driver, even though I derived it from Justin's code.
Made sure that Justin's copyright from bt.c was preserved, along with
his name, since the error handling code is nearly identical. Add my
own, identical copyright. Point people to aha_isa.c.
Cards tested: 1542C and 1542CF. The B and CP might work now as well,
but logistical problems precluded me from testing them this evening
(if you have jumper settings for the B card, please send me private
mail).
|
| |
|
|
|
|
| |
must be withing the same PAGE frame
|
|
|
|
| |
This is only for standard modes, I don't check vesa modes yet.
|
| |
|
|
|
|
| |
Submitted by: "Sergey V.Dorokhov" <svd@kbtelecom.nalnet.ru>
|
|
|
|
| |
in an overrun situation.
|
| |
|
| |
|
| |
|
|
|
|
| |
Bytes of extended memory = (extkb * 1024), not (extkb + 1024)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
seen in practice. The MPspec is ambiguous and/or contradicts itself.
We now look at the ELCR to determine the trigger mode (edge/level) of an
interrupt tagged as "conforming" in the mptable. EISA interrupts appear
to be presented to the APIC as active high in all cases (they are level
inverted) that we've seen, so use this for the 'conforming' level case.
Of note, the system I'm using has 2 PCI cards in it, and the PCI cards
interrupts (5 and 9) appear in the ELCR register as level sensitive and the
mptable lists 5 and 9 as coming from the EISA bus. The PCI interrupts
are active-high by the time they reach the APIC even though they are
electrically active low at the slot.
We should still work should somebody implement this on motherboards
differently in the future as long as the mptable is clear about the
trigger/polarity.
Current should work on Holm Tiffe's machine now.
Based on code from: Tor.Egge@fast.no
|
|
|
|
|
|
|
| |
here for getting the #defines for the removal of the leading '_' in symbols
in the assembler code. We could probably #include <machine/asnames.h>
instead, but everything else seems to use asmacros.h directly as well.
Once we convert symbols, this becomes irrelevant.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Submitted by: Chris Csanady
|
| |
|
| |
|
|
|
|
|
|
|
| |
fix the 50% idle problem that the ELF /sbin/init triggered. The problem
appeared when the last context switch before a fork() call was due to
the kernel faulting in user pages via normal page faults (e.g. copyin).
Reviewed by: Peter Wemm <peter@netplex.com.au>
|
|
|
|
| |
for a vm86 call under SMP.
|
|
|
|
| |
Submitted by: John Dyson <toor@dyson.iquest.net>
|
|
|
|
|
| |
Pointer out by: Ben Smithurst <ben@scientia.demon.co.uk> and
<des@freebsd.org>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
memory using simple pointers.
|
|
|
|
|
| |
struct ipovly (they don't exist anymore because they don't work when
pointers are 64bit).
|
| |
|
|
|
|
| |
onto the head revision. (mainly using sys/bus.h etc for alpha)
|
|
|
|
|
|
|
|
|
| |
syncs weren't optimized properly (they probably still aren't, but are bug
for bug compatible with ffs). These fixes are mostly academic, since
ext2fs is too broken to mount read-write (it apparently doesn't clear
indirect blocks).
Obtained from: mostly from Lite2
|
| |
|
|
|
|
|
|
| |
* Fix a raft of warnings, printf and otherwise.
* Allocate the correct amount in mod_searchmodule to prevent an overflow.
* Fix the makefiles so they work outside my home directory (oops).
|
|
|
|
|
|
|
| |
Fixed vnode and memory leaks after an unlikely (?) error in
ext2_mountfs().
Fixed an unconditional memory leak in ext2_unmount().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes for bugs not shared with ffs:
- don't mount unclean filesystems rw unless forced to.
- accept EXT2_ERROR_FS (treat it like !EXT2_VALID_FS). We still don't set
this or honour the maximal mount count.
- don't attempt to print the name of the mount point when mounting an
unclean file system, since the name of the previous mount point is
unknown and the name of the current mount point is still "".
Fixes for bugs shared with ffs until recently:
- don't set the clean flag on unmount of an initially-unclean filesystem
that was (forcibly) mounted rw.
- set the clean flag on rw -> ro update of a mounted initially-clean
filesystem.
- fixed some style bugs (mostly long lines).
The fixes are slightly simpler than for ffs, because the relevant on-disk
state is not a simple boolean variable, and the superblock has a core-only
extension.
Obtained from: parts from ffs_vfsops.c, parts from NetBSD
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- don't set the clean flag on unmount of an unclean filesystem that was
(forcibly) mounted rw.
- set the clean flag on rw -> ro update of a mounted initially-clean
filesystem.
- fixed some style bugs (mostly long lines).
This uses the fs_flags field and FS_UNCLEAN state bit which were
introduced in the softdep changes. NetBSD uses extra state bits in
fs_clean.
Reviewed by: luoqui
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- there were too many global variables (there still are :-).
- the data section was bloated by explicit initializations of static
variables to 0 (only fixed the recently changed ones).
- WRAPHIST() had silly parentheses around foo->bar.
- the comment about inline functions was stale.
- the comment about Userconfig presumes too much about the boot environment.
- `i' was reused confusingly in scioctl().
- the declaration of `butmap' used a deprecated K&R misfeature.
- the initializeation of `butmap' had an unnecessary line break.
- `unsigned char' was not consistently (mis)spelled as u_char.
- English was poor in a comment in videoio.c.
Submitted by: bde
|
|
|
|
|
| |
- Fix some external function declaration.
Submitted by: bde
|
|
|
|
|
| |
the default console.
Print malloc stats from the new libstand allocator.
|