| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
an ifdef , wonder who broke it this time :)
Submitted by: ache
|
|
|
|
|
|
|
|
|
|
|
|
| |
This enables other consumers of the mouse, to get it info via
moused/syscons.
In order to use it run moused (from sysconfig), and then tell
your Xserver that it should use /dev/sysmouse (mknod sysmouse c 12 128)
and it a mousesystems mouse. Everybody will be happy then :)
Remember that moused still needs to know what kind of mouse you
have..
Comments welcome, as is test results...
|
|
|
|
|
|
| |
The default level works with minimal overhead, but one can also enable
full, efficient use of a 512K cache. (Parameters can be generated
to support arbitrary cache sizes also.)
|
| |
|
| |
|
| |
|
|
|
|
|
| |
was still broken, as was the normal case since atapi_attach() was called
internally.
|
|
|
|
|
|
| |
(A pointer to a const was misused to avoid loading loading the same
value twice, but gcc does exactly the same optimization automatically.
It can see that the value hasn't changed.)
|
|
|
|
|
|
|
| |
the problem doesn't bogusly succeed.
Print size failures to stderr instead of stdout and don't print bells
and whistles.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- avoiding strcmp("?" saved 12 bytes. gcc inlined the strcmp()
but this takes as much or more code as a function call. The
inlining was bogus because the strcmp() in the bootstrap isn't
standard.
- using a char instead of an int for the boolean `last_only' saved 8
bytes. Booleans should usually be represented as chars on the i386.
- simplifying the return tests saved 9 bytes.
- using putc instead of printf to print a newline saved 3 bytes of code
and 2 bytes of const data.
- avoiding `else's by always doing the else clause and fixing it up
saved 4+8 bytes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gcc always generates large code for accesses to globals. For locals
it only generates large code if there are more than 128 bytes of
locals. It sorts scalar locals after array locals to pessimize for
space in the usual case when there are more (static) references to
scalars than to arrays.
Saved another 16 bytes (13 before padding) by adding a `continue'.
Fall-through tests normally save space, but here one of them made
gcc do space-unoptimal register allocation (it allocates ch in %bl
because preserving this register across function calls is "free",
but comparisions with %bl take one byte fewer than comparsions with
%bl).
|
|
|
|
| |
driver.
|
| |
|
|
|
|
| |
machdep.c. We no longer walk on the data segment the BIOS sets up.
|
|
|
|
|
|
| |
autoconf.c by merging icu.h. Fix a couple of typos.
Submitted by: The FreeBSD(98) Development Team.
|
|
|
|
|
|
|
|
|
| |
If you define this, it means your keyboard is actually probable using the
brain-dammaged probe routine in syscons, and if the keyboard is NOT found,
then you don't want syscons to activate itself further.
This makes life sane for those of us who use serial consoles most of the
time and want "the right thing" to happen when we plug a keyboard in.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
I just couldn't get the code to be as small as it should have gotten..
atill a LITTLE bigger than before as I need to allow the
default string to have options as well
|
|
|
|
| |
new buffer.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1/ Makefile: the maximum size for boot2 is 7.5K not 7K,
so don't complain until it reaches THAT size..
newfs leaves 8K and boot 1 is 512k. leaving 7.5K becasue the disklabel
is considered to part of the boot2 file.
[512 boot1][512 disklabel][ 7K boot2 code ]
[boot1 file][ boot2 file ]
2/ Boot2.S: move the soring of the default name read from block 2 to AFTER
clearing the BSS.
3/ boot.c:
Move the parsing of the command line into the
place it's called for clarity.. alsoi comment it a bit and clean it
up a bit.. for some reason this seems ot have made it a little
larger, but I can't work out why.. maybe bruce might have ideas?
compensated for by shrinkage elsewhere..
the practical result of this is htat the default string can now contain args
e.g. if you change the default string to have -gd
then the machine will boot to the dgb debugger stub by default..
this is mostly useful with the nextboot utility..
as it now allows you to remotely force a machine to reboot into
the debugger.
|
|
|
|
|
|
|
|
|
|
|
| |
(1) Remove mk30line (moved to /usr/sbin, but not in our source tree yet)
(2) Delete unneeded (well, harmful now :) code to prohibit #including
of isa_device.h from PC98 sources.
(3) Remove files now equal to their ISA/PC-AT counterparts.
Submitted by: The FreeBSD(98) Development Team
|
|
|
|
|
|
|
| |
so that the compiler can see that it is OK to use const strings in
NDINIT(). Some emulators want to use paths of the form "/compat/foo".
Removed the casts that hid the non-problem. Didn't fix the missing
consts in syscalls.master that hid the non-problem.
|
| |
|
|
|
|
|
|
|
| |
better and much simpler to understand, and works just as well (better)
as a bonus.
Submitted by: bde
|
|
|
|
|
|
| |
Get rid of pc98/pc98/pc98_device.h.
Submitted by: The FreeBSD(98) Development Team
|
|
|
|
|
| |
Changed update strategy slightly.
Make set_mode & copy_font externally visible.
|
|
|
|
| |
Reviewed by: bde
|
|
|
|
|
|
|
|
|
|
|
| |
returned by the RTC, use the bootblock supplied value. Also, map the
'stolen by BIOS' memory in the same manner as the ISA-hole memory, since
it is really an extenstion of the BIOS. This is necessary for 32-bit
BIOS functions such as APM support on laptops, and the loss of memory
for non-necessary functions seems to be at most 4k.
Reviewed by: phk
Obtained from: email conversation with jtk@atria.com
|
|
|
|
| |
pointers of type `void *'. Warn about this in future.
|
| |
|
| |
|
|
|
|
|
|
|
| |
machine-dependent macro and passing it to all machine-dependent
macros.
Eliminated the state variable for the GUPROF case.
|
| |
|
| |
|
|
|
|
| |
A warning was introduced.
|
| |
|
|
|
|
| |
the current directory.
|
| |
|
|
|
|
| |
Sponsored by: Juniper Networks, Inc. <pst@jnx.com>
|
| |
|
|
|
|
|
| |
Submitted by: Ikuo Nakagawa <ikuo@isl.intec.co.jp>, PR#1488, but using
Bruce Evans <bde@zeta.org.au>'s fix.
|
| |
|
| |
|
|
|
|
|
| |
also add the at_shutdown callout list, and change the one user of
the present (broken) method (the vn driver) to use the new scheme.
|
| |
|
|
|
|
| |
now I've started working on this again, I discovered it..
|
|
|
|
| |
Reviewed by: phk
|