pooka
b68d6b80c0
add a rule for locators.h too
2010-02-03 21:15:39 +00:00
pooka
61cce04cfe
If IOCONFIG is defined, autogenerate ioconf.c and locators.h
...
from ${IOCONFIG}.
2010-02-03 21:11:24 +00:00
macallan
7f9ad6b70b
do not attach to Powrbook G3 onboard Firewire controllers until someone with
...
access to the hardware can figure out why it deadlocks during device
discovery
2010-02-03 19:32:40 +00:00
macallan
e855577f1c
regen
2010-02-03 19:28:07 +00:00
macallan
c514208da5
add Apple PowerBook G3 Firewire controllers
2010-02-03 19:27:24 +00:00
pooka
3cf97d3909
one more request type to pass through (seriously, i'll make it pass
...
all of them through very soon. just want to debug a little more)
2010-02-03 18:14:56 +00:00
msaitoh
036c4f999b
s/u_int/uint/
2010-02-03 15:37:51 +00:00
msaitoh
cb47392a23
- Make the initialize sequence close to the document.
...
- Fix ASF heartbeat sending bug (FreeBSD rev. 1.271 (r202821))
- Use new handshake command for BCM5750 or new controllers (FreeBSD rev. 1.272
(r202822))
2010-02-03 15:36:36 +00:00
roy
98eb889579
Userland now builds and uses terminfo instead of termcap.
...
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
phx
181451b104
Enable all devices which can be compiled.
...
(Tested, or even working, are only few of them.)
2010-02-03 14:03:47 +00:00
uebayasi
d0c590668f
A few assertions & comments.
2010-02-03 14:02:49 +00:00
phx
37e984601c
Ensure reorder protection for amigappc in all bus space functions.
...
The ne(4) driver (XSurf2), which is the only bus_space device I got,
works now.
2010-02-03 13:56:53 +00:00
wiz
07f775da9b
Add missing parentheses. Found by cppcheck, reported by
...
Henning Petersen in PR 42728.
2010-02-03 13:51:00 +00:00
wiz
cc199107ab
Remove extra parenthesis. Found by cppcheck, reported by
...
Henning Petersen in PR 42732.
2010-02-03 13:48:53 +00:00
wiz
92479c29b6
Remove extra parenthesis. Found by cppcheck, reported by
...
Henning Petersen in PR 42730.
2010-02-03 13:48:17 +00:00
wiz
4222db0cd6
Remove extra parenthesis. Found by cppcheck, reported by
...
Henning Petersen in PR 42729.
2010-02-03 13:47:57 +00:00
uebayasi
cfde757678
uvm_fault_lower_generic_io: Reduce diff from uvm_loanuobj().
2010-02-03 12:40:39 +00:00
uebayasi
cd14256881
uvm_fault_lower_generic_io: One missing mutex_exit(vmobjlock). Found while
...
comparing this function with uvm_loanuobj(). (Part of) these should be
merged.
2010-02-03 07:48:18 +00:00
pooka
068898b44d
Introduce the uhub_ubermatch variable. Setting it to 1 makes sure
...
than a uhub attaches even at higher priority than ugen when
ugen_override is set to 1. This allows to probe the whole USB bus
and attach its functions with ugen.
A better infrastructure to control this would be nice ....
2010-02-02 23:18:49 +00:00
phx
c41b967aea
We need to provide eclockfreq, just for the aucc driver. The amigappc uses
...
mftb timecounters.
2010-02-02 20:56:13 +00:00
skrll
3eb360a13a
Typo in comment.
2010-02-02 20:40:07 +00:00
phx
e8c5c35803
Make it compile with all devices from amiga/dev.
2010-02-02 19:16:57 +00:00
phx
49b984df5c
Rewrote the "amiga" PIC from scratch. Interrupts are based on IPL 1-6 now
...
and no longer on IRQ 0-13.
Fixed interrupt levels in amigappc_install_handlers() (IPL_SOFTxxx was very
bad!).
Compilation with all (most?) amiga devices was tested and fixed.
Some smaller fixes.
Status:
With Cybervision64 and A3000 SBIC SCSI (with DMA disabled) the system
reaches multiuser!
Lots of problems left...
2010-02-02 19:15:33 +00:00
phx
6105a09f9d
IOBlix files were missing.
2010-02-02 19:07:05 +00:00
phx
c2dfc3161a
Fix compilation warnings and errors with amigappc.
2010-02-02 19:03:31 +00:00
uebayasi
5f0a89783a
uobj->pgops->pgo_get doing PGO_SYNCIO returns a uobjpage whose uobj backpointer
...
refers to another "uobj" used to call pgo_get. Revert the wrong assertion
I made. My bad.
(This and pgo_get's possible ERESTART return value check is the only 2 behavioral
changes I made.)
Reported by drochner@, thanks.
2010-02-02 18:49:23 +00:00
uebayasi
0dceadd765
Don't pass an unnecessary reference to uvm_loanbreak_anon().
...
Requested by rmind@.
2010-02-02 17:40:43 +00:00
drochner
6d35fa3886
give up some silly macros which were only used ~once, and reduce
...
dependency on "locators.h"
makes the code more LKM frienly
2010-02-02 16:54:40 +00:00
drochner
1921d00aaf
add hooks to allow terminal emulations to be installed by LKMs
...
(these are not available in early bootstrap, so this is not an
option for the system's default emulation)
2010-02-02 16:18:29 +00:00
wiz
11b7e600cb
Missing printf in sys/compat/linux/arch/powerpc/linux_machdep.c
...
found by cppcheck and reported by Henning Petersen in PR 42720.
2010-02-02 15:02:07 +00:00
wiz
27b261aabe
Missing 'if defined COMPAT13 or COMPAT50' in uvm_swap.c found by cppcheck
...
and reported by Henning Petersen in PR 42721.
2010-02-02 15:00:34 +00:00
wiz
2ec3e891ae
Fix incomplete line (deleto?), found by cppcheck and reported by
...
Henning Petersen in PR 42719.
2010-02-02 14:58:46 +00:00
wiz
51c0c0ea31
Add missing parentheses, found by cppcheck and reported by
...
Henning Petersen in PR 42718.
2010-02-02 14:57:45 +00:00
phx
507a638d7f
Include majors.amigappc instead of majors.amiga.
2010-02-02 12:47:51 +00:00
tron
370c0f3c62
Include "ctype.h" in the central place which deals with building the
...
kernel debugger as a userland program.
2010-02-02 09:04:14 +00:00
uebayasi
5526267c10
Be consistent to decide if PMAP_WIRED or not.
2010-02-02 06:52:59 +00:00
uebayasi
19fbe1698d
Move A->K loan break code to uvm_loan.c.
2010-02-02 06:06:02 +00:00
uebayasi
be06afbe24
Indent.
2010-02-02 05:58:16 +00:00
uebayasi
a79520c14e
uvm_fault: Split "neighbor" fault and loan handling into functions.
2010-02-02 04:35:35 +00:00
mrg
acffd0b4ae
- split sp_tlb_flush_pte() and switchtoctx() into sp_tlb_flush_pte_us()/
...
sp_tlb_flush_pte_usiii() and switchtoctx_us()/switchtoctx_usiii() and
implement the latter while i'm here. it works ... sometimes i think,
but also sometimes panics/hangs.
- fix a comment in sparc64_ipi_flush_pte_usiii()
2010-02-02 04:28:55 +00:00
mrg
e063f65e04
for now, reduce a few #ifdef SPITFIRE cases by introducing a new
...
ASI_DCACHE_TAG_OR_INV that is either ASI_DCACHE_{TAG,_INVALIDATE}.
increase the common code in cache_flush_phys().
2010-02-02 03:07:06 +00:00
uebayasi
49bcc1198b
Sort struct uvm_faultctx members for better alignment.
2010-02-02 01:54:48 +00:00
hubertf
659e2ca273
Use uppercase for acronyms on output: DRAM, SRAM
2010-02-01 22:34:29 +00:00
njoly
0da168aed4
Switch SSP init output to aprint_debug() instead of aprint_normal()
...
under DIAGNOSTIC ifdefs.
2010-02-01 16:14:58 +00:00
uebayasi
689dab24ea
Indent.
2010-02-01 16:12:36 +00:00
uebayasi
d99dd23d72
More split.
2010-02-01 16:08:27 +00:00
njoly
69c8ab9322
Aprintify.
2010-02-01 12:58:04 +00:00
njoly
7d3be93bb8
Do not print ac97 link rate message unless verbose boot is requested.
2010-02-01 12:51:16 +00:00
uebayasi
49c8580e07
Fix build without DIAGNOSTIC.
2010-02-01 11:58:39 +00:00
uebayasi
ef11535fc6
uvm_fault: Clarify when to wire what.
2010-02-01 10:22:40 +00:00
tron
4fe91a715f
Include "ctype.h" if we are not building a kernel to fix the build
...
of crash(8).
2010-02-01 09:56:58 +00:00
jruoho
4d0db25236
Fix incorrect notify handler type (ACPI_SYSTEM_NOTIFY -> ACPI_DEVICE_NOTIFY).
2010-02-01 09:45:04 +00:00
uebayasi
3e6fea088d
uvm_fault_upper_lookup: This is totally my personal preference, but can't help
...
adding one goto to reduce one indent.
2010-02-01 09:18:41 +00:00
uebayasi
c3f0715aa9
uvm_fault:
...
- Lower fault routines don't care the vm_anon array found in upper lookup.
Don't pass the pointer down.
- The flag "shadowed" is known when we lookup upper layer. Don't need to
keep in the fault context struct.
2010-02-01 09:06:43 +00:00
uebayasi
f7a6581cde
Indent.
2010-02-01 08:23:13 +00:00
uebayasi
90da75f6f6
Rewrite uvm_fault() loop using while () than goto.
2010-02-01 08:19:17 +00:00
uebayasi
6ca4a2b7f1
Split uvm_fault() into 2 more functions, uvm_fault_check() and
...
uvm_fault_upper_lookup(). Omit unnecessary arguments passed around.
2010-02-01 08:16:32 +00:00
mrg
9ba8935c64
- sp_tlb_flush_all() becomes sp_tlb_flush_all_us() and sp_tlb_flush_all_usiii()
...
- sparc64_ipi_flush_pte() becomes sparc64_ipi_flush_pte_us() and
sparc64_ipi_flush_pte_usiii()
- add some commented out code to disable interrupts and raise the traplevel
in sparc64_ipi_flush_pte_usiii()
- cache_flush_phys() was missing a little of code in the cheetah case
2010-02-01 07:01:40 +00:00
uebayasi
82f34a5f99
uvm_fault: Pack variables shared during fault / re-fault into a struct named
...
uvm_faultctx. Unfortunately ~all of those values are overriden in various
ways. Constification doesn't help much...
2010-02-01 06:56:22 +00:00
mrg
0d041f812e
for USIII, use the new "tlb demap all" operation in sp_tlb_flush_all()
2010-02-01 06:26:15 +00:00
uebayasi
62e5fa15ec
ERESTART is already negative. Give up negating error values to not override
...
the original values. Pointed out by rmind@, thanks.
In the lower fault case, if (*pgo_get)() can return ERESTART and we should
re-fault for that remains a question. The original code just returned the
error, so keep that behaviour for now. In case (*pgo_get)() really returns
ERESTART, pass EIO to tell the uvm_fault caller that (*pgo_get)() failed.
(As far as I grep callers don't check if the return value is ERESTART or not.
So assuming (*pgo_get)() never returns ERESTART should be a safe bet.)
2010-02-01 05:48:19 +00:00
msaitoh
bb5dfe40ba
Fix the bug that unaligned access occurs on amd64. It also fixes the bug
...
that error bits aren't cleard because these bits are W2C (in other word, W1C).
Reported by Michael van Elst.
2010-02-01 05:38:36 +00:00
mrg
c3dff9108b
add some macros to check cpu type:
...
GETVER_CPU_IMPL()
CPU_IS_JALAPENO()
CPU_IS_USIII_UP()
and use them in a couple places to choose the right method/index
2010-02-01 05:00:59 +00:00
mrg
ba65e91001
remove unused icache_flush_page() implementation.
2010-02-01 03:43:27 +00:00
mrg
ee154fc467
- add a PDB_CTX_FLUSHALL debug type to pmap.c, and also log the cpu_number()
...
in a bunch more cases
- make sparc64_ipi_halt_thiscpu() and sparc64_ipi_pause_thiscpu() return void,
their callers never checked anyway.
- remove prototypes for sparc64_ipi_flush_ctx() and sparc64_ipi_flush_all(),
there are no such functions
2010-02-01 02:42:33 +00:00
martin
2a2c96609a
Fix an outdated comment, noticed by Paul Goyette.
2010-01-31 22:53:56 +00:00
phx
cc35ab39e9
New modifiers for the "write" command: /BHL. They act like /bhl but do not
...
read the old value from memory before writing.
2010-01-31 21:52:23 +00:00
martin
889f82dd49
Add a convenience function to find the maximum value currently reported
...
by a set (selected via a passed callback predicate) of sensors.
This provides an easy way to query the current temperature of a thermal
zone, for example, from within the kernel - assuming the caller knows
the topology.
2010-01-31 21:36:38 +00:00
jruoho
b00d9a31ae
Verify the object type before using variables from it.
...
In addition, use CTASSERT(9) instead of KASSERT(9).
2010-01-31 20:38:11 +00:00
phx
0d233c805b
Fixed for amigappc by executing eieio after writing to a vga register.
2010-01-31 19:56:19 +00:00
jruoho
d9203cb513
Add a detachment routine.
2010-01-31 19:49:29 +00:00
jruoho
166db9da2a
Also remove the ACPI notify handler upon detach.
2010-01-31 18:51:33 +00:00
dyoung
bcfb222fd8
Add the missing newline to a verbose autoconf message.
2010-01-31 18:12:51 +00:00
jruoho
2554187b97
Add a detachment routine. While here, clarify the initialization of sensors.
2010-01-31 17:53:31 +00:00
uebayasi
40b4d371a5
Ax uvm_fault_internal() & break it into functions. "Upper" fault and "lower"
...
fault routines are separated now.
2010-01-31 17:13:38 +00:00
mlelstv
d2fd323d98
Properly register blocksize with disk(9) framework.
2010-01-31 15:40:08 +00:00
pooka
6c9f003a76
Include newly-created subr_device.c and remove few special case
...
device accessor copypastes. This makes it possible to link static
binaries which use -lrumpdev.
2010-01-31 15:12:42 +00:00
pooka
0f9bb09e12
Device accessors are only marginally related to autoconf, so put them
...
into subr_device.c instead of having them in subr_autoconf.c.
Since none of the copyrights in subr_autoconf.c really match the
history of device accessors, I took the liberty of slapping (c)
2006 TNF onto subr_device.c.
2010-01-31 15:10:11 +00:00
hubertf
0579eb13de
Add missing "break" for CRYPTO_CAST_CBC, and some assorted comment fixes.
...
openssl(1) checks for CAST (and others) on ~every startup.
2010-01-31 14:32:56 +00:00
pooka
1fe7a9e1bb
If RUMP_BLKSECTSHIFT is set in the environment, use that as
...
device sector size instead of DEV_BSHIFT.
2010-01-31 13:15:08 +00:00
jruoho
084261a156
Remove ACPICA_PEDANTIC.
2010-01-31 12:20:22 +00:00
jruoho
a11a4a9023
Remove ACPICA_PEDANTIC. Appears to be no longer in use.
2010-01-31 12:14:45 +00:00
skrll
e975ed8767
1 CTASSERT(foo) is enough for anyone.
2010-01-31 11:54:32 +00:00
mlelstv
9c35c3d3a7
Release buffer in case a receive failed.
2010-01-31 11:39:55 +00:00
jruoho
4cd0ccf8ab
Add dynamic debug options for ACPI_DEBUG kernels.
...
ok jmcneill@, pooka@, pgoyette@
2010-01-31 11:26:20 +00:00
jruoho
532fa6e528
No more ACPI_ACAD_DEBUG.
2010-01-31 11:19:40 +00:00
jruoho
d9ca089d6e
Simplify and clean:
...
* Semantics.
* Remove ACPI_ACAD_DEBUG.
* Reduce the amount of error reporting.
* Remove the internal bookkeeping flags and variables;
instead operate only with a single state variable.
* Trust that the notify handler is doing its job;
remove the refresh routine from the sensor.
* Queue a status check upon resume; we want to know
if the status has changed when in suspend (and it
is unclear if a notify is sent to us).
2010-01-31 11:16:18 +00:00
mlelstv
748a0d77b1
Fix block shift to work with different device block sizes.
...
Unlike other filesystems this has some side issues because
the shift values are stored in the superblock and because
userland utitlies share the same fsbtodb macros.
-> the kernel now ignores the value stored in the superblock.
-> the macro adaption is only done for defined(_KERNEL) code.
2010-01-31 10:54:10 +00:00
mlelstv
5e340cd634
Replace individual queries for partition information with
...
new helper function.
2010-01-31 10:50:23 +00:00
mlelstv
928ded5f56
Fix block shift to work with different device block sizes.
2010-01-31 10:37:57 +00:00
mlelstv
ba0d32752c
Replace individual queries for partition information with
...
new helper function.
2010-01-31 10:30:40 +00:00
martin
476c17bc5a
This is using device_t, so it needs to include <sys/device.h>.
2010-01-31 09:27:40 +00:00
uebayasi
2359fa84f6
uvm_fault_internal:
...
Move local variables around to isolate contexts. Note that remaining variables
are global in that function, and some hold state across re-fault.
Slilently clean-up the "eoff" mess.
(Superfluous braces will go once things settle down.)
2010-01-31 09:20:31 +00:00
uebayasi
fd3f38bda1
Indent.
2010-01-31 07:47:29 +00:00
uebayasi
3f944b46d0
uvm_fault_internal: In lower fault handling case, put another goto to clarify
...
that we don't care lower neighboring pages for the zero-fill object.
2010-01-31 07:46:03 +00:00
uebayasi
19311f603b
uvm_fault_internal: Skip another long code segment (lower "neighbor" fault)
...
by a goto.
2010-01-31 07:37:24 +00:00
jruoho
6c41d7d7a2
Add detachment routine.
2010-01-31 07:34:10 +00:00
uebayasi
51af955674
uvm_fault_internal: Put a goto label "Case1" as well as "Case2". Clarify
...
that if the faulting page is shadowed, we don't care the lower layer at all.
2010-01-31 07:32:35 +00:00
jruoho
baf97f9356
Allocate the sensor structures dynamically.
2010-01-31 06:45:09 +00:00
jruoho
1aca5372db
Add detachment routines.
2010-01-31 06:10:53 +00:00
pooka
8288b650e5
uncommit part which wasn't supposed to get committed yet
2010-01-31 03:57:01 +00:00
pooka
f91185803c
Add sysmon rump component.
2010-01-31 03:06:59 +00:00
pooka
fdca8d1743
print newline after timer expiry message
2010-01-31 02:54:56 +00:00
pooka
8844790318
include kern_hook.c
2010-01-31 02:08:36 +00:00
pooka
3cba324816
Pass root device as a parameter to domountroothook().
2010-01-31 02:04:43 +00:00
uebayasi
e93a6edc86
Correct previous; fix a miscalculation of offset-into-entry in MADV_SEQUENTIAL
...
case. Pointed out by pooka@.
2010-01-31 01:40:12 +00:00
pooka
04b824ef52
Place *hook implementations in kern_hook.c instead of them floating
...
around in the kern_subr.c gruel. Arrrrr.
2010-01-31 01:38:48 +00:00
snj
58e4422c47
Some might argue that it is benefi_c_ial to spell words correctly.
2010-01-31 00:54:22 +00:00
pooka
3b780690a4
Use proper static initializers for *hooklist (currently they happened
...
to work accidentally anyway since the initializer is 0).
2010-01-31 00:48:07 +00:00
hubertf
af120bb199
Replace more printfs with aprint_normal / aprint_verbose
...
Makes "boot -z" go mostly silent for me.
2010-01-31 00:43:37 +00:00
pooka
5412e3f097
Make (no pun intended) it possible to perform component symbol
...
protection from a shell prompt with the command line:
make -f /sys/rump/Makefile RUMP_SYMREN=module.kobj
This is benefitial especially on i386, where rump ABI matches the
kernel ABI (sans the renaming isolation). In the above example
module.kobj can then be loaded in a rump kernel either statically
at link-time simply by giving module.kobj as an object to the
linker, or dynamically at runtime by calling rump_sys_modctl(MODCTL_LOAD).
2010-01-31 00:38:36 +00:00
pooka
92394bf5f3
Trade 200-something bytes for the death of an ifdef.
2010-01-30 23:19:55 +00:00
pooka
f510198e1c
Make swwdog use no-needs-count. As the manpage says, there can be only one.
2010-01-30 21:55:28 +00:00
is
3f0090f688
Use the symbolic names. No functional change.
2010-01-30 21:48:30 +00:00
rmind
b8ea6ca48b
aio_suspend1: remove wrong comment, add one new.
...
Tidy up a little, while here.
2010-01-30 21:23:46 +00:00
jakllsch
43f0caffdd
regen.
2010-01-30 20:50:19 +00:00
jakllsch
8216c57cdb
Add Qumranet vendor and Virtio device IDs.
...
Also, sort some vendor entries.
2010-01-30 20:47:57 +00:00
jruoho
a86a868599
Add the _COMPONENT definition for ACPI_DEBUG.
2010-01-30 18:35:48 +00:00
jruoho
d569343003
Add the _COMPONENT definition for ACPI_DEBUG.
2010-01-30 18:07:06 +00:00
phx
de19fe45f2
Fixed compiler warnings when CV_INT_NUM == 2 or CV64CONSOLE is not defined.
2010-01-30 16:49:14 +00:00
phx
0f34e84a7a
Do not crash when ite wasn't configured to be console.
2010-01-30 16:47:05 +00:00
jakllsch
e1d2d1d9ed
Sprinkle __KERNEL_RCSID() into siisata(4).
...
Slightly adjust some comment styling.
2010-01-30 16:16:35 +00:00
uebayasi
0ab71424a7
Calculate the offset from vm_map_entry's start to vm_page array's start once.
2010-01-30 15:13:25 +00:00
uebayasi
1b9d02ce0c
Reduce the diff between genfs_getpages() and genfs_do_io(). These should be
...
merged eventually.
2010-01-30 12:06:20 +00:00
mlelstv
49be4d025a
Add helper function that determines the size and block size of a disk device.
...
For now we query
- the disk label
- the wedge info and data from disk(9)
2010-01-30 11:57:17 +00:00
uebayasi
64cb3c884a
Slightly more descriptive local variable names.
2010-01-30 05:19:20 +00:00
pooka
edbb5bb953
no longer used
2010-01-30 05:09:24 +00:00
pgoyette
aaabf34dde
Validate limit-based monitoring in one place, so we can apply the
...
constraints to both driver-requested and user-requested monitoring.
While here, clean up some of the debugging DPRINTFs.
2010-01-30 02:46:52 +00:00
macallan
565f3dd6cd
avoid using PAGE_SIZE directly so sparc/GENERIC builds again
2010-01-29 23:50:01 +00:00
phx
7a2724aa59
Define DCIAS() for amigappc.
2010-01-29 19:56:41 +00:00
pooka
ffdaceb3e7
* add comment explaining why we randomize the last source ip octet
...
* fix bug in randomization (well, at least with the current configuration ..)
2010-01-29 12:34:17 +00:00
jruoho
b875c5c314
If we failed to obtain the brightness level during suspend, do not try to
...
restore it with a possible garbage value during resume.
2010-01-29 12:22:00 +00:00
jruoho
ab77a1af1f
Replace all AcpiEvaluateObject() calls with acpi_eval_set_integer().
...
(As the return buffers are not used for anything, no need to make
unnecessary temporary allocations.)
Compile tested only.
ok jmcneill@
2010-01-29 11:57:37 +00:00
jruoho
545590ff33
Fix a memory leak in the resume handler.
2010-01-29 11:23:25 +00:00
mrg
d06de812e8
don't set ksi_errno here. no other MD code does, and one
...
of the pthread tests demands it.
2010-01-29 05:17:36 +00:00
mrg
801fc55e41
make fpu_mtx visible only ifdef _KERNEL.
2010-01-29 05:14:11 +00:00
uebayasi
53000cec23
genfs_getpages: Narrow & clarify the context where I/O happens & vmobjlock is dropped.
2010-01-29 04:36:20 +00:00
uebayasi
f4e16ac91b
genfs_getpages: Redo previous with a better goto label.
2010-01-29 04:33:37 +00:00
drochner
25fb8de00b
-rename the "KS_GROUP_Ascii" key symbol category to "Plain" because
...
this is what it meant all the time -- it includes characters >127
-delegate translation of all key symbols >127 to the terminal emulation
layer -- formerly everything non-special was passed to the tty subsystem
directly, involving truncation to a "char", which effectively meant
some ISO-1 assumption
2010-01-28 22:36:19 +00:00
phx
8d1fe29ab0
New machine commands for PPC OEA:
...
bat: prints the BAT registers and translations
mmu: prints MMU registers (sdr1, sr0..15)
2010-01-28 21:10:48 +00:00
phx
1267c66af6
Fixed some more instructions and their operands.
...
Print the register-indirect operand with displacement in load/store
instructions as d(rN).
Conditional branches are printed with their simplified mnemonic (i.e.
beq instead of bc x,y). Also append the branch-prediction flag +/-i.
Print real labels for 16-bit branches instead of just an offset.
Use the simplified mnemonic cmpw and cmpd, and much more enhancements...
2010-01-28 19:01:32 +00:00
pooka
b89c02f1d2
Adjust some comments which were written when this was still a part of puffs.
2010-01-28 18:12:55 +00:00
uebayasi
29f5c078cb
Revert part which variable initializations within interleaved gotos.
...
again: if (...) goto err;
void *ptr = alloc();
if (...) goto again;
if (...) goto err1;
...
err1: if (ptr) free(ptr);
err:
return;
This leaks memory if exited with "goto again; -> goto err;".
2010-01-28 14:25:17 +00:00
mbalmer
0f58fac97e
fix language
2010-01-28 14:12:11 +00:00
mbalmer
45aabfbe67
Fix language.
2010-01-28 14:05:03 +00:00
uebayasi
9fa66d7a3f
genfs_getpages: More constification & localization.
2010-01-28 13:43:53 +00:00
phx
1e985e8579
Reverted last commit for db_disasm.c and db_inteface.c.
...
Sorry, erroneously commited them...
2010-01-28 12:45:01 +00:00
phx
3817671c1d
Fixed typo: PPC_OEA64_BIRDGE -> PPC_OEA64_BRIDGE
2010-01-28 12:37:45 +00:00
uebayasi
a0629265f2
genfs_getpages: Constify 2 variables, move one. No functional changes.
2010-01-28 08:20:00 +00:00
uebayasi
bb4b25cfbc
genfs_getpages: Constify orignpages. Don't override its meaning by the value
...
re-calucated from GOP_SIZE(GOP_SIZE_MEM), but assign another variable
(orignmempages).
2010-01-28 08:02:12 +00:00