Skip to content

Instantly share code, notes, and snippets.

View mindjiver's full-sized avatar
🐒
Working from home

Peter Jönsson mindjiver

🐒
Working from home
View GitHub Profile
@mindjiver
mindjiver / gist:1635260
Created January 18, 2012 20:12
register dump.
simics> pregs -all
r0 = 0xe0000200 r8 = 0x00000000 r16 = 0x00000000 r24 = 0x00000000
r1 = 0x00ffff68 r9 = 0x002c809f r17 = 0x00000000 r25 = 0x00000000
r2 = 0xffdffffc r10 = 0x00f700a8 r18 = 0x00000000 r26 = 0x00000000
r3 = 0x00000001 r11 = 0x00ffffe0 r19 = 0x00000000 r27 = 0x00000000
r4 = 0x002c809f r12 = 0x40000002 r20 = 0x00000000 r28 = 0x00000000
r5 = 0x00000020 r13 = 0x00000000 r21 = 0x00000000 r29 = 0x00000000
r6 = 0x00000010 r14 = 0x00000000 r22 = 0x00000000 r30 = 0x002c80a1
r7 = 0x00000049 r15 = 0x00000000 r23 = 0x00000000 r31 = 0x00ffff68
@mindjiver
mindjiver / gist:1635607
Created January 18, 2012 20:56
TB reading
#define TBU_USER 0x10C /* Time Base Upper User for reading */
#define TBL_USER 0x10D /* Time Base Lower User for reading */
#define TBU_SUPER 0x11C /* Time Base Upper Supervisor for writing */
#define TBL_SUPER 0x11D /* Time Base Lower Supervisor for writing */
#define DEC 0x016 /* Decrement */
#define DECAR 0x036 /* Decrement Auto-Reload */
#define TSR 0x150 /* Time Status Register */
#define TCR 0x154 /* Timer Control Register */
@mindjiver
mindjiver / gist:1650332
Created January 20, 2012 23:55
MSR register finally set
msr = 0x00021e00 [CE ME DWE DE]
0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0
W C E P F M D D I D
E E E R P E W E S S
E
@mindjiver
mindjiver / gist:1654059
Created January 21, 2012 21:22
Interrupt hell
simics> r
UART initilized
Fixed Interval Timer!!!
CriticFixed Interval Timer!!!
Critical Interrupt!!!
Critical Interrupt!!!
Critical Interrupt!!!
Critical Interrupt!!!
Critical Interrupt!!!
Critical Interrupt!!!
@mindjiver
mindjiver / gist:1659094
Created January 22, 2012 22:10
ppcOS booting and starting scheduling.
simics> r
src/uart/uart.c:67 uart_init INFO: UART initilized
src/irq/irq.c:34 irq_enable INFO: Enabling interrupts
src/arch/ppc.c:54 cpu_version INFO: CPU0: PPC440
src/sched/sched.c:74 schedule INFO: Starting round robin scheduling
src/sched/sched.c:89 procA INFO: Process A
src/sched/sched.c:95 procB INFO: Process B
src/sched/sched.c:101 procC INFO: Process C
src/sched/sched.c:107 procD INFO: Process D
src/sched/sched.c:113 procE INFO: Process E
$ rtperl Build.pl CelloT.cello clearmake -C gnu
*** CelloT.cello ***
Version information generated
Compiling foo.cc
../foo.cc: In member function 'void RTCustomController::handleOseSig()':
../foo.cc:32: error: 'RTS_LINX_TMO_SIG' was not declared in this scope
*** Error code 1
clearmake: Error: Build script failed for "bjz.o"
@mindjiver
mindjiver / gist:2225793
Created March 28, 2012 12:27
SAP is Enterprise
com.sap.pcuigp.xssfpm.java.FPMRuntimeException: Your personnel number is currently locked
at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:112)
at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:122)
at com.sap.xss.hr.cat.record.blc.FcCatRecordInterface.setMessages(FcCatRecordInterface.java:1884)
at com.sap.xss.hr.cat.record.blc.FcCatRecordInterface.setMessages(FcCatRecordInterface.java:1836)
at com.sap.xss.hr.cat.record.blc.FcCatRecordInterface.onInit(FcCatRecordInterface.java:507)
at com.sap.xss.hr.cat.record.blc.wdp.InternalFcCatRecordInterface.onInit(InternalFcCatRecordInterface.java:268)
at com.sap.xss.hr.cat.record.blc.wdp.InternalFcCatRecordInterface$External.onInit(InternalFcCatRecordInterface.java:542)
at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:922)
at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:891)
@mindjiver
mindjiver / gist:2234855
Created March 29, 2012 08:11
ClearCase
^Ccd ..
^C^C^C^C
^C
^C
^C
^C
^C^C
^C
@mindjiver
mindjiver / gist:2241594
Created March 29, 2012 18:26
ClearCase life saver commands.
# search for a label in the current VOB.
cleartool find -all -ver "lbtype(!*)" -print
# search for a branch in the current VOB.
cleartool find -all -ver "brtype(!*)" -print
# show all checkedout files in current VOB.
cleartool lsco -all -cview
# checkin all checkedout files.
Dear Peter,
Tried reaching you many times but unable to hear back from you.
In order to kickstart your BPM based initiatives, we would like to invite you for two day hands on workshop scheduled in Stockholm on 23 - 24th April 2012.
The workshop is based on the latest case studies and leading practices within the world’s top companies.
Practical and pragmatic you will never think of or do process in the same way again.
For more information about the workshop kindly log on to : BPMTrainingToday <http://www.archpav.com/mail/link.php?M=1918821&N=18478&L=28&F=H>