| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
are no longer limited to a virtual address space of 16 megabytes,
only mask high two bits of a virtual address. This allows to load
larger kernels (up to 1 gigabyte). Not masking addresses at all
was a bad idea on machines with less than >3G of memory -- kernels
are linked at 0xc0xxxxxx, and that would attempt to load a kernel
at above 3G. By masking only two highest bits we stay within the
safe limits while still allowing to boot larger kernels.
(This is a safer reimplmentation of sys/boot/i386/boot2/boot.2.c
rev. 1.71.)
Prodded by: jhb
Tested by: nyan (pc98)
Notes:
svn path=/head/; revision=163765
|
| |
|
|
| |
Notes:
svn path=/head/; revision=163708
|
| |
|
|
|
|
|
|
|
|
| |
rev. 1.58. (This only costs us four bytes.)
Prodded by: bde
MFC after: 3 days
Notes:
svn path=/head/; revision=163707
|
| |
|
|
|
|
|
|
|
| |
OK'ed by: jhb
PR: i386/96430, i386/104709
MFC after: 3 days
Notes:
svn path=/head/; revision=163706
|
| |
|
|
| |
Notes:
svn path=/head/; revision=163617
|
| |
|
|
| |
Notes:
svn path=/head/; revision=163598
|
| |
|
|
| |
Notes:
svn path=/head/; revision=163597
|
| |
|
|
| |
Notes:
svn path=/head/; revision=163596
|
| |
|
|
| |
Notes:
svn path=/head/; revision=163595
|
| |
|
|
| |
Notes:
svn path=/head/; revision=163542
|
| |
|
|
|
|
|
|
|
|
|
| |
Massive update. The highlights:
o dramatically cut memory usage by writing better, less intertwingled
code.
o implement booting off mmc/sd cards (sd only tested one at the moment)
o start to split out board specific stuff for boot2.
Notes:
svn path=/head/; revision=163533
|
| |
|
|
|
|
|
|
|
| |
PR: docs/85127
Submitted by: Gary W. Swearingen (partially)
MFC after: 3 days
Notes:
svn path=/head/; revision=163327
|
| |
|
|
|
|
|
| |
Approved by: rwatson (mentor)
Notes:
svn path=/head/; revision=163154
|
| |
|
|
|
|
|
|
|
|
|
| |
re-add accidentally deleted asi value
remove sun4v only header include
Approved by: rwatson (mentor)
Reviewed by: jmg
Notes:
svn path=/head/; revision=163151
|
| |
|
|
|
|
|
|
|
| |
Approved by: rwatson (mentor)
Reviewed by: jmg
Tested by: kris, dwhite, and jmg
Notes:
svn path=/head/; revision=163145
|
| |
|
|
|
|
|
|
| |
Submitted by: Rob <spamrefuse@yahoo.com> on freebsd-doc
MFC after: 3 days
Notes:
svn path=/head/; revision=163070
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
commits. For some reason I thought the scale factor was a shift count
rather than the multiplicand (that is, I thought leal (%eax,%edx,4) was
going to generate %eax + %edx << 4 rather than %eax + %edx * 4). What
I need is to multiply by 16 to convert a real-mode (seg, offset) tuple
into a flat address. However, the max multiplicand for scaled/index
addressing on i386 is 8, so go back to using a shl and an add.
- Convert two more inter-register mov instructions where we don't need to
preserve the source register to xchg instructions to keep our space
savings.
Tested by: Ian FREISLICH if at hetzner.co.za
MFC after: 1 week
Notes:
svn path=/head/; revision=163032
|
| |
|
|
|
|
|
| |
- snd_hda(4)
Notes:
svn path=/head/; revision=162934
|
| |
|
|
| |
Notes:
svn path=/head/; revision=162890
|
| |
|
|
| |
Notes:
svn path=/head/; revision=162815
|
| |
|
|
| |
Notes:
svn path=/head/; revision=162814
|
| |
|
|
|
|
|
|
|
| |
warnings set weird or something because gcc didn't warn about this at all.
Submitted by: ru
Notes:
svn path=/head/; revision=162813
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
another 16 bytes off of BTX (and thus boot2):
- Compare against the value of %eax that is saved on the stack instead of
loading it into %eax (which requires saving the current %eax on the
stack).
- Use %ch to examine the keyboard flag state in the BIOS to see if
Ctrl-Alt-Del is pressed instead of %al so we don't have to save %eax on
the stack anymore.
MFC after: 1 week
Notes:
svn path=/head/; revision=162745
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BTX (and thus boot2):
- Don't bother saving %eax, %ebx, or %ecx as it is not necessary.
- Use a more compact sequence to load the base value out of a GDT entry
by loading the contiguous low 24 bits into the upper 24 bits of %eax,
loading the high 8 bits into %al, and using a ror to rotate the bits
(2 mov's and a ror) rather than loading the pieces in smaller chunks
(3 mov's and a shl).
- Use movzwl + leal instead of movl + movw + shll + addl.
- Use 'xchgl %eax,%foo' rather than 'movl %eax,%foo' for cases where
it's ok to trash %eax. xchgl %eax, foo is a 1-byte opcode whereas the
mov is a 2-byte opcode.
- Use movzwl rather than xorl + movw.
MFC after: 1 week
Notes:
svn path=/head/; revision=162744
|
| |
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=162743
|
| |
|
|
|
|
|
|
|
|
| |
Otherwise, merge-help can get confused by a command description that
includes a word that starts with a capital S.
MFC after: 1 week
Notes:
svn path=/head/; revision=162742
|
| |
|
|
|
|
|
|
| |
16-byte aligned within boot2 however, this actually trims boot2 by 16
bytes.
Notes:
svn path=/head/; revision=162737
|
| |
|
|
|
|
|
| |
as i386 would do.
Notes:
svn path=/head/; revision=162717
|
| |
|
|
|
|
|
|
|
|
|
| |
rather than just emulating mov cr0, eax. This fixes some Compaq/HP BIOS
with DMA (as the BIOS tried to read cr3 so it could translate addresses
if paging was enabled).
MFC after: 1 week
Notes:
svn path=/head/; revision=162710
|
| |
|
|
|
|
|
|
|
| |
sync() and sync_fsync() without losing MNT_ASYNC. Add MNTK_ASYNC flag
which is set only when MNT_ASYNC is set and mnt_noasync is zero, and
check that flag instead of MNT_ASYNC before initiating async io.
Notes:
svn path=/head/; revision=162649
|
| |
|
|
|
|
|
|
|
|
|
| |
- Make the PROBE_KEYBOARD option better resemble the -P option in
boot2, i.e., if keyboard isn't present then boot with both
RB_SERIAL and RB_MULTIPLE set.
Reviewed by: jhb
Notes:
svn path=/head/; revision=162046
|
| |
|
|
|
|
|
|
|
| |
screen's width, thus eliminating a groff(1) warning.
Suggested by: marck
Notes:
svn path=/head/; revision=161471
|
| |
|
|
| |
Notes:
svn path=/head/; revision=161454
|
| |
|
|
| |
Notes:
svn path=/head/; revision=161453
|
| |
|
|
| |
Notes:
svn path=/head/; revision=161452
|
| |
|
|
|
|
|
| |
Suggested by: ru (ixgb)
Notes:
svn path=/head/; revision=161449
|
| |
|
|
| |
Notes:
svn path=/head/; revision=161448
|
| |
|
|
|
|
|
|
|
|
| |
Touch .Dd.
Pointed out by: ru
MFC after: 1 week
Notes:
svn path=/head/; revision=161431
|
| |
|
|
|
|
|
|
|
| |
PR: 100427
Approved by: maxim
MFC after: 1 week
Notes:
svn path=/head/; revision=161429
|
| |
|
|
| |
Notes:
svn path=/head/; revision=161379
|
| |
|
|
| |
Notes:
svn path=/head/; revision=161370
|
| |
|
|
|
|
|
|
| |
Tidy up a bit. Make sure that the burned image matches the downloaded
one.
Notes:
svn path=/head/; revision=161369
|
| |
|
|
|
|
|
| |
Simplify life a little for such a simple program.
Notes:
svn path=/head/; revision=161368
|
| |
|
|
|
|
|
|
|
|
|
| |
- Added missing file system/network/sound module entries
- Removed obsolete network module entries
- Capitalized (Fast|Gigabit) Ethernet
MFC after: 1 week
Notes:
svn path=/head/; revision=161286
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
8k boundary with this program still.
text data bss dec hex filename
7925 4 4476 12405 3075 bootiic.out
so we have like 293 bytes left before we have to play games. There
may be ways to reduce that somewhat, but they start to be very board
specific.
Notes:
svn path=/head/; revision=161202
|
| |
|
|
|
|
|
|
|
| |
Reach over into the arm tree to grab some at91 definitions.
Better warnings
Lots of build tweaks
Notes:
svn path=/head/; revision=161199
|
| |
|
|
| |
Notes:
svn path=/head/; revision=161198
|
| |
|
|
|
|
|
|
| |
Remove obsolete files in list
Add spi flash reading routines
Notes:
svn path=/head/; revision=161197
|
| |
|
|
|
|
|
|
| |
reduce code footprint, etc. While some problems still remain, the
reliability of tftp is much improved.
Notes:
svn path=/head/; revision=161196
|
| |
|
|
| |
Notes:
svn path=/head/; revision=161195
|