| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
NULL.
Submitted by: Andrew Thompson <andy@fud.org.nz>
Notes:
svn path=/head/; revision=121704
|
| |
|
|
| |
Notes:
svn path=/head/; revision=120488
|
| |
|
|
|
|
|
| |
Pointy hat to: jake
Notes:
svn path=/head/; revision=119476
|
| |
|
|
| |
Notes:
svn path=/head/; revision=119443
|
| |
|
|
|
|
|
| |
Also some minor style cleanups.
Notes:
svn path=/head/; revision=119420
|
| |
|
|
|
|
|
|
| |
- Use the values in the video info for the font size and width instead
of second guessing.
Notes:
svn path=/head/; revision=119388
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gfb_draw if 'flip' is specified. This causes the mouse cut region
to be displayed in reverse color so it is visbile.
- Use the "other" implementation of gfb_cursor for the creator driver,
which doesn't assume there is a hardware cursor. It seems that the
hardware cursor that creator provides doesn't display the character
under the cursor in reverse colors, so the driver does this manually
and uses the hardware cursor for the mouse pointer (which it also works
much better for). This is wedged here because it required less hoops
than accessing the syscons vtb from inside the video driver, which is
needed to read the character and color attributes under the new cursor
position.
Notes:
svn path=/head/; revision=119383
|
| |
|
|
| |
Notes:
svn path=/head/; revision=119379
|
| |
|
|
| |
Notes:
svn path=/head/; revision=119378
|
| |
|
|
|
|
|
| |
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
Notes:
svn path=/head/; revision=117833
|
| |
|
|
|
|
|
|
|
|
| |
-Werror build with such option, but not other combinations. LINT
misses this because syscons knobs in LINT turn off a lot of code.
Reviewed by: marcel (some time ago)
Notes:
svn path=/head/; revision=115595
|
| |
|
|
|
|
|
| |
Found by: FlexeLint
Notes:
svn path=/head/; revision=115549
|
| |
|
|
|
|
|
|
|
| |
i386-style vga console support.
Approved by: re
Notes:
svn path=/head/; revision=114857
|
| |
|
|
|
|
|
|
|
|
| |
Change all in-tree consumers to include <sys/limits.h>
Discussed on: standards@
Partially submitted by: Craig Rodrigues <rodrigc@attbi.com>
Notes:
svn path=/head/; revision=114216
|
| |
|
|
| |
Notes:
svn path=/head/; revision=112700
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Notes:
svn path=/head/; revision=112551
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Otherwise sysbeep() makes an annoying clicking sound on some systems.
'kbdcontrol -b off' just sets the duration and pitch to zero, it doesn't
set the QUIET_BELL flag.
Tested by: SorAlx <soralx@cydem.zp.ua>
PR: misc/41772
MFC after: 1 week
Notes:
svn path=/head/; revision=112537
|
| |
|
|
|
|
|
| |
Ditch the D_KQFILTER flag which was used to prevent calling NULL pointers.
Notes:
svn path=/head/; revision=111821
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Notes:
svn path=/head/; revision=111748
|
| |
|
|
|
|
|
|
|
|
|
| |
don't end up freezing the box. This makes VTY locking useless
in the DDB case but a box which is supposed to be physically
secure shouldn't compile DDB anyway.
Reviewed by: silence on -audit
Notes:
svn path=/head/; revision=111632
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
dev_t to the method functions.
The dev_t can still be found at struct consdev *->cn_dev.
Add a void *cn_arg element to struct consdev which the drivers can use
for retrieving their softc.
Notes:
svn path=/head/; revision=111194
|
| |
|
|
| |
Notes:
svn path=/head/; revision=111162
|
| |
|
|
|
|
|
| |
Approved by: trb
Notes:
svn path=/head/; revision=111119
|
| |
|
|
| |
Notes:
svn path=/head/; revision=110960
|
| |
|
|
| |
Notes:
svn path=/head/; revision=110235
|
| |
|
|
|
|
|
| |
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
Notes:
svn path=/head/; revision=109623
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
creation by GCC-2.6.3. Casting pointers to unsigned char
to volatile pointers to unsigned char seemed to produce
better results on the ia32 architecture with old versions
of GCC.
The current FreeBSD system compiler GCC-3.2.1 emits
better sign extension code for non-volatile variables:
volatile char c;
int i = c;
is compiled to:
...
movb -1(%ebp), %al
movbsl %al, %eax
movl %eax, -8(%ebp)
...
char c;
int i = c;
is compiled to:
...
movbsl -1(%ebp), %eax
movl %eax, -8(%ebp)
...
The same holds for zero-extension of dereferenced pointers
to volatile unsigned char.
When compiled on alpha or sparc64, the code produced for the
two examples above does not differ.
Notes:
svn path=/head/; revision=105584
|
| |
|
|
|
|
|
|
| |
PR: 40486
Submitted by: Jilles Tjoelker <jilles+fbsd-bugs@stack.nl>
Notes:
svn path=/head/; revision=105310
|
| |
|
|
|
|
|
|
|
| |
static in its prototype, mark it static at the definition too.
Inspired by: FlexeLint warning #512
Notes:
svn path=/head/; revision=104094
|
| |
|
|
| |
Notes:
svn path=/head/; revision=102412
|
| |
|
|
|
|
|
| |
the userland source tree, or even worse: /usr/include)
Notes:
svn path=/head/; revision=102290
|
| |
|
|
| |
Notes:
svn path=/head/; revision=102241
|
| |
|
|
|
|
|
|
|
|
|
| |
little more than a place holder, because nothing actually counted the
number of 'sc' units to compare it against NSC. A bit more work here
is needed so that the scaling of SC_MAX_HISTORY_SIZE and extra_history_size
goes up when more sc units are added. But, it does not appear that we can
have more than one console yet, so it does not seem particularly urgent.
Notes:
svn path=/head/; revision=102148
|
| |
|
|
|
|
|
|
| |
2. modify screen dumpung routine, so that in addition to visible area, it
allows to grab any portion of history buffer as well.
Notes:
svn path=/head/; revision=102108
|
| |
|
|
|
|
|
|
|
|
|
| |
like this can be emulated by VT_SETMODEing to VT_PROCESS and never
releasing the vty, but this has a number of problems, most notably
that a process must stay resident for the lock to be in effect.
Reviewed by: roam, sheldonh
Notes:
svn path=/head/; revision=99704
|
| |
|
|
|
|
|
| |
the default.
Notes:
svn path=/head/; revision=97918
|
| |
|
|
|
|
|
|
|
|
|
| |
call read() to get the next command, and scread() disables the
screensaver. We don't want this behaviour in the sc_saver_keybonly
case.
Submitted by: Olivier Houchard <doginou@ci0.org>
Notes:
svn path=/head/; revision=96033
|
| |
|
|
|
|
|
| |
Submitted by: Andrew M. Miklic <AndrwMklc@cs.com>
Notes:
svn path=/head/; revision=94617
|
| |
|
|
|
|
|
| |
Requested by: jhb
Notes:
svn path=/head/; revision=93902
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
hw.syscons.saver.keybonly: used to specify that only input is to
interrupt the screensaver. This allows one to run a chatty console
app but still have the screen blank out until a key is pressed.
There should probably also be an ioctl for this, we'll do that later.
hw.syscons.saver.blanktime: exports the screensaver timeout via sysctl.
Submitted by: Olivier Houchard <doginou@cognet.ci0.org>
Notes:
svn path=/head/; revision=93897
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
general cleanup of the API. The entire API now consists of two functions
similar to the pre-KSE API. The suser() function takes a thread pointer
as its only argument. The td_ucred member of this thread must be valid
so the only valid thread pointers are curthread and a few kernel threads
such as thread0. The suser_cred() function takes a pointer to a struct
ucred as its first argument and an integer flag as its second argument.
The flag is currently only used for the PRISON_ROOT flag.
Discussed on: smp@
Notes:
svn path=/head/; revision=93593
|
| |
|
|
|
|
|
| |
Pointy hat to: amorita
Notes:
svn path=/head/; revision=93115
|
| |
|
|
|
|
|
| |
Add support for NEC PC-9821 PEGC screen (fire/logo/rain/warp_saver).
Notes:
svn path=/head/; revision=93011
|
| |
|
|
| |
Notes:
svn path=/head/; revision=92762
|
| |
|
|
|
|
|
|
|
| |
displayed font.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=92459
|
| |
|
|
| |
Notes:
svn path=/head/; revision=91734
|
| |
|
|
|
|
|
| |
reference.
Notes:
svn path=/head/; revision=91406
|