#
f4e70637 |
| 30-Jan-2023 |
jsg <jsg@openbsd.org> |
remove unneeded includes in arch/i386 ok krw@ miod@
|
#
e39f036f |
| 25-Apr-2015 |
guenther <guenther@openbsd.org> |
We now following the ABI and always clear cld on function entry, so remove the extra CLD instructions from when that wasn't true
testing miod@ krw@
|
#
80d7446c |
| 17-Oct-2014 |
sthen <sthen@openbsd.org> |
reinstate i386/bus_space diff now that serial consoles are fixed in sys/arch/i386/i386/bios.c, ok deraadt
|
#
e77b97d3 |
| 17-Oct-2014 |
sthen <sthen@openbsd.org> |
backout i386/bus_space diff for now, req'd by deraadt@ - problems at boot
| i386/bus_space.c:1.5->1.6 | i386/machdep.c:1.551->1.552 | include/bus.h:1.61->1.62
|
#
85056c11 |
| 17-Oct-2014 |
dlg <dlg@openbsd.org> |
bring the twisting of bus_space from amd64 over to i386. this is:
src/sys/arch/amd64/amd64/bus_space.c r1.22 src/sys/arch/amd64/include/bus.h r1.27
instead of using the tag as an identifier for IO
bring the twisting of bus_space from amd64 over to i386. this is:
src/sys/arch/amd64/amd64/bus_space.c r1.22 src/sys/arch/amd64/include/bus.h r1.27
instead of using the tag as an identifier for IO or memory mappings that was checked inside the api, turn it into a pointer to a structure of function pointers. the api then generally becomes a set of macros that deref the function pointers on the callers behalf. the idea is that following a pointer to very small functions is cheap compared to doing compares continuously.
the kernel is smaller and the api is more cache friendly now.
the porting of this code from amd64 to i386 was done by kimberley manning requested by and ok tedu@
show more ...
|
#
2df76cc2 |
| 29-Mar-2014 |
guenther <guenther@openbsd.org> |
It's been a quarter century: we can assume volatile is present with that name.
ok dlg@ mpi@ deraadt@
|
#
287fe4fa |
| 16-Jul-2009 |
mk <mk@openbsd.org> |
KNF
ok sthen
|
#
3dba898f |
| 07-Jan-2009 |
jsg <jsg@openbsd.org> |
The E asm constraint refers to an immediate floating operand and isn't what we want here.
ok weingart@ drahn@
|
#
13fad3d0 |
| 03-Dec-2008 |
oga <oga@openbsd.org> |
Remove the x86 and i386 prefixes to the bus_dma types. It's really quite pointless and just makes the code different for no reason. This moves i386 and amd64 bus_dma to being a lot closer to identica
Remove the x86 and i386 prefixes to the bus_dma types. It's really quite pointless and just makes the code different for no reason. This moves i386 and amd64 bus_dma to being a lot closer to identical.
suggestion to just remove the prefix instead of merge them from deraadt@.
no objections art@, kettenis@, ok weingart@
show more ...
|
#
4868469a |
| 22-Nov-2008 |
oga <oga@openbsd.org> |
same change as for amd64. Move bus_space_* functions from inlines and defines into real functions. since machdep.c is cluttered as it is move them into bus_space.c (like amd64). a later commit will m
same change as for amd64. Move bus_space_* functions from inlines and defines into real functions. since machdep.c is cluttered as it is move them into bus_space.c (like amd64). a later commit will move the stuff from machdep across too. since machdep.c is cluttered as it is move them into bus_space.c (like amd64). a later commit will move the stuff from machdep across too.
some shrinkage stats: GENERIC.MP 209.66kb RAMDISK 50.84kb RAMDISKB 50.04kb RAMDISC 36.28kb RAMDISK_CD 168.03kb
don't fill it up all at once!
claudio found no network performance hit. toby thought the code went looked alright. art@ ok.
show more ...
|