Searched refs:watchnum (Results 1 - 4 of 4) sorted by relevance

/freebsd-10.0-release/lib/libc/i386/sys/
H A Di386_clr_watch.c36 i386_clr_watch(int watchnum, struct dbreg * d) argument
39 if (watchnum < 0 || watchnum >= 4)
42 DBREG_DRX(d,7) = DBREG_DRX(d,7) & ~((0x3 << (watchnum*2)) | (0x0f << (watchnum*4+16)));
43 DBREG_DRX(d,watchnum) = 0;
H A Di386_set_watch.c36 i386_set_watch(int watchnum, unsigned int watchaddr, int size, argument
42 if (watchnum == -1) {
47 watchnum = i;
75 DBREG_DRX(d,7) &= ~((0x3 << (watchnum*2)) | (0x0f << (watchnum*4+16)));
77 /* set drN register to the address, N=watchnum */
78 DBREG_DRX(d,watchnum) = watchaddr;
81 DBREG_DRX(d,7) |= (0x2 << (watchnum*2)) | (mask << (watchnum*4+16));
83 return watchnum;
[all...]
/freebsd-10.0-release/sys/amd64/amd64/
H A Ddb_trace.c197 int amd64_set_watch(int watchnum, unsigned long watchaddr, int size,
199 int amd64_clr_watch(int watchnum, struct dbreg *d);
512 amd64_set_watch(watchnum, watchaddr, size, access, d)
513 int watchnum;
521 if (watchnum == -1) {
526 watchnum = i;
563 d->dr[7] &= ~DBREG_DR7_MASK(watchnum);
565 /* set drN register to the address, N=watchnum */
566 DBREG_DRX(d, watchnum) = watchaddr;
569 d->dr[7] |= DBREG_DR7_SET(watchnum, le
[all...]
/freebsd-10.0-release/sys/i386/i386/
H A Ddb_trace.c184 int i386_set_watch(int watchnum, unsigned int watchaddr, int size, int access,
186 int i386_clr_watch(int watchnum, struct dbreg *d);
539 i386_set_watch(watchnum, watchaddr, size, access, d)
540 int watchnum;
548 if (watchnum == -1) {
553 watchnum = i;
587 d->dr[7] &= ~DBREG_DR7_MASK(watchnum);
589 /* set drN register to the address, N=watchnum */
590 DBREG_DRX(d, watchnum) = watchaddr;
593 d->dr[7] |= DBREG_DR7_SET(watchnum, le
[all...]

Completed in 127 milliseconds