aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/textreparser/plugins/forum_rules.php
blob: d131d0070727fef1d9c85f796f451a31390a9e83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/**
*
* This file is part of the phpBB Forum Software package.
*
* @copyright (c) phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
*
*/

namespace phpbb\textreparser\plugins;

class forum_rules extends \phpbb\textreparser\row_based_plugin
{
	/**
	* {@inheritdoc}
	*/
	public function get_columns()
	{
		return array(
			'id'         => 'forum_id',
			'text'       => 'forum_rules',
			'bbcode_uid' => 'forum_rules_uid',
			'options'    => 'forum_rules_options',
		);
	}
}
> 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
#include <setjmp.h>

#define JB_SP  0
#define JB_FP  1
#define JB_PC  2

#define ST_FLUSH_WINDOWS        0x03

.text
.globl __setjmp
.type __setjmp,function
__setjmp:
	b	1f
	set	0, %o1
.size __setjmp,.-__setjmp

.globl setjmp
.type setjmp,function
setjmp:
	set	1, %o1
.size setjmp,.-setjmp

.globl __sigsetjmp
.type __sigsetjmp,function
__sigsetjmp:
1:
	/* Save our PC, SP and FP.  Save the signal mask if requested with
	   a tail-call for simplicity; it always returns zero.  */
	ta	ST_FLUSH_WINDOWS

	st	%o7, [%o0 + (JB_PC * 4)]
	st	%sp, [%o0 + (JB_SP * 4)]
	st	%fp, [%o0 + (JB_FP * 4)]

	mov	%o7, %g1
	call	__sigjmp_save
	mov	%g1, %o7
.size __sigsetjmp,.-__sigsetjmp