forked from Imagelibrary/rtems
bsp/t32mppc: Add primitive NULL pointer protection
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
/*
|
||||
* Copyright (c) 2012 embedded brains GmbH. All rights reserved.
|
||||
* Copyright (c) 2012, 2015 embedded brains GmbH. All rights reserved.
|
||||
*
|
||||
* embedded brains GmbH
|
||||
* Obere Lagerstr. 30
|
||||
* Dornierstr. 4
|
||||
* 82178 Puchheim
|
||||
* Germany
|
||||
* <rtems@embedded-brains.de>
|
||||
@@ -23,6 +23,11 @@
|
||||
|
||||
.section ".bsp_start_text", "ax"
|
||||
|
||||
/* Primitive NULL pointer protection */
|
||||
.rept 1024
|
||||
sc
|
||||
.endr
|
||||
|
||||
_start:
|
||||
/* Enable time base */
|
||||
li r0, 0x4000
|
||||
|
||||
Reference in New Issue
Block a user