Commit Graph

3337 Commits

Author SHA1 Message Date
patacongo
a98febc6b2 Add kernel mode hooks and reminders for other architectures
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3484 42af7a65-404d-4744-a932-0658087f49c3
2011-04-08 18:42:26 +00:00
patacongo
31010bba94 Completes implementation of kernel mode build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3483 42af7a65-404d-4744-a932-0658087f49c3
2011-04-08 18:36:51 +00:00
patacongo
86ffab1b95 Add logic to initialize SAM3U user applications
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3482 42af7a65-404d-4744-a932-0658087f49c3
2011-04-08 15:24:50 +00:00
patacongo
da1aabcd1c Fix error introduced in last commit
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3481 42af7a65-404d-4744-a932-0658087f49c3
2011-04-08 03:54:17 +00:00
patacongo
f653a45904 Modify interrupt handling for privileged/unprivileged mode
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3480 42af7a65-404d-4744-a932-0658087f49c3
2011-04-08 01:33:21 +00:00
patacongo
0374d16b98 I2C fixes from Uros; USB serial fix from Sheref; + A little more kernel mode stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3479 42af7a65-404d-4744-a932-0658087f49c3
2011-04-07 21:22:06 +00:00
patacongo
9c87c9e93e Add support for kernel-mode threads
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3478 42af7a65-404d-4744-a932-0658087f49c3
2011-04-07 14:39:55 +00:00
patacongo
1001d1f35e Fix AVR build, Add hooks for kernel threads
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3477 42af7a65-404d-4744-a932-0658087f49c3
2011-04-07 01:54:59 +00:00
patacongo
ddd3738720 m9s12x toolchain Ubuntu 9.10 build fix
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3476 42af7a65-404d-4744-a932-0658087f49c3
2011-04-07 00:42:46 +00:00
patacongo
bd12973b36 current_regs should be volatile; add support for nested interrupts; enable interrupts during syscall processing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3475 42af7a65-404d-4744-a932-0658087f49c3
2011-04-06 23:01:06 +00:00
patacongo
c0e7e4c2ff Remove user_initialize(); Make sure all integer types are signed that need to be
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3474 42af7a65-404d-4744-a932-0658087f49c3
2011-04-06 17:48:56 +00:00
patacongo
12afb230bf Fixes for kernel stub builds
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3473 42af7a65-404d-4744-a932-0658087f49c3
2011-04-06 16:40:47 +00:00
patacongo
4ebbd3af6e Integrate syscall with existing svcall logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3472 42af7a65-404d-4744-a932-0658087f49c3
2011-04-06 15:04:57 +00:00
patacongo
056b895642 Attach mem mgmt fault handle if MPU is enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3471 42af7a65-404d-4744-a932-0658087f49c3
2011-04-06 01:51:07 +00:00
patacongo
3910f865ec Fix bugs introduced in last commit
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3470 42af7a65-404d-4744-a932-0658087f49c3
2011-04-05 21:18:03 +00:00
patacongo
38fd6e5317 Clean kernel-/user-mode module build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3469 42af7a65-404d-4744-a932-0658087f49c3
2011-04-05 20:54:00 +00:00
patacongo
4388221844 More separation of kernel- and user-memory management
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3468 42af7a65-404d-4744-a932-0658087f49c3
2011-04-05 17:33:50 +00:00
patacongo
d7f529bf0e LIS331DL and STM32 I2C patch from Uros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3467 42af7a65-404d-4744-a932-0658087f49c3
2011-04-05 16:25:04 +00:00
patacongo
3552ddb5ff Add a layer to redirect kernel-mode memory manager accesses
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3466 42af7a65-404d-4744-a932-0658087f49c3
2011-04-05 15:50:01 +00:00
patacongo
a96fdc3a21 Progress toward kernel build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3465 42af7a65-404d-4744-a932-0658087f49c3
2011-04-05 01:46:55 +00:00
patacongo
985929a8c3 Move core of fdopen() logic from lib/stdio to fs/
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3464 42af7a65-404d-4744-a932-0658087f49c3
2011-04-04 23:02:00 +00:00
patacongo
cf3d515a6b Fix a couple of recently introduced build problems
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3463 42af7a65-404d-4744-a932-0658087f49c3
2011-04-04 21:02:15 +00:00
patacongo
797df706c1 Add stub lookup logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3462 42af7a65-404d-4744-a932-0658087f49c3
2011-04-04 12:43:35 +00:00
patacongo
80a32c2bb1 Don't define unused system call numbers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3461 42af7a65-404d-4744-a932-0658087f49c3
2011-04-04 02:28:29 +00:00
patacongo
bae9dce323 Move memory manager into user space
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3460 42af7a65-404d-4744-a932-0658087f49c3
2011-04-03 20:41:49 +00:00
patacongo
0df702514b Pass __KERNEL__ define (or not) to all makes to handle small differences in user-/kernel-builds
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3459 42af7a65-404d-4744-a932-0658087f49c3
2011-04-03 18:42:33 +00:00
patacongo
9b9c8f5f30 fix dependencies
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3458 42af7a65-404d-4744-a932-0658087f49c3
2011-04-03 16:43:35 +00:00
patacongo
9ea1d98999 New LIS331DL driver and VSN updates from Uros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3457 42af7a65-404d-4744-a932-0658087f49c3
2011-04-03 14:26:05 +00:00
patacongo
f8d30eb9f7 Add SAM3U kernel build logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3456 42af7a65-404d-4744-a932-0658087f49c3
2011-04-02 19:04:44 +00:00
patacongo
85ab366008 Fix error in set_errno macro
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3455 42af7a65-404d-4744-a932-0658087f49c3
2011-04-02 15:59:42 +00:00
patacongo
1dd25651bb Kernel build mostly successful
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3454 42af7a65-404d-4744-a932-0658087f49c3
2011-04-02 15:25:22 +00:00
patacongo
46314eb2a9 Move more functions out of sched/ to lib/; proxies almost build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3453 42af7a65-404d-4744-a932-0658087f49c3
2011-04-02 01:23:08 +00:00
patacongo
2aab150a39 Add conditional compilation to syscall autogeneration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3452 42af7a65-404d-4744-a932-0658087f49c3
2011-04-01 23:07:51 +00:00
patacongo
61300c7ae2 Stubs are working/Proxies are close
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3451 42af7a65-404d-4744-a932-0658087f49c3
2011-04-01 21:36:17 +00:00
patacongo
723c94deee Remove .built_always
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3449 42af7a65-404d-4744-a932-0658087f49c3
2011-04-01 14:30:43 +00:00
patacongo
98510712fd Add Cortex-M3 MPU header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3448 42af7a65-404d-4744-a932-0658087f49c3
2011-04-01 03:47:36 +00:00
patacongo
4058304eb5 Progress on syscall build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3447 42af7a65-404d-4744-a932-0658087f49c3
2011-03-31 04:59:29 +00:00
patacongo
db0f306719 Add mksyscall tool
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3446 42af7a65-404d-4744-a932-0658087f49c3
2011-03-31 04:23:17 +00:00
patacongo
a521443817 Move more files into subdirectories under lib/
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3445 42af7a65-404d-4744-a932-0658087f49c3
2011-03-31 01:42:50 +00:00
patacongo
dfcc5fe5fd Move more files into subdirectories under lib/
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3444 42af7a65-404d-4744-a932-0658087f49c3
2011-03-30 22:30:49 +00:00
patacongo
7250f0a9b2 Move more files into subdirectories under lib/
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3443 42af7a65-404d-4744-a932-0658087f49c3
2011-03-30 22:17:36 +00:00
patacongo
3325d73888 Move more files into subdirectories under lib/
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3442 42af7a65-404d-4744-a932-0658087f49c3
2011-03-30 21:58:17 +00:00
patacongo
b76f19577d Move more files into subdirectories under lib/
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3441 42af7a65-404d-4744-a932-0658087f49c3
2011-03-30 21:15:57 +00:00
patacongo
a790acc722 Move stdio.h functions in lib/ to lib/stdio
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3440 42af7a65-404d-4744-a932-0658087f49c3
2011-03-30 20:34:21 +00:00
patacongo
cb9de2289f Move string.h functions in lib/ to lib/string
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3439 42af7a65-404d-4744-a932-0658087f49c3
2011-03-30 19:51:19 +00:00
patacongo
21ae727f6f Add syscall directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3438 42af7a65-404d-4744-a932-0658087f49c3
2011-03-30 02:59:01 +00:00
patacongo
b76ccc6361 Add basic syscall logic for i486 and AVR32
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3437 42af7a65-404d-4744-a932-0658087f49c3
2011-03-30 00:50:16 +00:00
patacongo
e54aa41778 Add more syscall files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3436 42af7a65-404d-4744-a932-0658087f49c3
2011-03-29 12:35:11 +00:00
patacongo
4d215e34ca Moving toward system call infrastructure
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3435 42af7a65-404d-4744-a932-0658087f49c3
2011-03-29 00:07:02 +00:00
patacongo
45f3419063 header file and file header clean-up
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3434 42af7a65-404d-4744-a932-0658087f49c3
2011-03-28 21:21:11 +00:00