Commit Graph

162248 Commits

Author SHA1 Message Date
pooka 87319696e5 Add a comment clarifying that in the succesful case the function
returns from the middle of the loop.
2007-10-02 12:01:17 +00:00
ad 631240c898 Make want_resched a member of cpu_info. 2007-10-02 11:07:19 +00:00
vanhu 657e6e5324 new plog macro 2007-10-02 09:48:08 +00:00
vanhu 4e4df07d61 From Scott Lamb: include plog.h to work with the new plog macro. 2007-10-02 09:47:55 +00:00
vanhu 400c6ca5a9 From Scott Lamb: plog changed to _plog to work with new plog macro 2007-10-02 09:47:45 +00:00
vanhu c12d0d481a From Scott Lamb: new plog macro. 2007-10-02 09:47:40 +00:00
martin 9b58206ecf Some cleanup:
- When registering command tables, make sure the builtin commands are
   already registered
 - Make the command table entry structure private
 - Do not bother to store the number of commands in a table, we can quickly
   calc that if needed.
2007-10-02 08:47:26 +00:00
martin 06e24dfa05 Add verbose help for (the one and only) "mach" command. 2007-10-02 08:44:03 +00:00
martti 811a7577e8 Bring some fixes from IPF 4.1.27 in order to fix kern/37037. 2007-10-02 06:15:11 +00:00
plunky 2e43d32311 fix typo : -> ; 2007-10-02 05:53:47 +00:00
junyoung 24ae586ea3 Use __packed rather than __attribute__ ((__packed__)). 2007-10-02 05:40:10 +00:00
plunky 0327efae31 clean up activate function 2007-10-02 05:38:06 +00:00
plunky 41358e9b10 remove unused activate function 2007-10-02 05:37:50 +00:00
pooka c562677131 If kernel resource allocation fails after the file server has
committed something, issue an abort.  The abort is done through
the regular op channel, e.g. failed mkdir leads to regular rmdir,
inactive and reclaim.  No internal interface is planned currently
for the one file system out of a million which would implement it
to benefit from the one case in a billion where kernel resource
allocation actually does fail and out of that one case in a trillion
where internal vs. external would make a difference.
2007-10-02 01:17:17 +00:00
jnemeth 65bbcf4e7b PR/37048 - Edward Swiftwood -- dbri audio component is supported 2007-10-01 23:15:13 +00:00
jnemeth f66f67f890 PR/37049 - Edward Swiftwood -- SPARC LX -> SPARCstation LX 2007-10-01 23:08:36 +00:00
ad b58e305699 Enter mi_switch() from the idle loop if ci_want_resched is set. If there
are no jobs to run it will clear it while under lock. Should fix idle.
2007-10-01 22:14:23 +00:00
sjg 216e9ba475 Add the ability to tweak the token output before targets in job mode.
Eg.
.MAKE.JOB.PREFIX=${.newline}---${.MAKE:T}[${.MAKE.PID}]
would produce
---make[1234] target ---
2007-10-01 22:14:09 +00:00
martin cadfc6aaa0 No need to db_init_commands() early any more - it will happen on first
entry to ddb.
2007-10-01 22:05:15 +00:00
martin 463076317b Special case the initialization of builtin command tables to avoid using
malloc. Fixes PR kern/37042.
Allow "mach" commands registered by LKMs even if there is no builtin
mach command for the arch.
2007-10-01 22:01:38 +00:00
ad 3bf03448f0 Make want_resched a member of cpu_info. 2007-10-01 21:26:03 +00:00
ad 6299e033fb ci_need_resched -> ci_want_resched 2007-10-01 21:23:02 +00:00
ad f5abbe2621 Fix inverted tests. VT switching works again. 2007-10-01 21:18:18 +00:00
pooka 174fb761dd Pass reason string to pu_errnotify. Print it in the default
version before aborting.
2007-10-01 21:10:50 +00:00
pooka 47cf5226f9 * better error checking: validate error values received from userland
to be vaild errno values
* include string describing error in PUFFS_ERR
* get rid of union in puffs_req, it's nothing but trouble
* pass pmp to async i/o callbacks
2007-10-01 21:09:07 +00:00
ad a06455d0e5 Now that the bootblocks are the same, share loadfile_machdep.h between
amd64 and i386.
2007-10-01 20:31:41 +00:00
bouyer 511e912cd0 When checking for invalid b_resid valyes, also check negative ones.
Should fix kern/36690.
2007-10-01 18:43:30 +00:00
bouyer 8d743383a3 Properly initialize xs_callout in sddump(). We're using a static scsipi_xfer
here which didn't get through scsipi_get_xs().
Pointed out by Greg Oster.
2007-10-01 18:16:05 +00:00
bouyer 784da043be Use the correct name for the iso image. Fix the acorn32 part of PR 37033. 2007-10-01 17:28:56 +00:00
xtraeme 9ab6815f21 Remove intval from %union, it's unused... ok christos@. 2007-10-01 17:01:55 +00:00
kleink f32417f35c Note tz*2007h. 2007-10-01 14:51:07 +00:00
kleink 9dd53e5eed Import tzdata2007h. 2007-10-01 14:48:39 +00:00
martin 464d49ce18 printf -> DPRINTF 2007-10-01 14:18:52 +00:00
martin da0f1debda Turn a few printf into DPRINTF 2007-10-01 14:17:34 +00:00
martin db90818494 Make a few debug outputs only happen when debugging. 2007-10-01 13:15:06 +00:00
martin c51526f373 Back out accidently commited part of previous 2007-10-01 12:54:39 +00:00
martin 163215473e Do not stop callouts for polled commands. 2007-10-01 09:43:00 +00:00
martin 594ab8c151 No need to cast the size argument of the dump function to "int" - make
it size_t instead. Pointed out by Chris Ross.
2007-10-01 09:15:46 +00:00
martin 7c4a68e67a Fix printf format. 2007-10-01 09:13:51 +00:00
martin 2e57b74770 On second thought: a valid mapping is a valid mapping, period.
No need to special case the kernel pmap here.
2007-10-01 08:53:35 +00:00
martin ed85693634 Fix printf format string for 32bit builds - pointed out by Kurt S.
on current-users.
2007-09-30 23:24:56 +00:00
joerg c77ff03fed The ACPI SCI override is relative to the Source of the MADT entry,
so use bus_pin for the comparision. Tested by reinoud@.
2007-09-30 19:08:17 +00:00
martin 898738b834 Cosmetics - improve the countdown while doing a crashdump.
XXX - need to add an ascii version of the game of life here someday.
2007-09-30 13:56:02 +00:00
martin 8841effc73 Add support to pmap_extract() for kernal mappings with PA 0. 2007-09-30 13:54:00 +00:00
kiyohara 83276945d6 Add bcsp.h 2007-09-30 13:10:52 +00:00
tsutsui 3f7bc8fd0c - make this compile with #ifdef DEBUG
- use proper casts
2007-09-30 12:30:09 +00:00
tsutsui 4eef001c09 Use unsigned values for device addresses. 2007-09-30 12:29:01 +00:00
tsutsui d98c049230 Remove local extiobase declarations, which is in <machine/cpu.h>. 2007-09-30 12:25:51 +00:00
tsutsui 9d9852b4ba Make this compile with #ifdef DEBUG. 2007-09-30 12:24:48 +00:00
martin 7cd933d009 When calculating memory sizes and related values for kernel dumps,
consistently use uint64_t. Fixes crash dumps on machines with > 2GB
memory. Found by Chris Ross.
While there, remove a #if 0'd part of code that prevented the first
physical memory page to be dumped - I'll solve that differently.
2007-09-30 12:06:14 +00:00