Commit Graph

31 Commits

Author SHA1 Message Date
Fish (David B. Trout)
f963f64671 Convert some macros into (inline) functions instead:
OBTAIN_INTLOCK, RELEASE_INTLOCK, WAKEUP_CPU, WAKEUP_CPU_MASK, WAKEUP_CPUS_MASK, QUEUE_IO_INTERRUPT, QUEUE_IO_INTERRUPT_QLOCKED, DEQUEUE_IO_INTERRUPT, DEQUEUE_IO_INTERRUPT_QLOCKED, UPDATE_IC_IOPENDING, UPDATE_IC_IOPENDING_QLOCKED, IS_CCW_IMMEDIATE.
2014-08-25 04:51:20 -07:00
dasdman
2d9f3fe61b Correct STIDP handling of LPARNUM 10 with CPUIDFMT 0. 2013-09-11 00:04:20 -07:00
dasdman
e4487f4fbe When selecting a single CPU to wake up using a mask (wakeup_cpu_mask), select the least recently used processor. 2013-08-12 14:20:25 -07:00
dasdman
e7e2f24aab Handle remote case where CPU waiting is turned ON instead OFF due to use of XOR and assumed current bit settings. Case seen while debugging with the occasional introduction of unusual states by the back-to-back starting and stopping of threads on multiple cores while tracing. 2013-06-03 17:57:42 -07:00
Fish (David B. Trout)
bc7c6fca35 clear page fix to hinlines.h 2013-05-13 10:09:38 -07:00
Fish (David B. Trout)
2b2d111de9 Fix indenting in synchronize_cpus for clarity 2013-05-12 01:24:00 -07:00
dasdman
3e652df697 Fix SYNCHRONIZE_CPUS and IPTE lockout under heavy loads. 2013-05-11 21:15:11 -07:00
dasdman
accb0fc03b Channel cleanup (Phase I). 2013-05-02 09:59:27 -07:00
dasdman
ca86f2322e Keep CPU timer properly running in wait state for LPAR mode operations (uses thread user time when active; TOD when in wait state). 2013-03-28 17:57:06 -07:00
Ian Shorter
48aa6571d8 Fix compiler warning 2013-03-21 01:31:51 +01:00
dasdman
96a564e2f2 Correct malloc_aligned/memset(0) calls to calloc_aligned. 2013-03-20 16:07:41 -07:00
dasdman
24431146d3 Correct missing initial CPU ID placement into REGS. 2013-03-18 16:53:57 -07:00
Ian Shorter
6dae1edac1 Fix a compile error and a warning
In file included from hercules.h:92:0,
                 from hsys.c:12:
hmacros.h:435:6: error: #elif with no expression

In file included from hercules.h:146:0,
                 from hsys.c:12:
hinlines.h: In function 'setCpuId':
hinlines.h:302:37: warning: signed and unsigned type in conditional
expression [-Wsign-compare]
2013-03-18 15:23:31 +01:00
dasdman
a7e3e048c3 Maintain CPU ID by engine as well as primary in SYSBLK; required for proper identification of older 370 models where frame version code, serial number and CPU model number may all differ (for example, 3168 with a 3062 AP). Part 1 of 2 (part 2 implements the updated commands). 2013-03-18 01:40:36 -07:00
dasdman
72fda10bbd Update mainsize and xpndsize postfix handling; allow main memory storage sizes on 4K boundaries for values less than 16M. 2012-09-04 15:39:35 -07:00
Fish-Git
a52aa7eb1b INLINE should mean just inline, not static inline. 2012-05-15 10:30:39 -07:00
Jan Jaeger
439bdbca92 Remove subversion $Id$ tag
Update copyright statement to 2012
2012-03-24 18:41:51 +11:00
Fish (David B Trout)
4e6f489c42 Wouldn't this work just as well on both platforms?
(and be just as efficient when optimized?)

git-svn-id: file:///home/jj/hercules.svn/trunk@7622 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-25 03:04:24 +00:00
Paul Gorlinsky
66b340581d Minor corrections for missing specifications.
git-svn-id: file:///home/jj/hercules.svn/trunk@7620 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-24 15:13:54 +00:00
Paul Gorlinsky
9694a27514 Correct __clear_page_4K to _clear_page(, 4096/64 )
git-svn-id: file:///home/jj/hercules.svn/trunk@7619 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-24 13:44:05 +00:00
Paul Gorlinsky
4826f72ac4 Avoid duplication of code...
git-svn-id: file:///home/jj/hercules.svn/trunk@7618 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-24 13:30:54 +00:00
Paul Gorlinsky
1855fba9d5 Missing '_' fixed
git-svn-id: file:///home/jj/hercules.svn/trunk@7616 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-24 12:50:27 +00:00
Paul Gorlinsky
658ca8972b Resolve compiler warnings on GCC...
git-svn-id: file:///home/jj/hercules.svn/trunk@7615 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-24 12:47:57 +00:00
Fish (David B Trout)
2b6ae85acd MSVC intrinsics version of inlined optimized SSE2 'clear_io_buffer' functions
git-svn-id: file:///home/jj/hercules.svn/trunk@7614 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-23 12:18:25 +00:00
Fish (David B Trout)
236a11b6e2 (cosmetic: remove trailing blanks and tabs)
git-svn-id: file:///home/jj/hercules.svn/trunk@7613 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-23 06:42:44 +00:00
Paul Gorlinsky
ca579435ac Remove warning message
git-svn-id: file:///home/jj/hercules.svn/trunk@7611 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-22 22:34:34 +00:00
Paul Gorlinsky
efac1241cf Remove debugging code.
git-svn-id: file:///home/jj/hercules.svn/trunk@7609 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-22 22:15:41 +00:00
Paul Gorlinsky
dd7075bc58 Add io_buffer clear routines...
git-svn-id: file:///home/jj/hercules.svn/trunk@7606 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-22 22:08:17 +00:00
Paul Gorlinsky
03a4560910 Update Copyright notices to 2011.
git-svn-id: file:///home/jj/hercules.svn/trunk@7593 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-18 22:19:10 +00:00
Paul Gorlinsky
9835becc67 Add information to hostinfo pagesize, allocsize, etc.
git-svn-id: file:///home/jj/hercules.svn/trunk@6999 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-28 16:39:40 +00:00
Paul Gorlinsky
62120c5be9 Update macros, add chaining macros; add new include for inline routines
git-svn-id: file:///home/jj/hercules.svn/trunk@6997 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-27 23:09:31 +00:00