| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Notes:
svn path=/releng/5.2/; revision=123193
|
| |
|
|
| |
Notes:
svn path=/head/; revision=122471
|
| |
|
|
|
|
|
|
|
| |
than a dev_t.
All of the dev_t's passed were bogusly created with makedev()
Notes:
svn path=/head/; revision=120465
|
| |
|
|
|
|
|
| |
Also some minor style cleanups.
Notes:
svn path=/head/; revision=119418
|
| |
|
|
| |
Notes:
svn path=/head/; revision=119384
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
These are fixed resolution and operate only in pixel mode so they present
a challenge to syscons (square peg, round hole, etc, etc). The driver
provides a video driver interface for syscons and a separate character
device for X to mmap. Wherever possible the creator's accelarated graphics
functions are used so text mode is very fast.
Based roughly on the openbsd driver.
Notes:
svn path=/head/; revision=119381
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
to intptr_t. This fixes a compiler warning (integer from pointer
without cast) in scvgarndr.c when SC_PIXEL_MODE is defined.
o Define readb() and writeb(). Both are used in scvgarndr.c when,
guess what, SC_PIXEL_MODE is defined.
Both changes are ia64 specific.
Found by: LINT
Notes:
svn path=/head/; revision=119359
|
| |
|
|
|
|
|
|
| |
tree for two or more years now), except in a few places where there's
code to be compatible with older versions of FreeBSD.
Notes:
svn path=/head/; revision=119277
|
| |
|
|
|
|
|
|
|
|
| |
buffer space instead of a u_int32_t. Otherwise the upper 32 bits of
the address space get truncated and syscons blows up.
Approved by: re (safe, low risk amd64 fixes)
Notes:
svn path=/head/; revision=115253
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
of <machine/pc/bios.h> specific to i386 and added a conditional define
for BIOS_PADDRTOVADDR that depends on ISA_HOLE_START. The latter is
undefined on alpha and ia64. Since the former is defined the same on
both alpha and ia64, assume the ISA_HOLE_START dependent definition
is specific to amd64 and use the identity-mapping in all other cases.
This of course is getting uglier every day...
Notes:
svn path=/head/; revision=114485
|
| |
|
|
| |
Notes:
svn path=/head/; revision=114383
|
| |
|
|
|
|
|
|
|
|
| |
ia64 by defining them in terms of newbus. Add a static inline for
fillw(), which doesn't have anything to do with I/O.
It's still ugly, but now the ugliness can be removed from ia64
specific headers.
Notes:
svn path=/head/; revision=114199
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
where physical addresses larger than virtual addresses, such as i386s
with PAE.
- Use this to represent physical addresses in the MI vm system and in the
i386 pmap code. This also changes the paddr parameter to d_mmap_t.
- Fix printf formats to handle physical addresses >4G in the i386 memory
detection code, and due to kvtop returning vm_paddr_t instead of u_long.
Note that this is a name change only; vm_paddr_t is still the same as
vm_offset_t on all currently supported platforms.
Sponsored by: DARPA, Network Associates Laboratories
Discussed with: re, phk (cdevsw change)
Notes:
svn path=/head/; revision=112569
|
| |
|
|
|
|
|
|
| |
%j in printfs, so put a newsted include in <sys/systm.h> where the printf
prototype lives and save everybody else the trouble.
Notes:
svn path=/head/; revision=112367
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
branches:
Initialize struct cdevsw using C99 sparse initializtion and remove
all initializations to default values.
This patch is automatically generated and has been tested by compiling
LINT with all the fields in struct cdevsw in reverse order on alpha,
sparc64 and i386.
Approved by: re(scottl)
Notes:
svn path=/head/; revision=111815
|
| |
|
|
|
|
|
|
| |
Don't call cdevsw_{add,remove}()
Bracket a more correct subset in "#if experimental"
Notes:
svn path=/head/; revision=111576
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Get rid of the useless atop() / pmap_phys_address() detour. The
device mmap handlers must now give back the physical address
without atop()'ing it.
- Don't borrow the physical address of the mapping in the returned
int. Now we properly pass a vm_offset_t * and expect it to be
filled by the mmap handler when the mapping was successful. The
mmap handler must now return 0 when successful, any other value
is considered as an error. Previously, returning -1 was the only
way to fail. This change thus accidentally fixes some devices
which were bogusly returning errno constants which would have been
considered as addresses by the device pager.
- Garbage collect the poorly named pmap_phys_address() now that it's
no longer used.
- Convert all the d_mmap_t consumers to the new API.
I'm still not sure wheter we need a __FreeBSD_version bump for this,
since and we didn't guarantee API/ABI stability until 5.1-RELEASE.
Discussed with: alc, phk, jake
Reviewed by: peter
Compile-tested on: LINT (i386), GENERIC (alpha and sparc64)
Runtime-tested on: i386
Notes:
svn path=/head/; revision=111462
|
| |
|
|
|
|
|
| |
Approved by: trb
Notes:
svn path=/head/; revision=111119
|
| |
|
|
|
|
|
| |
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
Notes:
svn path=/head/; revision=109623
|
| |
|
|
| |
Notes:
svn path=/head/; revision=106766
|
| |
|
|
| |
Notes:
svn path=/head/; revision=106765
|
| |
|
|
| |
Notes:
svn path=/head/; revision=106662
|
| |
|
|
|
|
|
| |
Spotted by: FlexeLint
Notes:
svn path=/head/; revision=104389
|
| |
|
|
| |
Notes:
svn path=/head/; revision=103870
|
| |
|
|
| |
Notes:
svn path=/head/; revision=102412
|
| |
|
|
|
|
|
| |
Submitted by: Andrew M. Miklic <AndrwMklc@cs.com>
Notes:
svn path=/head/; revision=94617
|
| |
|
|
| |
Notes:
svn path=/head/; revision=94275
|
| |
|
|
|
|
|
| |
also don't use ANSI string concatenation.
Notes:
svn path=/head/; revision=87599
|
| |
|
|
|
|
|
| |
a naming conflict.
Notes:
svn path=/head/; revision=86119
|
| |
|
|
|
|
|
|
|
|
|
| |
us a lot on older Alphas.
Andrew Gallatin, Thomas V. Crimi, and Peter Jeremy contributed to this
work along with the submitter.
Submitted by: Andrew M. Miklic <miklic@home.com>
Notes:
svn path=/head/; revision=85810
|
| |
|
|
| |
Notes:
svn path=/head/; revision=84580
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note ALL MODULES MUST BE RECOMPILED
make the kernel aware that there are smaller units of scheduling than the
process. (but only allow one thread per process at this time).
This is functionally equivalent to teh previousl -current except
that there is a thread associated with each process.
Sorry john! (your next MFC will be a doosie!)
Reviewed by: peter@freebsd.org, dillon@freebsd.org
X-MFC after: ha ha ha ha
Notes:
svn path=/head/; revision=83366
|
| |
|
|
| |
Notes:
svn path=/head/; revision=81455
|
| |
|
|
| |
Notes:
svn path=/head/; revision=81051
|
| |
|
|
|
|
|
| |
supported ioctls for now.
Notes:
svn path=/head/; revision=81039
|
| |
|
|
|
|
|
| |
to video drivers later.
Notes:
svn path=/head/; revision=81038
|
| |
|
|
|
|
|
|
| |
Inspired by: OpenBSD
MFC After: 1 week
Notes:
svn path=/head/; revision=80203
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace the a.out emulation of 'struct linker_set' with something
a little more flexible. <sys/linker_set.h> now provides macros for
accessing elements and completely hides the implementation.
The linker_set.h macros have been on the back burner in various
forms since 1998 and has ideas and code from Mike Smith (SET_FOREACH()),
John Polstra (ELF clue) and myself (cleaned up API and the conversion
of the rest of the kernel to use it).
The macros declare a strongly typed set. They return elements with the
type that you declare the set with, rather than a generic void *.
For ELF, we use the magic ld symbols (__start_<setname> and
__stop_<setname>). Thanks to Richard Henderson <rth@redhat.com> for the
trick about how to force ld to provide them for kld's.
For a.out, we use the old linker_set struct.
NOTE: the item lists are no longer null terminated. This is why
the code impact is high in certain areas.
The runtime linker has a new method to find the linker set
boundaries depending on which backend format is in use.
linker sets are still module/kld unfriendly and should never be used
for anything that may be modular one day.
Reviewed by: eivind
Notes:
svn path=/head/; revision=78161
|
| |
|
|
|
|
|
| |
the bit-bucket.
Notes:
svn path=/head/; revision=74810
|
| |
|
|
| |
Notes:
svn path=/head/; revision=73857
|
| |
|
|
| |
Notes:
svn path=/head/; revision=71862
|
| |
|
|
|
|
|
| |
local variables.
Notes:
svn path=/head/; revision=71465
|
| |
|
|
|
|
|
|
|
|
|
|
| |
the video switch by another. Exactly as VESA does on top of VGA.
It adds linear framebuffer to S3 VESA 1.2 cards.
Obtained from: The original S3 ISA code comes from
Peter Horton <pdh@colonel-panic.com>
Notes:
svn path=/head/; revision=70688
|
| |
|
|
|
|
|
|
| |
Submitted by: josh@zipperup.org
Submitted by: Robert Drehmel <robd@gmx.net>
Notes:
svn path=/head/; revision=69781
|
| |
|
|
|
|
|
| |
back to support 8bpp mode.
Notes:
svn path=/head/; revision=68050
|
| |
|
|
| |
Notes:
svn path=/head/; revision=67882
|
| |
|
|
|
|
|
| |
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
Notes:
svn path=/head/; revision=67784
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the drivers.
* Remove legacy inx/outx support from chipset and replace with macros
which call busspace.
* Rework pci config accesses to route through the pcib device instead of
calling a MD function directly.
With these changes it is possible to cleanly support machines which have
more than one independantly numbered PCI busses. As a bonus, the new
busspace implementation should be measurably faster than the old one.
Notes:
svn path=/head/; revision=65176
|
| |
|
|
| |
Notes:
svn path=/head/; revision=61471
|
| |
|
|
|
|
|
|
| |
Reported by: Christian Weisgerber <naddy@mips.inka.de>
Approved by: yokota@FreeBSD.ORG
Notes:
svn path=/head/; revision=60742
|